recover from errors when fitting CES models.