bike is going to have the dynamo output checked
Didn't want to comment before as their are many causes as has been stated but there is a similarity to my one episode with battery/electronic ignition and it did not involve using lights.
My bike started just fine but ran terrible for the seven miles outward, coming back home it again started fine but ran terrible but was able to nurse it home.
Turned out the battery was down to 7 volts (12 volt system), before charging it up I checked output from the dynamo, there was none, cause was nothing more than green grunge dirty terminals in the dynamo, how long it had been not charging I don't know as ammeter never did show much deflection, so low battery - Pazon goes onto full advance yet can't say it kicked back at all (maybe need to check the timing again).
Also have since fitted DVR2 in place of Vreg and changed polarity to neg earth, ammeter showing about much better deflection now,
So dynamo terminals would be a good check Andy