Reading 2mass-hp40.fits... Got 29917433 stars Sweep 1: 774336 stars Sweep 2: 774034 stars Sweep 3: 772999 stars Sweep 4: 770355 stars Sweep 5: 765158 stars Sweep 6: 756648 stars Sweep 7: 744398 stars Sweep 8: 729492 stars Sweep 9: 712377 stars Sweep 10: 693967 stars Sweep 11: 675242 stars Sweep 12: 656441 stars Sweep 13: 638006 stars Sweep 14: 620376 stars Sweep 15: 603081 stars Sweep 16: 586003 stars Sweep 17: 569825 stars Sweep 18: 554293 stars Sweep 19: 539284 stars Sweep 20: 524819 stars Total: 13461134 stars Writing output... Reading star kdtree /tmp/tmp.skdt.xkrMB2 ... Will write to quad file /tmp/tmp.quad.TeKs0C and code file /tmp/tmp.code.iew9od Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 13461134 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 13461134 input stars... Will check 774336 healpixes. Pass 1 of 16. Trying 774336 healpixes. ............................................................................... Made 774326 quads (out of 774336 healpixes) this pass. Made 774326 quads so far. Merging quads... Pass 2 of 16. Trying 774336 healpixes. ............................................................................... Made 774323 quads (out of 774336 healpixes) this pass. Made 1548649 quads so far. Merging quads... Pass 3 of 16. Trying 774336 healpixes. ............................................................................... Made 774319 quads (out of 774336 healpixes) this pass. Made 2322968 quads so far. Merging quads... Pass 4 of 16. Trying 774336 healpixes. ............................................................................... Made 774301 quads (out of 774336 healpixes) this pass. Made 3097269 quads so far. Merging quads... Pass 5 of 16. Trying 774336 healpixes. ............................................................................... Made 774254 quads (out of 774336 healpixes) this pass. Made 3871523 quads so far. Merging quads... Pass 6 of 16. Trying 774336 healpixes. ............................................................................... Made 774144 quads (out of 774336 healpixes) this pass. Made 4645667 quads so far. Merging quads... Pass 7 of 16. Trying 774336 healpixes. ............................................................................... Made 773901 quads (out of 774336 healpixes) this pass. Made 5419568 quads so far. Merging quads... Pass 8 of 16. Trying 774336 healpixes. ............................................................................... Made 773405 quads (out of 774336 healpixes) this pass. Made 6192973 quads so far. Merging quads... Pass 9 of 16. Trying 774336 healpixes. ............................................................................... Made 772332 quads (out of 774336 healpixes) this pass. Made 6965305 quads so far. Merging quads... Pass 10 of 16. Trying 774336 healpixes. ............................................................................... Made 770285 quads (out of 774336 healpixes) this pass. Made 7735590 quads so far. Merging quads... Pass 11 of 16. Trying 774336 healpixes. ............................................................................... Made 766984 quads (out of 774336 healpixes) this pass. Made 8502574 quads so far. Merging quads... Pass 12 of 16. Trying 774336 healpixes. ............................................................................... Made 762004 quads (out of 774336 healpixes) this pass. Made 9264578 quads so far. Merging quads... Pass 13 of 16. Trying 774336 healpixes. ............................................................................... Made 755670 quads (out of 774336 healpixes) this pass. Made 10020248 quads so far. Merging quads... Pass 14 of 16. Trying 774336 healpixes. ............................................................................... Made 747612 quads (out of 774336 healpixes) this pass. Made 10767860 quads so far. Merging quads... Pass 15 of 16. Trying 774336 healpixes. ............................................................................... Made 738222 quads (out of 774336 healpixes) this pass. Made 11506082 quads so far. Merging quads... Pass 16 of 16. Trying 774336 healpixes. ............................................................................... Made 728164 quads (out of 774336 healpixes) this pass. Made 12234246 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 155130 healpixes. ............................................................................... Made 91004 quads (out of 155130 healpixes) this pass. Loosening reuse maximum to 10... Trying 64126 healpixes. ............................................................................... Made 40456 quads (out of 64126 healpixes) this pass. Loosening reuse maximum to 11... Trying 23670 healpixes. ............................................................................... Made 15684 quads (out of 23670 healpixes) this pass. Loosening reuse maximum to 12... Trying 7986 healpixes. ............................................................................... Made 5074 quads (out of 7986 healpixes) this pass. Loosening reuse maximum to 13... Trying 2912 healpixes. ............................................................................... Made 1528 quads (out of 2912 healpixes) this pass. Loosening reuse maximum to 14... Trying 1384 healpixes. ............................................................................... Made 537 quads (out of 1384 healpixes) this pass. Loosening reuse maximum to 15... Trying 847 healpixes. ............................................................................... Made 185 quads (out of 847 healpixes) this pass. Loosening reuse maximum to 16... Trying 662 healpixes. ............................................................................... Made 74 quads (out of 662 healpixes) this pass. Loosening reuse maximum to 17... Trying 588 healpixes. ............................................................................... Made 39 quads (out of 588 healpixes) this pass. Loosening reuse maximum to 18... Trying 549 healpixes. ............................................................................... Made 27 quads (out of 549 healpixes) this pass. Loosening reuse maximum to 19... Trying 522 healpixes. ............................................................................... Made 20 quads (out of 522 healpixes) this pass. Loosening reuse maximum to 20... Trying 502 healpixes. ............................................................................... Made 13 quads (out of 502 healpixes) this pass. Writing quads... Used 2627.07 s user, 1.14807 s system (2628.22 s total), 3007.5 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.iew9od will write KD tree file /tmp/tmp.ckdt.d3K3gR Reading codes... Read 12388887 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.d3K3gR... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.xkrMB2 and /tmp/tmp.quad.TeKs0C to /tmp/tmp.skdt2.4ya83T and /tmp/tmp.quad2.MGadRW Reading star tree from /tmp/tmp.skdt.xkrMB2 ... Reading quadfile from /tmp/tmp.quad.TeKs0C ... Writing quadfile to /tmp/tmp.quad2.MGadRW ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.4ya83T ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.MGadRW and /tmp/tmp.ckdt.d3K3gR to /tmp/tmp.quad3.WTPJ8H and /tmp/tmp.ckdt2.69eYuP Reading code tree from /tmp/tmp.ckdt.d3K3gR ... Reading quads from /tmp/tmp.quad2.MGadRW ... Writing quads to /tmp/tmp.quad3.WTPJ8H ... Writing code kdtree to /tmp/tmp.ckdt2.69eYuP ... Merging /tmp/tmp.quad3.WTPJ8H and /tmp/tmp.ckdt2.69eYuP and /tmp/tmp.skdt2.4ya83T to index-130331000-40.fits Reading code tree from /tmp/tmp.ckdt2.69eYuP ... Ok. Reading star tree from /tmp/tmp.skdt2.4ya83T ... Ok. Reading quads from /tmp/tmp.quad3.WTPJ8H ... Ok.