Reading 2mass-hp31.fits... Got 13124332 stars Sweep 1: 772998 stars Sweep 2: 766337 stars Sweep 3: 749325 stars Sweep 4: 718925 stars Sweep 5: 675653 stars Sweep 6: 623705 stars Sweep 7: 568867 stars Sweep 8: 515428 stars Sweep 9: 465817 stars Sweep 10: 421545 stars Sweep 11: 382717 stars Sweep 12: 348641 stars Sweep 13: 318801 stars Sweep 14: 292649 stars Sweep 15: 269121 stars Sweep 16: 248478 stars Sweep 17: 229226 stars Sweep 18: 212034 stars Sweep 19: 196473 stars Sweep 20: 182223 stars Total: 8958963 stars Writing output... Reading star kdtree /tmp/tmp.skdt.Mj7OTH ... Will write to quad file /tmp/tmp.quad.w6HF5g and code file /tmp/tmp.code.c6NwhQ Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 8958963 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 8958963 input stars... Will check 772998 healpixes. Pass 1 of 16. Trying 772998 healpixes. ............................................................................... Made 772658 quads (out of 772998 healpixes) this pass. Made 772658 quads so far. Merging quads... Pass 2 of 16. Trying 772998 healpixes. ............................................................................... Made 772401 quads (out of 772998 healpixes) this pass. Made 1545059 quads so far. Merging quads... Pass 3 of 16. Trying 772998 healpixes. ............................................................................... Made 772067 quads (out of 772998 healpixes) this pass. Made 2317126 quads so far. Merging quads... Pass 4 of 16. Trying 772998 healpixes. ............................................................................... Made 770754 quads (out of 772998 healpixes) this pass. Made 3087880 quads so far. Merging quads... Pass 5 of 16. Trying 772998 healpixes. ............................................................................... Made 765747 quads (out of 772998 healpixes) this pass. Made 3853627 quads so far. Merging quads... Pass 6 of 16. Trying 772998 healpixes. ............................................................................... Made 755828 quads (out of 772998 healpixes) this pass. Made 4609455 quads so far. Merging quads... Pass 7 of 16. Trying 772998 healpixes. ............................................................................... Made 742306 quads (out of 772998 healpixes) this pass. Made 5351761 quads so far. Merging quads... Pass 8 of 16. Trying 772998 healpixes. ............................................................................... Made 724306 quads (out of 772998 healpixes) this pass. Made 6076067 quads so far. Merging quads... Pass 9 of 16. Trying 772998 healpixes. ............................................................................... Made 699679 quads (out of 772998 healpixes) this pass. Made 6775746 quads so far. Merging quads... Pass 10 of 16. Trying 772998 healpixes. ............................................................................... Made 669368 quads (out of 772998 healpixes) this pass. Made 7445114 quads so far. Merging quads... Pass 11 of 16. Trying 772998 healpixes. ............................................................................... Made 635831 quads (out of 772998 healpixes) this pass. Made 8080945 quads so far. Merging quads... Pass 12 of 16. Trying 772998 healpixes. ............................................................................... Made 601507 quads (out of 772998 healpixes) this pass. Made 8682452 quads so far. Merging quads... Pass 13 of 16. Trying 772998 healpixes. ............................................................................... Made 568023 quads (out of 772998 healpixes) this pass. Made 9250475 quads so far. Merging quads... Pass 14 of 16. Trying 772998 healpixes. ............................................................................... Made 535945 quads (out of 772998 healpixes) this pass. Made 9786420 quads so far. Merging quads... Pass 15 of 16. Trying 772998 healpixes. ............................................................................... Made 506676 quads (out of 772998 healpixes) this pass. Made 10293096 quads so far. Merging quads... Pass 16 of 16. Trying 772998 healpixes. ............................................................................... Made 480183 quads (out of 772998 healpixes) this pass. Made 10773279 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1594689 healpixes. ............................................................................... Made 461012 quads (out of 1594689 healpixes) this pass. Loosening reuse maximum to 10... Trying 1133677 healpixes. ............................................................................... Made 344913 quads (out of 1133677 healpixes) this pass. Loosening reuse maximum to 11... Trying 788764 healpixes. ............................................................................... Made 253004 quads (out of 788764 healpixes) this pass. Loosening reuse maximum to 12... Trying 535760 healpixes. ............................................................................... Made 176828 quads (out of 535760 healpixes) this pass. Loosening reuse maximum to 13... Trying 358932 healpixes. ............................................................................... Made 119605 quads (out of 358932 healpixes) this pass. Loosening reuse maximum to 14... Trying 239327 healpixes. ............................................................................... Made 79765 quads (out of 239327 healpixes) this pass. Loosening reuse maximum to 15... Trying 159562 healpixes. ............................................................................... Made 51923 quads (out of 159562 healpixes) this pass. Loosening reuse maximum to 16... Trying 107639 healpixes. ............................................................................... Made 32455 quads (out of 107639 healpixes) this pass. Loosening reuse maximum to 17... Trying 75184 healpixes. ............................................................................... Made 19209 quads (out of 75184 healpixes) this pass. Loosening reuse maximum to 18... Trying 55975 healpixes. ............................................................................... Made 10713 quads (out of 55975 healpixes) this pass. Loosening reuse maximum to 19... Trying 45262 healpixes. ............................................................................... Made 5622 quads (out of 45262 healpixes) this pass. Loosening reuse maximum to 20... Trying 39640 healpixes. ............................................................................... Made 2705 quads (out of 39640 healpixes) this pass. Writing quads... Used 1249.7 s user, 0.868054 s system (1250.57 s total), 1440.3 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.c6NwhQ will write KD tree file /tmp/tmp.ckdt.t2oQYI Reading codes... Read 12331033 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.t2oQYI... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.Mj7OTH and /tmp/tmp.quad.w6HF5g to /tmp/tmp.skdt2.IxtnD3 and /tmp/tmp.quad2.b98Uho Reading star tree from /tmp/tmp.skdt.Mj7OTH ... Reading quadfile from /tmp/tmp.quad.w6HF5g ... Writing quadfile to /tmp/tmp.quad2.b98Uho ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.IxtnD3 ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.b98Uho and /tmp/tmp.ckdt.t2oQYI to /tmp/tmp.quad3.RF0WR9 and /tmp/tmp.ckdt2.TAMV4g Reading code tree from /tmp/tmp.ckdt.t2oQYI ... Reading quads from /tmp/tmp.quad2.b98Uho ... Writing quads to /tmp/tmp.quad3.RF0WR9 ... Writing code kdtree to /tmp/tmp.ckdt2.TAMV4g ... Merging /tmp/tmp.quad3.RF0WR9 and /tmp/tmp.ckdt2.TAMV4g and /tmp/tmp.skdt2.IxtnD3 to index-130331000-31.fits Reading code tree from /tmp/tmp.ckdt2.TAMV4g ... Ok. Reading star tree from /tmp/tmp.skdt2.IxtnD3 ... Ok. Reading quads from /tmp/tmp.quad3.RF0WR9 ... Ok.