According to my personal experience, to other analogous topics in this Forum (see this for a very similar thread) and to GM, I know that often discrepancies arise from the kind of link function used, to reference code used in DM (PIM uses first interval as reference code) and to the wrong structure of the DM.
In this case I really don't understand what is going on.
I am working in a CJS context and have an age model both for phi and p (this is an age model given individuals are marked only by chicks). There are 11 occasions and, in this case, just one group.
So this is how my DM looks like (the part for p is identical):

Initially I used the Logit link for both the PIM and the DM (starting from the identity DM with respect to the model run in PIM) and found very different values of deviances. So I tried to modify the DM with several other structures that I thought to be equivalent (mainly by using different reference codes) and found always the same identical value for deviance that, as said, was very different from that of PIM model.
After lot of trials I tried to use the Sin link for the PIM and, surprise to me, I got the same identical deviance obtained with the Logit link in DM. Here below there is the result browser, the number of parameters have been corrected according to what I think that should be the number of estimable parameters.

I'm convinced there is something more to learn and that it has a logical explication.
After this, question inside the question: in this analyses the number of estimable parameters in MARK tended to be always more than I thought, for instance the model 3 had 36 estimable parameters, 8 more than I think it would be correct. I thought that MARK may loose some parameters, i.e., say there are less estimable parameters than there are really, but this time it seems to be high-biased: is it "normal"?
Thanks in advance for any help,
Simone