First Alert smoke detector removed and there's still beeping at the hole in the ceiling!

Nearby CARBON MONOXIDE was the issue! Replaced the battery in it. It stopped beeping and it was not the smoke detector afterall.