Only runs 40 Degrees advanced

You didnt say what motor but is it possible your timming chain jumped a tooth. or the key/pin sheared and the cam is out of time?