FIX call logger after the last call to compute the objective function...