Reading 2mass-hp08.fits... Got 1872436 stars Sweep 1: 669147 stars Sweep 2: 468455 stars Sweep 3: 269112 stars Sweep 4: 130913 stars Sweep 5: 55794 stars Sweep 6: 21018 stars Sweep 7: 7459 stars Sweep 8: 2529 stars Sweep 9: 854 stars Sweep 10: 321 stars Sweep 11: 137 stars Sweep 12: 74 stars Sweep 13: 45 stars Sweep 14: 36 stars Sweep 15: 34 stars Sweep 16: 30 stars Sweep 17: 29 stars Sweep 18: 28 stars Sweep 19: 26 stars Sweep 20: 24 stars Total: 1626065 stars Writing output... Reading star kdtree /tmp/tmp.skdt.XNVKuF ... Will write to quad file /tmp/tmp.quad.80DN8D and code file /tmp/tmp.code.cUXQMC Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1626065 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1626065 input stars... Will check 669147 healpixes. Pass 1 of 16. Trying 669147 healpixes. ............................................................................... Made 531661 quads (out of 669147 healpixes) this pass. Made 531661 quads so far. Merging quads... Pass 2 of 16. Trying 669147 healpixes. ............................................................................... Made 467616 quads (out of 669147 healpixes) this pass. Made 999277 quads so far. Merging quads... Pass 3 of 16. Trying 669147 healpixes. ............................................................................... Made 429557 quads (out of 669147 healpixes) this pass. Made 1428834 quads so far. Merging quads... Pass 4 of 16. Trying 669147 healpixes. ............................................................................... Made 357111 quads (out of 669147 healpixes) this pass. Made 1785945 quads so far. Merging quads... Pass 5 of 16. Trying 669147 healpixes. ............................................................................... Made 248718 quads (out of 669147 healpixes) this pass. Made 2034663 quads so far. Merging quads... Pass 6 of 16. Trying 669147 healpixes. ............................................................................... Made 150277 quads (out of 669147 healpixes) this pass. Made 2184940 quads so far. Merging quads... Pass 7 of 16. Trying 669147 healpixes. ............................................................................... Made 84855 quads (out of 669147 healpixes) this pass. Made 2269795 quads so far. Merging quads... Pass 8 of 16. Trying 669147 healpixes. ............................................................................... Made 46179 quads (out of 669147 healpixes) this pass. Made 2315974 quads so far. Merging quads... Pass 9 of 16. Trying 669147 healpixes. ............................................................................... Made 24098 quads (out of 669147 healpixes) this pass. Made 2340072 quads so far. Merging quads... Pass 10 of 16. Trying 669147 healpixes. ............................................................................... Made 12253 quads (out of 669147 healpixes) this pass. Made 2352325 quads so far. Merging quads... Pass 11 of 16. Trying 669147 healpixes. ............................................................................... Made 6042 quads (out of 669147 healpixes) this pass. Made 2358367 quads so far. Merging quads... Pass 12 of 16. Trying 669147 healpixes. ............................................................................... Made 2889 quads (out of 669147 healpixes) this pass. Made 2361256 quads so far. Merging quads... Pass 13 of 16. Trying 669147 healpixes. ............................................................................... Made 1386 quads (out of 669147 healpixes) this pass. Made 2362642 quads so far. Merging quads... Pass 14 of 16. Trying 669147 healpixes. ............................................................................... Made 673 quads (out of 669147 healpixes) this pass. Made 2363315 quads so far. Merging quads... Pass 15 of 16. Trying 669147 healpixes. ............................................................................... Made 338 quads (out of 669147 healpixes) this pass. Made 2363653 quads so far. Merging quads... Pass 16 of 16. Trying 669147 healpixes. ............................................................................... Made 186 quads (out of 669147 healpixes) this pass. Made 2363839 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8342513 healpixes. ............................................................................... Made 318761 quads (out of 8342513 healpixes) this pass. Loosening reuse maximum to 10... Trying 8023752 healpixes. ............................................................................... Made 304981 quads (out of 8023752 healpixes) this pass. Loosening reuse maximum to 11... Trying 7718771 healpixes. ............................................................................... Made 293157 quads (out of 7718771 healpixes) this pass. Loosening reuse maximum to 12... Trying 7425614 healpixes. ............................................................................... Made 281679 quads (out of 7425614 healpixes) this pass. Loosening reuse maximum to 13... Trying 7143935 healpixes. ............................................................................... Made 271333 quads (out of 7143935 healpixes) this pass. Loosening reuse maximum to 14... Trying 6872602 healpixes. ............................................................................... Made 259595 quads (out of 6872602 healpixes) this pass. Loosening reuse maximum to 15... Trying 6613007 healpixes. ............................................................................... Made 246640 quads (out of 6613007 healpixes) this pass. Loosening reuse maximum to 16... Trying 6366367 healpixes. ............................................................................... Made 230360 quads (out of 6366367 healpixes) this pass. Loosening reuse maximum to 17... Trying 6136007 healpixes. ............................................................................... Made 208764 quads (out of 6136007 healpixes) this pass. Loosening reuse maximum to 18... Trying 5927243 healpixes. ............................................................................... Made 182049 quads (out of 5927243 healpixes) this pass. Loosening reuse maximum to 19... Trying 5745194 healpixes. ............................................................................... Made 150041 quads (out of 5745194 healpixes) this pass. Loosening reuse maximum to 20... Trying 5595153 healpixes. ............................................................................... Made 115449 quads (out of 5595153 healpixes) this pass. Writing quads... Used 901.132 s user, 0.348022 s system (901.48 s total), 1722.26 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.cUXQMC will write KD tree file /tmp/tmp.ckdt.kSpKgq Reading codes... Read 5226648 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.kSpKgq... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.XNVKuF and /tmp/tmp.quad.80DN8D to /tmp/tmp.skdt2.ztJTSo and /tmp/tmp.quad2.vnM3un Reading star tree from /tmp/tmp.skdt.XNVKuF ... Reading quadfile from /tmp/tmp.quad.80DN8D ... Writing quadfile to /tmp/tmp.quad2.vnM3un ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.ztJTSo ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.vnM3un and /tmp/tmp.ckdt.kSpKgq to /tmp/tmp.quad3.hcwLvP and /tmp/tmp.ckdt2.eUjpvB Reading code tree from /tmp/tmp.ckdt.kSpKgq ... Reading quads from /tmp/tmp.quad2.vnM3un ... Writing quads to /tmp/tmp.quad3.hcwLvP ... Writing code kdtree to /tmp/tmp.ckdt2.eUjpvB ... Merging /tmp/tmp.quad3.hcwLvP and /tmp/tmp.ckdt2.eUjpvB and /tmp/tmp.skdt2.ztJTSo to index-130331000-08.fits Reading code tree from /tmp/tmp.ckdt2.eUjpvB ... Ok. Reading star tree from /tmp/tmp.skdt2.ztJTSo ... Ok. Reading quads from /tmp/tmp.quad3.hcwLvP ... Ok.