Man shot by deputies, taken into custody after reports of active shooter on rooftop