This MIT sound real stupid, but my engine light went on just after a gas stop last year, I didn't turn the gas cap tight enough, scared the poopout of me, I decided to keep going, I was miles from the nearest town, stopped at a bike shop, he checked the cap, turned the ignition on and off three times, and stopped the issue.
It could be something that simple