Engine management problems can be a bastard. While fighting this kind of problem in 2009 or 2010 I installed a fuel pressure gauge and a F/A gauge on my dash. Then I connected the latter to the data logger. This helped me a lot to rule out possible causes. The symptom was frequent severe missing at high rpm at WOT. Not always, but frequent. Ultimately the cause ID’d as the AFM. There’s a school of thought that you can richen/lean the mixture by loosening/tightening the AFM door spring. Some well-meaning types did that to my car. It’s a bad idea.
I say “ultimately the cause was ID’d…”, but I went thru hell trying to ID the cause. For example,I thought that I found evidence of a little voltage drop across some key points. A couple things I did was disassemble every ground that, by any stretch of the imagination, could have something to do with the engine. I abraded the surfaces and reassembled the grounds using conductive grease. I also cut out the round connector that goes to the injectors and created individual connections, abraded and greased, for the injectors and temp sensor. That was probably all a wild goose chase.
Re. CEL. I get CELs for odd reasons every once and now. I used to take them seriously and tried hard to fix them. Now, as long as the engine seems to be running ok, I ignore them. If you’ve got a real symptom and also a CEL, it’s worth doing the stomp test to see what info you might get. But if your engine is running fine and you get a CEL, screw it.