Nasa solves 2,000-yr-old supernova mystery