It's like taking a picture of lightning': How astronomers raced to track the smallest asteroid ever seen