model fitting to actuial log data