astrometry.net icon indicating copy to clipboard operation
astrometry.net copied to clipboard

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

Open letmaik opened this issue 11 years ago • 9 comments

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)?

letmaik avatar Nov 12 '14 10:11 letmaik

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 ​

dstndstn avatar Nov 12 '14 11:11 dstndstn

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 avatar Nov 12 '14 12:11 letmaik

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

letmaik avatar Nov 12 '14 12:11 letmaik

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

dstndstn avatar Nov 12 '14 12:11 dstndstn

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

dstndstn avatar Nov 12 '14 12:11 dstndstn

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 avatar Nov 12 '14 13:11 letmaik

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)

letmaik avatar Nov 24 '14 20:11 letmaik

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

dstndstn avatar Nov 24 '14 21:11 dstndstn

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.

letmaik avatar Nov 24 '14 21:11 letmaik