Mystery explosion 1,000 years ago may be a rare, third type of supernova