Added log flushing after call to CLoopFunctions::PostExperiment()