Reading 2mass-hp16.fits... Got 1474483 stars Sweep 1: 621751 stars Sweep 2: 377987 stars Sweep 3: 179916 stars Sweep 4: 70404 stars Sweep 5: 23593 stars Sweep 6: 7219 stars Sweep 7: 1985 stars Sweep 8: 610 stars Sweep 9: 239 stars Sweep 10: 120 stars Sweep 11: 74 stars Sweep 12: 59 stars Sweep 13: 50 stars Sweep 14: 46 stars Sweep 15: 44 stars Sweep 16: 38 stars Sweep 17: 31 stars Sweep 18: 24 stars Sweep 19: 22 stars Sweep 20: 19 stars Total: 1284231 stars Writing output... Reading star kdtree /tmp/tmp.skdt.dcoqTK ... Will write to quad file /tmp/tmp.quad.0WyAbD and code file /tmp/tmp.code.Z87Ktv Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1284231 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1284231 input stars... Will check 621751 healpixes. Pass 1 of 16. Trying 621751 healpixes. ............................................................................... Made 410211 quads (out of 621751 healpixes) this pass. Made 410211 quads so far. Merging quads... Pass 2 of 16. Trying 621751 healpixes. ............................................................................... Made 329406 quads (out of 621751 healpixes) this pass. Made 739617 quads so far. Merging quads... Pass 3 of 16. Trying 621751 healpixes. ............................................................................... Made 288476 quads (out of 621751 healpixes) this pass. Made 1028093 quads so far. Merging quads... Pass 4 of 16. Trying 621751 healpixes. ............................................................................... Made 225082 quads (out of 621751 healpixes) this pass. Made 1253175 quads so far. Merging quads... Pass 5 of 16. Trying 621751 healpixes. ............................................................................... Made 146569 quads (out of 621751 healpixes) this pass. Made 1399744 quads so far. Merging quads... Pass 6 of 16. Trying 621751 healpixes. ............................................................................... Made 84303 quads (out of 621751 healpixes) this pass. Made 1484047 quads so far. Merging quads... Pass 7 of 16. Trying 621751 healpixes. ............................................................................... Made 45606 quads (out of 621751 healpixes) this pass. Made 1529653 quads so far. Merging quads... Pass 8 of 16. Trying 621751 healpixes. ............................................................................... Made 23737 quads (out of 621751 healpixes) this pass. Made 1553390 quads so far. Merging quads... Pass 9 of 16. Trying 621751 healpixes. ............................................................................... Made 12181 quads (out of 621751 healpixes) this pass. Made 1565571 quads so far. Merging quads... Pass 10 of 16. Trying 621751 healpixes. ............................................................................... Made 5995 quads (out of 621751 healpixes) this pass. Made 1571566 quads so far. Merging quads... Pass 11 of 16. Trying 621751 healpixes. ............................................................................... Made 2818 quads (out of 621751 healpixes) this pass. Made 1574384 quads so far. Merging quads... Pass 12 of 16. Trying 621751 healpixes. ............................................................................... Made 1290 quads (out of 621751 healpixes) this pass. Made 1575674 quads so far. Merging quads... Pass 13 of 16. Trying 621751 healpixes. ............................................................................... Made 580 quads (out of 621751 healpixes) this pass. Made 1576254 quads so far. Merging quads... Pass 14 of 16. Trying 621751 healpixes. ............................................................................... Made 280 quads (out of 621751 healpixes) this pass. Made 1576534 quads so far. Merging quads... Pass 15 of 16. Trying 621751 healpixes. ............................................................................... Made 143 quads (out of 621751 healpixes) this pass. Made 1576677 quads so far. Merging quads... Pass 16 of 16. Trying 621751 healpixes. ............................................................................... Made 100 quads (out of 621751 healpixes) this pass. Made 1576777 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8371239 healpixes. ............................................................................... Made 189277 quads (out of 8371239 healpixes) this pass. Loosening reuse maximum to 10... Trying 8181962 healpixes. ............................................................................... Made 177338 quads (out of 8181962 healpixes) this pass. Loosening reuse maximum to 11... Trying 8004624 healpixes. ............................................................................... Made 166252 quads (out of 8004624 healpixes) this pass. Loosening reuse maximum to 12... Trying 7838372 healpixes. ............................................................................... Made 155654 quads (out of 7838372 healpixes) this pass. Loosening reuse maximum to 13... Trying 7682718 healpixes. ............................................................................... Made 145982 quads (out of 7682718 healpixes) this pass. Loosening reuse maximum to 14... Trying 7536736 healpixes. ............................................................................... Made 136181 quads (out of 7536736 healpixes) this pass. Loosening reuse maximum to 15... Trying 7400555 healpixes. ............................................................................... Made 125944 quads (out of 7400555 healpixes) this pass. Loosening reuse maximum to 16... Trying 7274611 healpixes. ............................................................................... Made 114549 quads (out of 7274611 healpixes) this pass. Loosening reuse maximum to 17... Trying 7160062 healpixes. ............................................................................... Made 102207 quads (out of 7160062 healpixes) this pass. Loosening reuse maximum to 18... Trying 7057855 healpixes. ............................................................................... Made 88622 quads (out of 7057855 healpixes) this pass. Loosening reuse maximum to 19... Trying 6969233 healpixes. ............................................................................... Made 73901 quads (out of 6969233 healpixes) this pass. Loosening reuse maximum to 20... Trying 6895332 healpixes. ............................................................................... Made 59227 quads (out of 6895332 healpixes) this pass. Writing quads... Used 873.003 s user, 0.260016 s system (873.263 s total), 1087.79 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.Z87Ktv will write KD tree file /tmp/tmp.ckdt.ImowO3 Reading codes... Read 3111911 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.ImowO3... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.dcoqTK and /tmp/tmp.quad.0WyAbD to /tmp/tmp.skdt2.ld2fLx and /tmp/tmp.quad2.Mba0H1 Reading star tree from /tmp/tmp.skdt.dcoqTK ... Reading quadfile from /tmp/tmp.quad.0WyAbD ... Writing quadfile to /tmp/tmp.quad2.Mba0H1 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.ld2fLx ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.Mba0H1 and /tmp/tmp.ckdt.ImowO3 to /tmp/tmp.quad3.sgAmbb and /tmp/tmp.ckdt2.wa7FrB Reading code tree from /tmp/tmp.ckdt.ImowO3 ... Reading quads from /tmp/tmp.quad2.Mba0H1 ... Writing quads to /tmp/tmp.quad3.sgAmbb ... Writing code kdtree to /tmp/tmp.ckdt2.wa7FrB ... Merging /tmp/tmp.quad3.sgAmbb and /tmp/tmp.ckdt2.wa7FrB and /tmp/tmp.skdt2.ld2fLx to index-130331000-16.fits Reading code tree from /tmp/tmp.ckdt2.wa7FrB ... Ok. Reading star tree from /tmp/tmp.skdt2.ld2fLx ... Ok. Reading quads from /tmp/tmp.quad3.sgAmbb ... Ok.