problem with replicate command

The replicate command worked in one case but did not work in other cases. Here is the output of the log file from the first case where the replicate was successful: