adding xcorr flux measure