RMARK Pradsen model problems

I am trying to run a Pradel and Seniority (Pradsen) model in RMARK.
When I run the constant model for all parameters, I get the following error in R:
Error in if (x4 > x2) { : argument is of length zero
********Following model failed to run : Phi(~1)p(~1)Gamma(~1) **********
And the following error in the MARK output:
ERROR -- Numerical convergence never reached.
I get estimates with no errors if I:
1. Run either a CJS or Pradel model in RMARK with a constant model for all parameters
2. Force a sine link for the Pradsen model in RMARK with a constant model for all parameters
3. Run a constant model for all parameters in MARK
Can someone help me troubleshoot what is going on? I can send along the code if necessary.
Thanks in advance for your help!
Gina
When I run the constant model for all parameters, I get the following error in R:
Error in if (x4 > x2) { : argument is of length zero
********Following model failed to run : Phi(~1)p(~1)Gamma(~1) **********
And the following error in the MARK output:
ERROR -- Numerical convergence never reached.
I get estimates with no errors if I:
1. Run either a CJS or Pradel model in RMARK with a constant model for all parameters
2. Force a sine link for the Pradsen model in RMARK with a constant model for all parameters
3. Run a constant model for all parameters in MARK
Can someone help me troubleshoot what is going on? I can send along the code if necessary.
Thanks in advance for your help!
Gina