The command ccwrite xyz x.log gives the coordinates of the initial input instead of the optimised coordinates.