Fixed exception handling in the estimation proc