-- catching err calculating profit/estimated profit, print err message, write err to log