You have misfires at the end of the log.
Trigger looks good at that point.
I think the spark plugs get fouled.
You are running very rich, and the injector’s pulse width is very chaotic.
There are jumps of pulse width from 8.8 ms to 9.8 ms.
That is 13% of fuel change at steady state conditions.
That should not be happening.
Two variables contribute to this.
Manifold pressure and volumetric efficiency.
Since this is a two-cylinder engine, the pulses in the intake are clearly visible. In that situation, I recommend using synchronous MAP sampling. It will sample the manifold pressure at a constant crankshaft angle, which will give a smooth pressure signal.
The volumetric efficiency table needs to be smoothed out. It has many sudden shifts in value, which are not realistic and are creating jumps in fuel amount. You can select a part or the whole table and use the “equalize” function to make it smooth.
You aim to have a minimum pulse width variation at steady state conditions.