An amateur astronomer captured an impossible photo of an exploding star