Reading 2mass-hp10.fits... Got 2700422 stars Sweep 1: 727550 stars Sweep 2: 606057 stars Sweep 3: 440778 stars Sweep 4: 282004 stars Sweep 5: 161548 stars Sweep 6: 84386 stars Sweep 7: 40445 stars Sweep 8: 18399 stars Sweep 9: 7745 stars Sweep 10: 3163 stars Sweep 11: 1298 stars Sweep 12: 506 stars Sweep 13: 226 stars Sweep 14: 110 stars Sweep 15: 75 stars Sweep 16: 59 stars Sweep 17: 51 stars Sweep 18: 48 stars Sweep 19: 46 stars Sweep 20: 45 stars Total: 2374539 stars Writing output... Reading star kdtree /tmp/tmp.skdt.WsrHz4 ... Will write to quad file /tmp/tmp.quad.hmeLry and code file /tmp/tmp.code.3UmPj2 Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2374539 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2374539 input stars... Will check 727550 healpixes. Pass 1 of 16. Trying 727550 healpixes. ............................................................................... Made 678946 quads (out of 727550 healpixes) this pass. Made 678946 quads so far. Merging quads... Pass 2 of 16. Trying 727550 healpixes. ............................................................................... Made 649491 quads (out of 727550 healpixes) this pass. Made 1328437 quads so far. Merging quads... Pass 3 of 16. Trying 727550 healpixes. ............................................................................... Made 627305 quads (out of 727550 healpixes) this pass. Made 1955742 quads so far. Merging quads... Pass 4 of 16. Trying 727550 healpixes. ............................................................................... Made 571452 quads (out of 727550 healpixes) this pass. Made 2527194 quads so far. Merging quads... Pass 5 of 16. Trying 727550 healpixes. ............................................................................... Made 463375 quads (out of 727550 healpixes) this pass. Made 2990569 quads so far. Merging quads... Pass 6 of 16. Trying 727550 healpixes. ............................................................................... Made 338869 quads (out of 727550 healpixes) this pass. Made 3329438 quads so far. Merging quads... Pass 7 of 16. Trying 727550 healpixes. ............................................................................... Made 236842 quads (out of 727550 healpixes) this pass. Made 3566280 quads so far. Merging quads... Pass 8 of 16. Trying 727550 healpixes. ............................................................................... Made 159712 quads (out of 727550 healpixes) this pass. Made 3725992 quads so far. Merging quads... Pass 9 of 16. Trying 727550 healpixes. ............................................................................... Made 102947 quads (out of 727550 healpixes) this pass. Made 3828939 quads so far. Merging quads... Pass 10 of 16. Trying 727550 healpixes. ............................................................................... Made 62760 quads (out of 727550 healpixes) this pass. Made 3891699 quads so far. Merging quads... Pass 11 of 16. Trying 727550 healpixes. ............................................................................... Made 36587 quads (out of 727550 healpixes) this pass. Made 3928286 quads so far. Merging quads... Pass 12 of 16. Trying 727550 healpixes. ............................................................................... Made 20401 quads (out of 727550 healpixes) this pass. Made 3948687 quads so far. Merging quads... Pass 13 of 16. Trying 727550 healpixes. ............................................................................... Made 11107 quads (out of 727550 healpixes) this pass. Made 3959794 quads so far. Merging quads... Pass 14 of 16. Trying 727550 healpixes. ............................................................................... Made 5837 quads (out of 727550 healpixes) this pass. Made 3965631 quads so far. Merging quads... Pass 15 of 16. Trying 727550 healpixes. ............................................................................... Made 3026 quads (out of 727550 healpixes) this pass. Made 3968657 quads so far. Merging quads... Pass 16 of 16. Trying 727550 healpixes. ............................................................................... Made 1531 quads (out of 727550 healpixes) this pass. Made 3970188 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 7670612 healpixes. ............................................................................... Made 566968 quads (out of 7670612 healpixes) this pass. Loosening reuse maximum to 10... Trying 7103644 healpixes. ............................................................................... Made 551264 quads (out of 7103644 healpixes) this pass. Loosening reuse maximum to 11... Trying 6552380 healpixes. ............................................................................... Made 536184 quads (out of 6552380 healpixes) this pass. Loosening reuse maximum to 12... Trying 6016196 healpixes. ............................................................................... Made 519899 quads (out of 6016196 healpixes) this pass. Loosening reuse maximum to 13... Trying 5496297 healpixes. ............................................................................... Made 498753 quads (out of 5496297 healpixes) this pass. Loosening reuse maximum to 14... Trying 4997544 healpixes. ............................................................................... Made 470286 quads (out of 4997544 healpixes) this pass. Loosening reuse maximum to 15... Trying 4527258 healpixes. ............................................................................... Made 432884 quads (out of 4527258 healpixes) this pass. Loosening reuse maximum to 16... Trying 4094374 healpixes. ............................................................................... Made 385705 quads (out of 4094374 healpixes) this pass. Loosening reuse maximum to 17... Trying 3708669 healpixes. ............................................................................... Made 328410 quads (out of 3708669 healpixes) this pass. Loosening reuse maximum to 18... Trying 3380259 healpixes. ............................................................................... Made 263987 quads (out of 3380259 healpixes) this pass. Loosening reuse maximum to 19... Trying 3116272 healpixes. ............................................................................... Made 198384 quads (out of 3116272 healpixes) this pass. Loosening reuse maximum to 20... Trying 2917888 healpixes. ............................................................................... Made 139021 quads (out of 2917888 healpixes) this pass. Writing quads... Used 746.147 s user, 0.584037 s system (746.731 s total), 751.467 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.3UmPj2 will write KD tree file /tmp/tmp.ckdt.ga58Cv Reading codes... Read 8861933 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.ga58Cv... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.WsrHz4 and /tmp/tmp.quad.hmeLry to /tmp/tmp.skdt2.ahuelG and /tmp/tmp.quad2.z4Fk3Q Reading star tree from /tmp/tmp.skdt.WsrHz4 ... Reading quadfile from /tmp/tmp.quad.hmeLry ... Writing quadfile to /tmp/tmp.quad2.z4Fk3Q ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.ahuelG ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.z4Fk3Q and /tmp/tmp.ckdt.ga58Cv to /tmp/tmp.quad3.tKFsHw and /tmp/tmp.ckdt2.M0noSb Reading code tree from /tmp/tmp.ckdt.ga58Cv ... Reading quads from /tmp/tmp.quad2.z4Fk3Q ... Writing quads to /tmp/tmp.quad3.tKFsHw ... Writing code kdtree to /tmp/tmp.ckdt2.M0noSb ... Merging /tmp/tmp.quad3.tKFsHw and /tmp/tmp.ckdt2.M0noSb and /tmp/tmp.skdt2.ahuelG to index-130331000-10.fits Reading code tree from /tmp/tmp.ckdt2.M0noSb ... Ok. Reading star tree from /tmp/tmp.skdt2.ahuelG ... Ok. Reading quads from /tmp/tmp.quad3.tKFsHw ... Ok.