Reading 2mass-hp38.fits... Got 15102794 stars Sweep 1: 772671 stars Sweep 2: 764685 stars Sweep 3: 745720 stars Sweep 4: 714445 stars Sweep 5: 672971 stars Sweep 6: 626043 stars Sweep 7: 577979 stars Sweep 8: 532289 stars Sweep 9: 490182 stars Sweep 10: 452356 stars Sweep 11: 418789 stars Sweep 12: 389601 stars Sweep 13: 363345 stars Sweep 14: 339755 stars Sweep 15: 318603 stars Sweep 16: 299397 stars Sweep 17: 281751 stars Sweep 18: 265641 stars Sweep 19: 250542 stars Sweep 20: 236495 stars Total: 9513260 stars Writing output... Reading star kdtree /tmp/tmp.skdt.IIwCqz ... Will write to quad file /tmp/tmp.quad.Gil9Iw and code file /tmp/tmp.code.M1xG1t Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9513260 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9513260 input stars... Will check 772671 healpixes. Pass 1 of 16. Trying 772671 healpixes. ............................................................................... Made 772135 quads (out of 772671 healpixes) this pass. Made 772135 quads so far. Merging quads... Pass 2 of 16. Trying 772671 healpixes. ............................................................................... Made 771611 quads (out of 772671 healpixes) this pass. Made 1543746 quads so far. Merging quads... Pass 3 of 16. Trying 772671 healpixes. ............................................................................... Made 771114 quads (out of 772671 healpixes) this pass. Made 2314860 quads so far. Merging quads... Pass 4 of 16. Trying 772671 healpixes. ............................................................................... Made 769040 quads (out of 772671 healpixes) this pass. Made 3083900 quads so far. Merging quads... Pass 5 of 16. Trying 772671 healpixes. ............................................................................... Made 761901 quads (out of 772671 healpixes) this pass. Made 3845801 quads so far. Merging quads... Pass 6 of 16. Trying 772671 healpixes. ............................................................................... Made 748900 quads (out of 772671 healpixes) this pass. Made 4594701 quads so far. Merging quads... Pass 7 of 16. Trying 772671 healpixes. ............................................................................... Made 732745 quads (out of 772671 healpixes) this pass. Made 5327446 quads so far. Merging quads... Pass 8 of 16. Trying 772671 healpixes. ............................................................................... Made 713264 quads (out of 772671 healpixes) this pass. Made 6040710 quads so far. Merging quads... Pass 9 of 16. Trying 772671 healpixes. ............................................................................... Made 688826 quads (out of 772671 healpixes) this pass. Made 6729536 quads so far. Merging quads... Pass 10 of 16. Trying 772671 healpixes. ............................................................................... Made 661462 quads (out of 772671 healpixes) this pass. Made 7390998 quads so far. Merging quads... Pass 11 of 16. Trying 772671 healpixes. ............................................................................... Made 632750 quads (out of 772671 healpixes) this pass. Made 8023748 quads so far. Merging quads... Pass 12 of 16. Trying 772671 healpixes. ............................................................................... Made 604535 quads (out of 772671 healpixes) this pass. Made 8628283 quads so far. Merging quads... Pass 13 of 16. Trying 772671 healpixes. ............................................................................... Made 576984 quads (out of 772671 healpixes) this pass. Made 9205267 quads so far. Merging quads... Pass 14 of 16. Trying 772671 healpixes. ............................................................................... Made 550854 quads (out of 772671 healpixes) this pass. Made 9756121 quads so far. Merging quads... Pass 15 of 16. Trying 772671 healpixes. ............................................................................... Made 526390 quads (out of 772671 healpixes) this pass. Made 10282511 quads so far. Merging quads... Pass 16 of 16. Trying 772671 healpixes. ............................................................................... Made 503311 quads (out of 772671 healpixes) this pass. Made 10785822 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1576914 healpixes. ............................................................................... Made 406708 quads (out of 1576914 healpixes) this pass. Loosening reuse maximum to 10... Trying 1170206 healpixes. ............................................................................... Made 302339 quads (out of 1170206 healpixes) this pass. Loosening reuse maximum to 11... Trying 867867 healpixes. ............................................................................... Made 229180 quads (out of 867867 healpixes) this pass. Loosening reuse maximum to 12... Trying 638687 healpixes. ............................................................................... Made 173596 quads (out of 638687 healpixes) this pass. Loosening reuse maximum to 13... Trying 465091 healpixes. ............................................................................... Made 129336 quads (out of 465091 healpixes) this pass. Loosening reuse maximum to 14... Trying 335755 healpixes. ............................................................................... Made 94740 quads (out of 335755 healpixes) this pass. Loosening reuse maximum to 15... Trying 241015 healpixes. ............................................................................... Made 67853 quads (out of 241015 healpixes) this pass. Loosening reuse maximum to 16... Trying 173162 healpixes. ............................................................................... Made 46765 quads (out of 173162 healpixes) this pass. Loosening reuse maximum to 17... Trying 126397 healpixes. ............................................................................... Made 30281 quads (out of 126397 healpixes) this pass. Loosening reuse maximum to 18... Trying 96116 healpixes. ............................................................................... Made 18386 quads (out of 96116 healpixes) this pass. Loosening reuse maximum to 19... Trying 77730 healpixes. ............................................................................... Made 10528 quads (out of 77730 healpixes) this pass. Loosening reuse maximum to 20... Trying 67202 healpixes. ............................................................................... Made 5508 quads (out of 67202 healpixes) this pass. Writing quads... Used 1420.86 s user, 0.64004 s system (1421.5 s total), 1427.17 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.M1xG1t will write KD tree file /tmp/tmp.ckdt.1PRzaZ Reading codes... Read 12301042 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.1PRzaZ... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.IIwCqz and /tmp/tmp.quad.Gil9Iw to /tmp/tmp.skdt2.dRmuQV and /tmp/tmp.quad2.jGnpwS Reading star tree from /tmp/tmp.skdt.IIwCqz ... Reading quadfile from /tmp/tmp.quad.Gil9Iw ... Writing quadfile to /tmp/tmp.quad2.jGnpwS ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.dRmuQV ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.jGnpwS and /tmp/tmp.ckdt.1PRzaZ to /tmp/tmp.quad3.MFpoP6 and /tmp/tmp.ckdt2.GYuTFu Reading code tree from /tmp/tmp.ckdt.1PRzaZ ... Reading quads from /tmp/tmp.quad2.jGnpwS ... Writing quads to /tmp/tmp.quad3.MFpoP6 ... Writing code kdtree to /tmp/tmp.ckdt2.GYuTFu ... Merging /tmp/tmp.quad3.MFpoP6 and /tmp/tmp.ckdt2.GYuTFu and /tmp/tmp.skdt2.dRmuQV to index-130331000-38.fits Reading code tree from /tmp/tmp.ckdt2.GYuTFu ... Ok. Reading star tree from /tmp/tmp.skdt2.dRmuQV ... Ok. Reading quads from /tmp/tmp.quad3.MFpoP6 ... Ok.