Fixed order of saving shift and gamma in all coincidence file