pulsar_crosscorr_v2: fixed typo in metadatafile, moved down the command to record end time to make it more accurate