An incredibly bright flash that appeared in the night sky in February came from a black hole pointing straight at Earth, astronomers have said.