Optimization of gasphase reactions using real-time pes analysis: short-lived molecules and heterogeneously catalyzed processes