I'm not harping on you, but always remember, easy does it and simple kicks butt.
Any heater that lights, and then shuts off, should first be checked for a faulty or dirty flame detector. If you heater ran great when it was new, a gas flow issue is not likely (not impossible - but not likely).
My Jandy did the same thing. Fortunately, the furnace is my X wife's house was doing the same. Cost her 56 bucks to have the "flame detector" cleaned....so, I followed suit. Found a fractured wire leading to my flame detector on my pool heater, corrected it - runs great ever since.
I too was considering gas flow, water flow, dirty filters (even though my pump is way over powered), but when I heard her heater in her home doing the same thing, and then found out the repair - I knew where to look on my Jandy.
I called the pool heater guy out, he charged me 105 bucks to tell me I was right - and then I cut him off from the repair - I just stripped the wire down to clean wire and soldered it back on....
My pool is 88 degrees right now - and I'm going swimming with a few beers....LOL....
P.S. - my Jandy is 6 years old and has had this problem since it was new.....at first it was just every once in a while...and it got worse and worse until it took an acto of God to get it to stay lit.......now - first time - every time.
Good Luck.
They say "Blue Sky's" in skydiving - so let us just say, "Blue Water!!!!"