release.gof error with POPAN

Hi users -
I'm calculating population size (N) from mark-recapture data and running into an error I can't figure out. I have four years of data, but I would like to estimate N using just two years of data (two capture occasions). The mark POPAN model runs just fine, but I encounter an error when trying to test goodness-of-fit.
> data.sals=import.chdata("SALS capture history JS 2012-13.txt", header=T)
> summary(data.sals)
ch Site
Length:431 AT:171
Class :character MW:175
Mode :character OC: 85
> proc.data.sals1=process.data(data=data.sals, model="POPAN", groups="Site")
> release.gof(proc.data.sals1)
RELEASE NORMAL TERMINATION
Error in (x3 + 4):length(out) : argument of length 0
When I use all four years of data, however, release.gof works just fine.
> data.sals=import.chdata("SALS capture history JS 2011-14.txt", header=T)
> summary(data.sals)
ch Site
Length:768 AT:318
Class :character MW:299
Mode :character OC:151
> proc.data.sals=process.data(data=data.sals,model="POPAN", begin.time=2011,groups="Site")
> release.gof(proc.data.sals)
RELEASE NORMAL TERMINATION
Chi.square df P
TEST2 1.5746 3 0.6652
TEST3 1.1538 8 0.9971
Total 2.7284 11 0.9939
Can anyone clarify why this is happening and how I could run the GOF test on the two year subset of data? Many thanks!
I'm calculating population size (N) from mark-recapture data and running into an error I can't figure out. I have four years of data, but I would like to estimate N using just two years of data (two capture occasions). The mark POPAN model runs just fine, but I encounter an error when trying to test goodness-of-fit.
> data.sals=import.chdata("SALS capture history JS 2012-13.txt", header=T)
> summary(data.sals)
ch Site
Length:431 AT:171
Class :character MW:175
Mode :character OC: 85
> proc.data.sals1=process.data(data=data.sals, model="POPAN", groups="Site")
> release.gof(proc.data.sals1)
RELEASE NORMAL TERMINATION
Error in (x3 + 4):length(out) : argument of length 0
When I use all four years of data, however, release.gof works just fine.
> data.sals=import.chdata("SALS capture history JS 2011-14.txt", header=T)
> summary(data.sals)
ch Site
Length:768 AT:318
Class :character MW:299
Mode :character OC:151
> proc.data.sals=process.data(data=data.sals,model="POPAN", begin.time=2011,groups="Site")
> release.gof(proc.data.sals)
RELEASE NORMAL TERMINATION
Chi.square df P
TEST2 1.5746 3 0.6652
TEST3 1.1538 8 0.9971
Total 2.7284 11 0.9939
Can anyone clarify why this is happening and how I could run the GOF test on the two year subset of data? Many thanks!