Hello,
after several days of work I finally managed to install
astrometry.net and think I got the right index files. But somehow it doesn't work. So here is what I've done. Hopefully you will find the mistake(s):
1.I got the coordinates and K-Fluxes for the field I'm interested in from the paper by Close et al. 2012. These I wrote into trapezium_close12.csv so it looks like:
RA,DEC,FLUX_K,MAIN_ID
83.83,-5.34,4.57,* tet01 Ori C
and so on. The ones without a FLUX_K measured I entered 1 as default.
2. Converting to a .fits file: I used the ipython-console (based on 2.7):
In [1]: %run text2fits.py -s , -f fffs trapezium_close12.csv trapezium_close12.fits
3. Making the index file for astrometry. The output file i moved into /usr/local/astrometry/data/ where astrometry searches for it and finds it:
/usr/local/astrometry/bin/build-astrometry-index -i trapezium_close12.fits -o trapezium_close12_astrometry5.fits -E -P -5 -S FLUX_K -f -I 2016-03-24
4. I then run astrometry, using sextractor. Sextractor finds the right 5 sources in my image (I can look at the trapezium_agpm_reduced.png where they are circeled in red).
/usr/local/astrometry/bin/solve-field --overwrite --use-sextractor --sextractor-config default.sex --x-column X_IMAGE --y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending --no-remove-lines trapezium_agpm_reduced.fits
5. I get the output:
****************************************************************************
/usr/local/astrometry/bin/solve-field --overwrite --use-sextractor --sextractor-config default.sex --x-column X_IMAGE --y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending --no-remove-lines trapezium_agpm_reduced.fits Reading input file 1 of 1: "trapezium_agpm_reduced.fits"...
Header has 539 cards
/scisoft/python/lib/python2.7/site-packages/pyfits/card.py:1246: VerifyWarning: Card is too long, comment will be truncated.
VerifyWarning)
Found an existing WCS header, will try to verify it.
Extracting sources...
----- SExtractor 2.19.5 started on 2016-03-24 at 16:37:33 with 1 thread
> Setting catalog parameters
> WARNING: lNUMBER catalog parameter unknown
----- Measuring from: tmp.sanitized.oEInDW
"Object name not set" / no ext. header / 1024x1024 / 32 bits (floats)
(M+D) Background: -0.16479 RMS: 1.78735 / Threshold: 18.7672
Objects: detected 7 / sextracted 5
> All done (in 0.0 s: 26837.8 lines/s , 131.0 detections/s)
Reading sort column "MAG_AUTO"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
Solving...
Reading file "./trapezium_agpm_reduced.axy"...
Verifying WCS using indices with quads of size [0.0464043, 0.464043] arcmin
Verifying WCS with index 1 of 1 (/usr/local/astrometry/data/trapezium_close12_astrometry5.fits)
Verifying WCS of field 1.
--> log-odds 0.881754
Got 0 solutions.
Field 1 did not solve (index trapezium_close12_astrometry5.fits, field objects 1-10).
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field 1 did not solve.
Field: trapezium_agpm_reduced.fits
Did not solve (or no WCS file was written).
******************************************************************************************************
So why doesn't it find any results? I guess it has something to do that I don't have an all-sky map (just some arcmin), or it looks for a wrong plate-scale. But also setting this to some predefined values (--scale-units arcsecperpix --scale-low 10.0 --scale-high 25.0) where it has to lie inbetween doesn't give a better result.
Thank you for your help,
Stefan