Reading 2mass-hp13.fits... Got 18766289 stars Sweep 1: 773512 stars Sweep 2: 768760 stars Sweep 3: 756653 stars Sweep 4: 734708 stars Sweep 5: 704124 stars Sweep 6: 667728 stars Sweep 7: 629059 stars Sweep 8: 591432 stars Sweep 9: 556554 stars Sweep 10: 525116 stars Sweep 11: 496646 stars Sweep 12: 471105 stars Sweep 13: 448221 stars Sweep 14: 427519 stars Sweep 15: 408575 stars Sweep 16: 391219 stars Sweep 17: 375138 stars Sweep 18: 359993 stars Sweep 19: 345808 stars Sweep 20: 332215 stars Total: 10764085 stars Writing output... Reading star kdtree /tmp/tmp.skdt.wHfhEE ... Will write to quad file /tmp/tmp.quad.SnRmNH and code file /tmp/tmp.code.ji0sWK Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 10764085 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 10764085 input stars... Will check 773512 healpixes. Pass 1 of 16. Trying 773512 healpixes. ............................................................................... Made 773343 quads (out of 773512 healpixes) this pass. Made 773343 quads so far. Merging quads... Pass 2 of 16. Trying 773512 healpixes. ............................................................................... Made 773173 quads (out of 773512 healpixes) this pass. Made 1546516 quads so far. Merging quads... Pass 3 of 16. Trying 773512 healpixes. ............................................................................... Made 772966 quads (out of 773512 healpixes) this pass. Made 2319482 quads so far. Merging quads... Pass 4 of 16. Trying 773512 healpixes. ............................................................................... Made 772124 quads (out of 773512 healpixes) this pass. Made 3091606 quads so far. Merging quads... Pass 5 of 16. Trying 773512 healpixes. ............................................................................... Made 768988 quads (out of 773512 healpixes) this pass. Made 3860594 quads so far. Merging quads... Pass 6 of 16. Trying 773512 healpixes. ............................................................................... Made 762268 quads (out of 773512 healpixes) this pass. Made 4622862 quads so far. Merging quads... Pass 7 of 16. Trying 773512 healpixes. ............................................................................... Made 752196 quads (out of 773512 healpixes) this pass. Made 5375058 quads so far. Merging quads... Pass 8 of 16. Trying 773512 healpixes. ............................................................................... Made 738335 quads (out of 773512 healpixes) this pass. Made 6113393 quads so far. Merging quads... Pass 9 of 16. Trying 773512 healpixes. ............................................................................... Made 719634 quads (out of 773512 healpixes) this pass. Made 6833027 quads so far. Merging quads... Pass 10 of 16. Trying 773512 healpixes. ............................................................................... Made 697782 quads (out of 773512 healpixes) this pass. Made 7530809 quads so far. Merging quads... Pass 11 of 16. Trying 773512 healpixes. ............................................................................... Made 674779 quads (out of 773512 healpixes) this pass. Made 8205588 quads so far. Merging quads... Pass 12 of 16. Trying 773512 healpixes. ............................................................................... Made 651437 quads (out of 773512 healpixes) this pass. Made 8857025 quads so far. Merging quads... Pass 13 of 16. Trying 773512 healpixes. ............................................................................... Made 629090 quads (out of 773512 healpixes) this pass. Made 9486115 quads so far. Merging quads... Pass 14 of 16. Trying 773512 healpixes. ............................................................................... Made 607587 quads (out of 773512 healpixes) this pass. Made 10093702 quads so far. Merging quads... Pass 15 of 16. Trying 773512 healpixes. ............................................................................... Made 586923 quads (out of 773512 healpixes) this pass. Made 10680625 quads so far. Merging quads... Pass 16 of 16. Trying 773512 healpixes. ............................................................................... Made 567952 quads (out of 773512 healpixes) this pass. Made 11248577 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1127615 healpixes. ............................................................................... Made 322317 quads (out of 1127615 healpixes) this pass. Loosening reuse maximum to 10... Trying 805298 healpixes. ............................................................................... Made 233971 quads (out of 805298 healpixes) this pass. Loosening reuse maximum to 11... Trying 571327 healpixes. ............................................................................... Made 174402 quads (out of 571327 healpixes) this pass. Loosening reuse maximum to 12... Trying 396925 healpixes. ............................................................................... Made 129588 quads (out of 396925 healpixes) this pass. Loosening reuse maximum to 13... Trying 267337 healpixes. ............................................................................... Made 93472 quads (out of 267337 healpixes) this pass. Loosening reuse maximum to 14... Trying 173865 healpixes. ............................................................................... Made 63501 quads (out of 173865 healpixes) this pass. Loosening reuse maximum to 15... Trying 110364 healpixes. ............................................................................... Made 40230 quads (out of 110364 healpixes) this pass. Loosening reuse maximum to 16... Trying 70134 healpixes. ............................................................................... Made 23941 quads (out of 70134 healpixes) this pass. Loosening reuse maximum to 17... Trying 46193 healpixes. ............................................................................... Made 13119 quads (out of 46193 healpixes) this pass. Loosening reuse maximum to 18... Trying 33074 healpixes. ............................................................................... Made 6837 quads (out of 33074 healpixes) this pass. Loosening reuse maximum to 19... Trying 26237 healpixes. ............................................................................... Made 3366 quads (out of 26237 healpixes) this pass. Loosening reuse maximum to 20... Trying 22871 healpixes. ............................................................................... Made 1607 quads (out of 22871 healpixes) this pass. Writing quads... Used 1698.97 s user, 1.11207 s system (1700.08 s total), 2146.63 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.ji0sWK will write KD tree file /tmp/tmp.ckdt.9tfp7s Reading codes... Read 12354928 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.9tfp7s... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.wHfhEE and /tmp/tmp.quad.SnRmNH to /tmp/tmp.skdt2.U3fqqF and /tmp/tmp.quad2.GeTrJR Reading star tree from /tmp/tmp.skdt.wHfhEE ... Reading quadfile from /tmp/tmp.quad.SnRmNH ... Writing quadfile to /tmp/tmp.quad2.GeTrJR ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.U3fqqF ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.GeTrJR and /tmp/tmp.ckdt.9tfp7s to /tmp/tmp.quad3.hq062P and /tmp/tmp.ckdt2.GN4gTQ Reading code tree from /tmp/tmp.ckdt.9tfp7s ... Reading quads from /tmp/tmp.quad2.GeTrJR ... Writing quads to /tmp/tmp.quad3.hq062P ... Writing code kdtree to /tmp/tmp.ckdt2.GN4gTQ ... Merging /tmp/tmp.quad3.hq062P and /tmp/tmp.ckdt2.GN4gTQ and /tmp/tmp.skdt2.U3fqqF to index-130331000-13.fits Reading code tree from /tmp/tmp.ckdt2.GN4gTQ ... Ok. Reading star tree from /tmp/tmp.skdt2.U3fqqF ... Ok. Reading quads from /tmp/tmp.quad3.hq062P ... Ok.