Goodness-of-fit problems

Hello,
I'm using DENSITY 4.4.5.2 to estimate density of a cat species in Southeast Asia. I have an array of 26 camera trap stations that were active for 4 months. I got 59 "captures" from only 4 individuals, so the data are somewhat limited. (The capture heterogeneity is also huge: 48, 6, 4, and 1 captures per individual.) The density models run fine -unsurprisingly Mh2 is the best-fit model -and give realistic, if fairly imprecise, density estimates. I'm using ML-SERC with a habitat mask and otherwise default settings.
However, I'm now trying to test the Goodness-of-fit of the best-fit model. In the "Options>ML SERC>Advanced" tab I checked the boxes for "Monte Carlo test" and "Report each replicate". My understanding is that I compare the observed deviance/df with the distribution of resampled deviance/df estimates. Upon clicking "Go", the model runs fine at first but then fails with a "Floating point division by zero" error message after usually ~2 replicate runs. A google search suggested that that error could have something to do with the processor being too fast for the software (seems crazy to me), so I tried re-running the model on an older machine. Then it got up to about 6 replicates before failing with the same message.
Any ideas? Thanks so much!!!!!
I'm using DENSITY 4.4.5.2 to estimate density of a cat species in Southeast Asia. I have an array of 26 camera trap stations that were active for 4 months. I got 59 "captures" from only 4 individuals, so the data are somewhat limited. (The capture heterogeneity is also huge: 48, 6, 4, and 1 captures per individual.) The density models run fine -unsurprisingly Mh2 is the best-fit model -and give realistic, if fairly imprecise, density estimates. I'm using ML-SERC with a habitat mask and otherwise default settings.
However, I'm now trying to test the Goodness-of-fit of the best-fit model. In the "Options>ML SERC>Advanced" tab I checked the boxes for "Monte Carlo test" and "Report each replicate". My understanding is that I compare the observed deviance/df with the distribution of resampled deviance/df estimates. Upon clicking "Go", the model runs fine at first but then fails with a "Floating point division by zero" error message after usually ~2 replicate runs. A google search suggested that that error could have something to do with the processor being too fast for the software (seems crazy to me), so I tried re-running the model on an older machine. Then it got up to about 6 replicates before failing with the same message.
Any ideas? Thanks so much!!!!!