SES Light ?????
You need a PCM scanner and see what the DTC error codes are to know for sure what the problems are.
Most times a flashing MIL that goes away means engine misfire or multi misfire would cause light to stay on longer but again that is a guess.
Also any time you clear out DTC error codes you also forced ALL I/M 240 smog tests to revert back to a non complete (failed state) and force the PCM to do more work by retesting them all and in some cases could take as many as 40 drive cycles to get back to a passed/complete stay thus it is better to let the DTC age out and leave the tests in their present completed state.

