For 50 years, astronomers have been watching in bafflement as a giant star flickers with powerful, erratic X-ray emission.