Reading 2mass-hp47.fits... Got 4897516 stars Sweep 1: 760826 stars Sweep 2: 714559 stars Sweep 3: 632805 stars Sweep 4: 528054 stars Sweep 5: 418742 stars Sweep 6: 319330 stars Sweep 7: 237262 stars Sweep 8: 172473 stars Sweep 9: 124126 stars Sweep 10: 87822 stars Sweep 11: 61890 stars Sweep 12: 43283 stars Sweep 13: 30013 stars Sweep 14: 20661 stars Sweep 15: 14038 stars Sweep 16: 9557 stars Sweep 17: 6359 stars Sweep 18: 4232 stars Sweep 19: 2729 stars Sweep 20: 1763 stars Total: 4190524 stars Writing output... Reading star kdtree /tmp/tmp.skdt.Q7bJiG ... Will write to quad file /tmp/tmp.quad.ScVQuv and code file /tmp/tmp.code.uE6YGk Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 4190524 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 4190524 input stars... Will check 760826 healpixes. Pass 1 of 16. Trying 760826 healpixes. ............................................................................... Made 751442 quads (out of 760826 healpixes) this pass. Made 751442 quads so far. Merging quads... Pass 2 of 16. Trying 760826 healpixes. ............................................................................... Made 744460 quads (out of 760826 healpixes) this pass. Made 1495902 quads so far. Merging quads... Pass 3 of 16. Trying 760826 healpixes. ............................................................................... Made 738304 quads (out of 760826 healpixes) this pass. Made 2234206 quads so far. Merging quads... Pass 4 of 16. Trying 760826 healpixes. ............................................................................... Made 719388 quads (out of 760826 healpixes) this pass. Made 2953594 quads so far. Merging quads... Pass 5 of 16. Trying 760826 healpixes. ............................................................................... Made 672519 quads (out of 760826 healpixes) this pass. Made 3626113 quads so far. Merging quads... Pass 6 of 16. Trying 760826 healpixes. ............................................................................... Made 606184 quads (out of 760826 healpixes) this pass. Made 4232297 quads so far. Merging quads... Pass 7 of 16. Trying 760826 healpixes. ............................................................................... Made 539736 quads (out of 760826 healpixes) this pass. Made 4772033 quads so far. Merging quads... Pass 8 of 16. Trying 760826 healpixes. ............................................................................... Made 476173 quads (out of 760826 healpixes) this pass. Made 5248206 quads so far. Merging quads... Pass 9 of 16. Trying 760826 healpixes. ............................................................................... Made 411581 quads (out of 760826 healpixes) this pass. Made 5659787 quads so far. Merging quads... Pass 10 of 16. Trying 760826 healpixes. ............................................................................... Made 349680 quads (out of 760826 healpixes) this pass. Made 6009467 quads so far. Merging quads... Pass 11 of 16. Trying 760826 healpixes. ............................................................................... Made 293979 quads (out of 760826 healpixes) this pass. Made 6303446 quads so far. Merging quads... Pass 12 of 16. Trying 760826 healpixes. ............................................................................... Made 245501 quads (out of 760826 healpixes) this pass. Made 6548947 quads so far. Merging quads... Pass 13 of 16. Trying 760826 healpixes. ............................................................................... Made 204610 quads (out of 760826 healpixes) this pass. Made 6753557 quads so far. Merging quads... Pass 14 of 16. Trying 760826 healpixes. ............................................................................... Made 169763 quads (out of 760826 healpixes) this pass. Made 6923320 quads so far. Merging quads... Pass 15 of 16. Trying 760826 healpixes. ............................................................................... Made 140508 quads (out of 760826 healpixes) this pass. Made 7063828 quads so far. Merging quads... Pass 16 of 16. Trying 760826 healpixes. ............................................................................... Made 115716 quads (out of 760826 healpixes) this pass. Made 7179544 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 4993672 healpixes. ............................................................................... Made 781409 quads (out of 4993672 healpixes) this pass. Loosening reuse maximum to 10... Trying 4212263 healpixes. ............................................................................... Made 671136 quads (out of 4212263 healpixes) this pass. Loosening reuse maximum to 11... Trying 3541127 healpixes. ............................................................................... Made 580683 quads (out of 3541127 healpixes) this pass. Loosening reuse maximum to 12... Trying 2960444 healpixes. ............................................................................... Made 498431 quads (out of 2960444 healpixes) this pass. Loosening reuse maximum to 13... Trying 2462013 healpixes. ............................................................................... Made 419579 quads (out of 2462013 healpixes) this pass. Loosening reuse maximum to 14... Trying 2042434 healpixes. ............................................................................... Made 346914 quads (out of 2042434 healpixes) this pass. Loosening reuse maximum to 15... Trying 1695520 healpixes. ............................................................................... Made 284330 quads (out of 1695520 healpixes) this pass. Loosening reuse maximum to 16... Trying 1411190 healpixes. ............................................................................... Made 227032 quads (out of 1411190 healpixes) this pass. Loosening reuse maximum to 17... Trying 1184158 healpixes. ............................................................................... Made 174583 quads (out of 1184158 healpixes) this pass. Loosening reuse maximum to 18... Trying 1009575 healpixes. ............................................................................... Made 126822 quads (out of 1009575 healpixes) this pass. Loosening reuse maximum to 19... Trying 882753 healpixes. ............................................................................... Made 86348 quads (out of 882753 healpixes) this pass. Loosening reuse maximum to 20... Trying 796405 healpixes. ............................................................................... Made 54777 quads (out of 796405 healpixes) this pass. Writing quads... Used 568.007 s user, 1.18007 s system (569.188 s total), 726.444 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.uE6YGk will write KD tree file /tmp/tmp.ckdt.GChRAG Reading codes... Read 11431588 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.GChRAG... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.Q7bJiG and /tmp/tmp.quad.ScVQuv to /tmp/tmp.skdt2.vfDPPI and /tmp/tmp.quad2.UssO4K Reading star tree from /tmp/tmp.skdt.Q7bJiG ... Reading quadfile from /tmp/tmp.quad.ScVQuv ... Writing quadfile to /tmp/tmp.quad2.UssO4K ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.vfDPPI ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.UssO4K and /tmp/tmp.ckdt.GChRAG to /tmp/tmp.quad3.bOPwDE and /tmp/tmp.ckdt2.CfoaRc Reading code tree from /tmp/tmp.ckdt.GChRAG ... Reading quads from /tmp/tmp.quad2.UssO4K ... Writing quads to /tmp/tmp.quad3.bOPwDE ... Writing code kdtree to /tmp/tmp.ckdt2.CfoaRc ... Merging /tmp/tmp.quad3.bOPwDE and /tmp/tmp.ckdt2.CfoaRc and /tmp/tmp.skdt2.vfDPPI to index-130331000-47.fits Reading code tree from /tmp/tmp.ckdt2.CfoaRc ... Ok. Reading star tree from /tmp/tmp.skdt2.vfDPPI ... Ok. Reading quads from /tmp/tmp.quad3.bOPwDE ... Ok.