writing MOG results