Reading 2mass-hp09.fits... Got 1277842 stars Sweep 1: 589630 stars Sweep 2: 329257 stars Sweep 3: 142669 stars Sweep 4: 50784 stars Sweep 5: 15641 stars Sweep 6: 4557 stars Sweep 7: 1346 stars Sweep 8: 443 stars Sweep 9: 205 stars Sweep 10: 136 stars Sweep 11: 96 stars Sweep 12: 77 stars Sweep 13: 67 stars Sweep 14: 60 stars Sweep 15: 52 stars Sweep 16: 44 stars Sweep 17: 37 stars Sweep 18: 34 stars Sweep 19: 28 stars Sweep 20: 26 stars Total: 1135189 stars Writing output... Reading star kdtree /tmp/tmp.skdt.RLsF3v ... Will write to quad file /tmp/tmp.quad.c5Ah9e and code file /tmp/tmp.code.aa6TeY Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1135189 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1135189 input stars... Will check 589630 healpixes. Pass 1 of 16. Trying 589630 healpixes. ............................................................................... Made 337849 quads (out of 589630 healpixes) this pass. Made 337849 quads so far. Merging quads... Pass 2 of 16. Trying 589630 healpixes. ............................................................................... Made 255714 quads (out of 589630 healpixes) this pass. Made 593563 quads so far. Merging quads... Pass 3 of 16. Trying 589630 healpixes. ............................................................................... Made 218496 quads (out of 589630 healpixes) this pass. Made 812059 quads so far. Merging quads... Pass 4 of 16. Trying 589630 healpixes. ............................................................................... Made 166241 quads (out of 589630 healpixes) this pass. Made 978300 quads so far. Merging quads... Pass 5 of 16. Trying 589630 healpixes. ............................................................................... Made 107219 quads (out of 589630 healpixes) this pass. Made 1085519 quads so far. Merging quads... Pass 6 of 16. Trying 589630 healpixes. ............................................................................... Made 62203 quads (out of 589630 healpixes) this pass. Made 1147722 quads so far. Merging quads... Pass 7 of 16. Trying 589630 healpixes. ............................................................................... Made 34169 quads (out of 589630 healpixes) this pass. Made 1181891 quads so far. Merging quads... Pass 8 of 16. Trying 589630 healpixes. ............................................................................... Made 18400 quads (out of 589630 healpixes) this pass. Made 1200291 quads so far. Merging quads... Pass 9 of 16. Trying 589630 healpixes. ............................................................................... Made 9625 quads (out of 589630 healpixes) this pass. Made 1209916 quads so far. Merging quads... Pass 10 of 16. Trying 589630 healpixes. ............................................................................... Made 4884 quads (out of 589630 healpixes) this pass. Made 1214800 quads so far. Merging quads... Pass 11 of 16. Trying 589630 healpixes. ............................................................................... Made 2331 quads (out of 589630 healpixes) this pass. Made 1217131 quads so far. Merging quads... Pass 12 of 16. Trying 589630 healpixes. ............................................................................... Made 1081 quads (out of 589630 healpixes) this pass. Made 1218212 quads so far. Merging quads... Pass 13 of 16. Trying 589630 healpixes. ............................................................................... Made 523 quads (out of 589630 healpixes) this pass. Made 1218735 quads so far. Merging quads... Pass 14 of 16. Trying 589630 healpixes. ............................................................................... Made 282 quads (out of 589630 healpixes) this pass. Made 1219017 quads so far. Merging quads... Pass 15 of 16. Trying 589630 healpixes. ............................................................................... Made 168 quads (out of 589630 healpixes) this pass. Made 1219185 quads so far. Merging quads... Pass 16 of 16. Trying 589630 healpixes. ............................................................................... Made 112 quads (out of 589630 healpixes) this pass. Made 1219297 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8214783 healpixes. ............................................................................... Made 134771 quads (out of 8214783 healpixes) this pass. Loosening reuse maximum to 10... Trying 8080012 healpixes. ............................................................................... Made 124464 quads (out of 8080012 healpixes) this pass. Loosening reuse maximum to 11... Trying 7955548 healpixes. ............................................................................... Made 115182 quads (out of 7955548 healpixes) this pass. Loosening reuse maximum to 12... Trying 7840366 healpixes. ............................................................................... Made 106928 quads (out of 7840366 healpixes) this pass. Loosening reuse maximum to 13... Trying 7733438 healpixes. ............................................................................... Made 98292 quads (out of 7733438 healpixes) this pass. Loosening reuse maximum to 14... Trying 7635146 healpixes. ............................................................................... Made 90410 quads (out of 7635146 healpixes) this pass. Loosening reuse maximum to 15... Trying 7544736 healpixes. ............................................................................... Made 82058 quads (out of 7544736 healpixes) this pass. Loosening reuse maximum to 16... Trying 7462678 healpixes. ............................................................................... Made 73589 quads (out of 7462678 healpixes) this pass. Loosening reuse maximum to 17... Trying 7389089 healpixes. ............................................................................... Made 64420 quads (out of 7389089 healpixes) this pass. Loosening reuse maximum to 18... Trying 7324669 healpixes. ............................................................................... Made 55266 quads (out of 7324669 healpixes) this pass. Loosening reuse maximum to 19... Trying 7269403 healpixes. ............................................................................... Made 46055 quads (out of 7269403 healpixes) this pass. Loosening reuse maximum to 20... Trying 7223348 healpixes. ............................................................................... Made 36932 quads (out of 7223348 healpixes) this pass. Writing quads... Used 782.893 s user, 2.78417 s system (785.677 s total), 904.351 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.aa6TeY will write KD tree file /tmp/tmp.ckdt.3NqrBD Reading codes... Read 2247664 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.3NqrBD... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.RLsF3v and /tmp/tmp.quad.c5Ah9e to /tmp/tmp.skdt2.HpsJmE and /tmp/tmp.quad2.fXa27E Reading star tree from /tmp/tmp.skdt.RLsF3v ... Reading quadfile from /tmp/tmp.quad.c5Ah9e ... Writing quadfile to /tmp/tmp.quad2.fXa27E ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.HpsJmE ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.fXa27E and /tmp/tmp.ckdt.3NqrBD to /tmp/tmp.quad3.d6NKtO and /tmp/tmp.ckdt2.YX8SNJ Reading code tree from /tmp/tmp.ckdt.3NqrBD ... Reading quads from /tmp/tmp.quad2.fXa27E ... Writing quads to /tmp/tmp.quad3.d6NKtO ... Writing code kdtree to /tmp/tmp.ckdt2.YX8SNJ ... Merging /tmp/tmp.quad3.d6NKtO and /tmp/tmp.ckdt2.YX8SNJ and /tmp/tmp.skdt2.HpsJmE to index-130331000-09.fits Reading code tree from /tmp/tmp.ckdt2.YX8SNJ ... Ok. Reading star tree from /tmp/tmp.skdt2.HpsJmE ... Ok. Reading quads from /tmp/tmp.quad3.d6NKtO ... Ok.