A spacecraft designed to safeguard NASA’s Swift mission is facing its own emergency as engineers work around the clock to regain full control.