I have a Raypak P-M266A pool heater, about 5 years old. First I got Rollout SW Open error. Replaced the Rollout switch. Next I got the Ignition Failure/ no pilot sensed. I replaced the Pilot Assembly. And now when I turn on the heater, it works for a few minutes, and then the burner goes out, the pilot stays on and keep trying to light up the burner with the LCD screen saying Spark. After a while I get the Main Ign Failure. I removed the 1/8” gas tube, but did not find any obstruction. The ground wire seems to be fine, though I still cleaned contacts on both sides with sandpaper. Just in case, I temporarily jumped the pressure switch with no effect. The next logical part to replace would be the gas valve but that is $300 part that I would rather not replace if that is not the cause of my issue. I would appreciate and advice on next steps.