The problem is your short time interval, and the way the script computes the @MXT value to set the time series length. As a consequence, you've only allocated space for 100 points in a time series, and then proceed to declare time series of 360 points for the histograms. Either analyze more data, or add the following line (in green) to the script:

calc mxt 100 * @N
if mxt lt 360 set mxt 360
calc mxs 10 + ( 4 * @NLPD )
correl maxt @MXT maxs @MXS maxa ?NATOM noupdate
Rick Venable
computational chemist