changed warning messages; return NULL when cesEst throws errors