pulsar_crosscorr_v2: Added Input command line information to the logfile and normal sanity chage for several fopen function