lost power

Yep, Sounds like the ballast is heating up and causing a open circuit. Especially since it will stay running with the key in the start circuit. Have you tried jumping out the ballast for a short time to see if it will stay running?