Combustion analysis with gas temperature diagrams measured in a prechamber spark ignition engine