NASA's flagship mission for X-ray astronomy