Reading 2mass-hp05.fits... Got 4571431 stars Sweep 1: 756422 stars Sweep 2: 702161 stars Sweep 3: 613809 stars Sweep 4: 507808 stars Sweep 5: 401220 stars Sweep 6: 303971 stars Sweep 7: 222815 stars Sweep 8: 157733 stars Sweep 9: 108356 stars Sweep 10: 72543 stars Sweep 11: 47373 stars Sweep 12: 29996 stars Sweep 13: 18378 stars Sweep 14: 10997 stars Sweep 15: 6487 stars Sweep 16: 3725 stars Sweep 17: 2049 stars Sweep 18: 1106 stars Sweep 19: 551 stars Sweep 20: 292 stars Total: 3967792 stars Writing output... Reading star kdtree /tmp/tmp.skdt.fJPqQn ... Will write to quad file /tmp/tmp.quad.yoXLFZ and code file /tmp/tmp.code.yAt7uB Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 3967792 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 3967792 input stars... Will check 756422 healpixes. Pass 1 of 16. Trying 756422 healpixes. ............................................................................... Made 741081 quads (out of 756422 healpixes) this pass. Made 741081 quads so far. Merging quads... Pass 2 of 16. Trying 756422 healpixes. ............................................................................... Made 730825 quads (out of 756422 healpixes) this pass. Made 1471906 quads so far. Merging quads... Pass 3 of 16. Trying 756422 healpixes. ............................................................................... Made 722478 quads (out of 756422 healpixes) this pass. Made 2194384 quads so far. Merging quads... Pass 4 of 16. Trying 756422 healpixes. ............................................................................... Made 699108 quads (out of 756422 healpixes) this pass. Made 2893492 quads so far. Merging quads... Pass 5 of 16. Trying 756422 healpixes. ............................................................................... Made 648821 quads (out of 756422 healpixes) this pass. Made 3542313 quads so far. Merging quads... Pass 6 of 16. Trying 756422 healpixes. ............................................................................... Made 582808 quads (out of 756422 healpixes) this pass. Made 4125121 quads so far. Merging quads... Pass 7 of 16. Trying 756422 healpixes. ............................................................................... Made 519855 quads (out of 756422 healpixes) this pass. Made 4644976 quads so far. Merging quads... Pass 8 of 16. Trying 756422 healpixes. ............................................................................... Made 460206 quads (out of 756422 healpixes) this pass. Made 5105182 quads so far. Merging quads... Pass 9 of 16. Trying 756422 healpixes. ............................................................................... Made 399945 quads (out of 756422 healpixes) this pass. Made 5505127 quads so far. Merging quads... Pass 10 of 16. Trying 756422 healpixes. ............................................................................... Made 340695 quads (out of 756422 healpixes) this pass. Made 5845822 quads so far. Merging quads... Pass 11 of 16. Trying 756422 healpixes. ............................................................................... Made 284836 quads (out of 756422 healpixes) this pass. Made 6130658 quads so far. Merging quads... Pass 12 of 16. Trying 756422 healpixes. ............................................................................... Made 234814 quads (out of 756422 healpixes) this pass. Made 6365472 quads so far. Merging quads... Pass 13 of 16. Trying 756422 healpixes. ............................................................................... Made 190687 quads (out of 756422 healpixes) this pass. Made 6556159 quads so far. Merging quads... Pass 14 of 16. Trying 756422 healpixes. ............................................................................... Made 152852 quads (out of 756422 healpixes) this pass. Made 6709011 quads so far. Merging quads... Pass 15 of 16. Trying 756422 healpixes. ............................................................................... Made 121211 quads (out of 756422 healpixes) this pass. Made 6830222 quads so far. Merging quads... Pass 16 of 16. Trying 756422 healpixes. ............................................................................... Made 94976 quads (out of 756422 healpixes) this pass. Made 6925198 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 5177554 healpixes. ............................................................................... Made 793860 quads (out of 5177554 healpixes) this pass. Loosening reuse maximum to 10... Trying 4383694 healpixes. ............................................................................... Made 679421 quads (out of 4383694 healpixes) this pass. Loosening reuse maximum to 11... Trying 3704273 healpixes. ............................................................................... Made 573230 quads (out of 3704273 healpixes) this pass. Loosening reuse maximum to 12... Trying 3131043 healpixes. ............................................................................... Made 475747 quads (out of 3131043 healpixes) this pass. Loosening reuse maximum to 13... Trying 2655296 healpixes. ............................................................................... Made 390756 quads (out of 2655296 healpixes) this pass. Loosening reuse maximum to 14... Trying 2264540 healpixes. ............................................................................... Made 321610 quads (out of 2264540 healpixes) this pass. Loosening reuse maximum to 15... Trying 1942930 healpixes. ............................................................................... Made 264767 quads (out of 1942930 healpixes) this pass. Loosening reuse maximum to 16... Trying 1678163 healpixes. ............................................................................... Made 214060 quads (out of 1678163 healpixes) this pass. Loosening reuse maximum to 17... Trying 1464103 healpixes. ............................................................................... Made 167596 quads (out of 1464103 healpixes) this pass. Loosening reuse maximum to 18... Trying 1296507 healpixes. ............................................................................... Made 126304 quads (out of 1296507 healpixes) this pass. Loosening reuse maximum to 19... Trying 1170203 healpixes. ............................................................................... Made 90305 quads (out of 1170203 healpixes) this pass. Loosening reuse maximum to 20... Trying 1079898 healpixes. ............................................................................... Made 60085 quads (out of 1079898 healpixes) this pass. Writing quads... Used 542.558 s user, 0.756047 s system (543.314 s total), 822.495 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.yAt7uB will write KD tree file /tmp/tmp.ckdt.atABAm Reading codes... Read 11082939 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.atABAm... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.fJPqQn and /tmp/tmp.quad.yoXLFZ to /tmp/tmp.skdt2.w9f2qg and /tmp/tmp.quad2.sgqtha Reading star tree from /tmp/tmp.skdt.fJPqQn ... Reading quadfile from /tmp/tmp.quad.yoXLFZ ... Writing quadfile to /tmp/tmp.quad2.sgqtha ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.w9f2qg ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.sgqtha and /tmp/tmp.ckdt.atABAm to /tmp/tmp.quad3.OcZwHJ and /tmp/tmp.ckdt2.mZUuZW Reading code tree from /tmp/tmp.ckdt.atABAm ... Reading quads from /tmp/tmp.quad2.sgqtha ... Writing quads to /tmp/tmp.quad3.OcZwHJ ... Writing code kdtree to /tmp/tmp.ckdt2.mZUuZW ... Merging /tmp/tmp.quad3.OcZwHJ and /tmp/tmp.ckdt2.mZUuZW and /tmp/tmp.skdt2.w9f2qg to index-130331000-05.fits Reading code tree from /tmp/tmp.ckdt2.mZUuZW ... Ok. Reading star tree from /tmp/tmp.skdt2.w9f2qg ... Ok. Reading quads from /tmp/tmp.quad3.OcZwHJ ... Ok.