dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
683 stars 189 forks source link

tweak2.c: tweak2: Assertion `theta[i] < Nin' failed. #23

Open letmaik opened 10 years ago

letmaik commented 10 years ago

I'm still on 0.43 currently but I'll test it as well on 0.50 soon. A quick look however showed no relevant changes in the code.

...
Field 1 did not solve (index index-4116.fits, field objects 31-40).
Field 1 did not solve (index index-4115.fits, field objects 31-40).
Field 1 did not solve (index index-4114.fits, field objects 31-40).
Field 1 did not solve (index index-4119.fits, field objects 41-50).
Field 1 did not solve (index index-4118.fits, field objects 41-50).
Field 1 did not solve (index index-4117.fits, field objects 41-50).
backend: tweak2.c:456: tweak2: Assertion `theta[i] < Nin' failed.
solve-field.c:523:run_backend backend failed.  Command that failed was:
  /opt/astrometry/bin/backend /tmp/tmpFLZvHz/astrometry/masked.axy
 ioutils.c:661:run_command_get_outputs Command was killed by signal 6

This happened quite a couple of times. Do you need the axy file for testing? If yes, where should I upload it (nova isn't suitable because it uses a different index set)?

dstndstn commented 10 years ago

Go ahead and submit it to nova.astrometry.net if you don't have another convenient way to post it on the web. Which index files are you using? (I can see the partial list above) thanks, --dstn ​

letmaik commented 10 years ago

Here it is: http://nova.astrometry.net/status/409708 I used custom path flags, so the uploaded axy file actually fails due to that, see the log. This should be fixed as well (by ignoring these fields when uploading to nova).

I use indices index-4114 to index-4119.

letmaik commented 10 years ago

Sorry, the custom path issue didn't appear here yet (was in another case), there was a seg fault, so yet another issue maybe.

dstndstn commented 10 years ago

posted here http://broiler.astrometry.net/~dstn/temp/test.axy

dstndstn commented 10 years ago

With the current development version of the code I get a successful solve with index-4115.fits

letmaik commented 10 years ago

Ok, I cannot test it myself currently (due to https://groups.google.com/d/msg/astrometry/FZqYgfSO7hg/9E2icBY6ZGUJ), but let's close this issue until I or someone else comes across it again.

letmaik commented 9 years ago

Have to reopen this as I use the latest master version now and it appeared again (only tested on 1 machine so far):

[...]
Annealing: order 1, step 15, gamma = 0.205891
39 reference sources within the image.
RoR: 3106.28
Test stars in RoR: 485 of 529
Good bins: 100 / 117; effA 1.20983e+07 of 1.03404e+07
Ref stars in RoR: 39 of 39
Logodds: 0.588541
1 matches, 2 distractors, 0 conflicts (at best log-odds); 529 field sources, 39 index sources
221 matches, 306 distractors, 2 conflicts (all sources)
Hit/miss: --+(best)-----------------+---+-----------------------------------------+-------------+-+-----------------
Moved quad center to (3828.0, 167.6)
tweak2: setting orders 1, 1
Moving tangent point to given CRPIX (2136.5,1416.5)
Total weight: 12.4834
sip_compute-inverse_polynomials: A 1, AP 1
NX,NY 20,20
Applying shift of sx,sy = 69.1061,-38.6416 deg (1689.74,-316.69 pix) to CRVAL and CD.
Annealing: order 1, step 16, gamma = 0.185302
477 reference sources within the image.
RoR: 860.696
Test stars in RoR: 127 of 529
Good bins: 11 / 117; effA 1.20983e+07 of 1.13745e+06
Ref stars in RoR: 0 of 477
Logodds: -inf
3 matches, 0 distractors, 0 conflicts (at best log-odds); 529 field sources, 477 index sources
248 matches, 279 distractors, 2 conflicts (all sources)
Hit/miss: +++(best)++++++------------+---++------------+c+-+-------c-++--+-+-+-----------+-------+------------------
astrometry-engine: tweak2.c:414: tweak2: Assertion `theta[i] < Nin' failed.

.axy file is here: http://nova.astrometry.net/status/421633 (fails for a different reason though)

dstndstn commented 9 years ago

Could you please send the full solve-field command-line and remind me which index files you're using? Thanks. ​

letmaik commented 9 years ago

Sure:

solve-field --cpulimit 60 --dir /tmp/tmp5z7jIZ/astrometry --temp-dir /tmp/tmp5z7jIZ/astrometry/tmp --no-delete-temp --wcs /tmp/tmp5z7jIZ/astrometry/11796_masked.wcs --solved /tmp/tmp5z7jIZ/astrometry/11796_masked.solved --match /tmp/tmp5z7jIZ/astrometry/11796_masked.match --index-xyls /tmp/tmp5z7jIZ/astrometry/11796_masked.xyls --corr /tmp/tmp5z7jIZ/astrometry/11796_masked.corr --crpix-center --no-background-subtraction --scale-low 54.8670002998 --scale-high 67.0596670331 --scale-units arcsecperpix --no-tweak --pixel-error 10 --verbose --sigma 0.6 --downsample 2 --no-plots /tmp/tmp5z7jIZ/11796_masked.png

You can find the actual input image here: http://nova.astrometry.net/user_images/457714#original

I use indices index-4114 to index-4119.