Hi all,
I'm late to the party, but posting this for reference, in case anyone's in a similar situation. I had a similar problem to Ben and Matt where I was fitting a removal model using a Binomial likelihood (simplified pseudo-code for the relevant portion):
y[i,t] ~ dbinom(p, N[i,t])
delta[i,t] <- lambda[i,t] * (N[i,t-1] - y[i,t-1])
N[i,t] ~ dPois(delta[i,t])
and I was getting the same warning messages about the slice sampler reaching maximum contractions for N (latent population size). It was at weird values for N: as in super high or negative values. I realized it was an issue with both my prior distributions and initial values. Because the model removes individuals from the estimated N at each time step, I needed to specify initial values for N that were sufficiently high enough to not send it into the negatives when animals are removed. I also needed to rein in the priors and starting values for lambda (population growth) to ensure it's staying fairly tightly around 1, and again not sending the population skyrocketing or plummeting at each time step. This took a little bit of simulation because I specified lambda as a function of landscape covariates.
Hope this is helpful, if anything to my future self when I inevitably come back to these forums to troubleshoot!
Abbey