the gas lock condition dramatically as a low value however since the value or values are statistically insignificant they are not deemed valid to determine a pump off condition for each statistically significant sample less than the pump off point threshold the fluid pound count is increased by one finally the motor is shut off due to a pump off condition achieved as shown in box 114 thus upon a sufficient number of consecutive anis samples falling below a preselected threshold the well is deemed to be pumped off that is the pump apparatus is no longer pumping oil to the surface due to starvation of the pump as the well apparatus pumps off the anis number goes downward indicating that the pump system is drawing the level of fluid downward in the bore of the well when the anis number is as low as it will get it can be assumed that the well apparatus is in a pumped off condition the pump is no longer lifting fluid since it is drawn down the fluid level to the bore to a point that is below that that is required for the pump to fill the optimal amount of fill time can be calibrated as shown by box 116 if the fill time optimizer will not be calibrated the fill time timer may be in a time out mode see box 118 after which the.