Hi -
I am running into an error message that I haven't seen before. I have created my capthist file and everything checks out ok. I've looked at the summary information, plotted the mask, traps, tracks, etc. All looks good. However, when I run a null model:
m0 <- secr.fit(CHBM, model=list(D~1,g0~1,sigma~1), mask = maskBM, trace = FALSE)
I get the following warning message:
Warning message:
In dpois(data$nc, N * meanpdot, log = TRUE) : NaNs produced
When I look at the model output, the information is incorrect. The number of occasions is listed as 1 (there should be 140). Also, detector type is wrong - it is listed as "count" but should be "proximity."
Interestingly, when I add a covariate to either g0 or sigma (e.g. bk or T), things run correctly and there are no error messages. Also, in those cases the model output is correct (i.e. right number of occasions, correct detector type, etc.).
Any suggestions as to what might be going on with the null model?
Thanks
Andrea