Reading 2mass-hp30.fits... Got 30814251 stars Sweep 1: 774372 stars Sweep 2: 774205 stars Sweep 3: 773626 stars Sweep 4: 772020 stars Sweep 5: 768709 stars Sweep 6: 762954 stars Sweep 7: 754242 stars Sweep 8: 742581 stars Sweep 9: 727913 stars Sweep 10: 711141 stars Sweep 11: 692870 stars Sweep 12: 673941 stars Sweep 13: 654692 stars Sweep 14: 635945 stars Sweep 15: 617488 stars Sweep 16: 599866 stars Sweep 17: 582982 stars Sweep 18: 566562 stars Sweep 19: 550842 stars Sweep 20: 535586 stars Total: 13672537 stars Writing output... Reading star kdtree /tmp/tmp.skdt.ivffAJ ... Will write to quad file /tmp/tmp.quad.oqpqKM and code file /tmp/tmp.code.cj2BUP Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 13672537 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 13672537 input stars... Will check 774372 healpixes. Pass 1 of 16. Trying 774372 healpixes. ............................................................................... Made 774367 quads (out of 774372 healpixes) this pass. Made 774367 quads so far. Merging quads... Pass 2 of 16. Trying 774372 healpixes. ............................................................................... Made 774365 quads (out of 774372 healpixes) this pass. Made 1548732 quads so far. Merging quads... Pass 3 of 16. Trying 774372 healpixes. ............................................................................... Made 774365 quads (out of 774372 healpixes) this pass. Made 2323097 quads so far. Merging quads... Pass 4 of 16. Trying 774372 healpixes. ............................................................................... Made 774353 quads (out of 774372 healpixes) this pass. Made 3097450 quads so far. Merging quads... Pass 5 of 16. Trying 774372 healpixes. ............................................................................... Made 774319 quads (out of 774372 healpixes) this pass. Made 3871769 quads so far. Merging quads... Pass 6 of 16. Trying 774372 healpixes. ............................................................................... Made 774251 quads (out of 774372 healpixes) this pass. Made 4646020 quads so far. Merging quads... Pass 7 of 16. Trying 774372 healpixes. ............................................................................... Made 774125 quads (out of 774372 healpixes) this pass. Made 5420145 quads so far. Merging quads... Pass 8 of 16. Trying 774372 healpixes. ............................................................................... Made 773850 quads (out of 774372 healpixes) this pass. Made 6193995 quads so far. Merging quads... Pass 9 of 16. Trying 774372 healpixes. ............................................................................... Made 773297 quads (out of 774372 healpixes) this pass. Made 6967292 quads so far. Merging quads... Pass 10 of 16. Trying 774372 healpixes. ............................................................................... Made 772241 quads (out of 774372 healpixes) this pass. Made 7739533 quads so far. Merging quads... Pass 11 of 16. Trying 774372 healpixes. ............................................................................... Made 770514 quads (out of 774372 healpixes) this pass. Made 8510047 quads so far. Merging quads... Pass 12 of 16. Trying 774372 healpixes. ............................................................................... Made 767893 quads (out of 774372 healpixes) this pass. Made 9277940 quads so far. Merging quads... Pass 13 of 16. Trying 774372 healpixes. ............................................................................... Made 764374 quads (out of 774372 healpixes) this pass. Made 10042314 quads so far. Merging quads... Pass 14 of 16. Trying 774372 healpixes. ............................................................................... Made 759624 quads (out of 774372 healpixes) this pass. Made 10801938 quads so far. Merging quads... Pass 15 of 16. Trying 774372 healpixes. ............................................................................... Made 753740 quads (out of 774372 healpixes) this pass. Made 11555678 quads so far. Merging quads... Pass 16 of 16. Trying 774372 healpixes. ............................................................................... Made 746753 quads (out of 774372 healpixes) this pass. Made 12302431 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 87521 healpixes. ............................................................................... Made 55013 quads (out of 87521 healpixes) this pass. Loosening reuse maximum to 10... Trying 32508 healpixes. ............................................................................... Made 20642 quads (out of 32508 healpixes) this pass. Loosening reuse maximum to 11... Trying 11866 healpixes. ............................................................................... Made 7740 quads (out of 11866 healpixes) this pass. Loosening reuse maximum to 12... Trying 4126 healpixes. ............................................................................... Made 2524 quads (out of 4126 healpixes) this pass. Loosening reuse maximum to 13... Trying 1602 healpixes. ............................................................................... Made 832 quads (out of 1602 healpixes) this pass. Loosening reuse maximum to 14... Trying 770 healpixes. ............................................................................... Made 291 quads (out of 770 healpixes) this pass. Loosening reuse maximum to 15... Trying 479 healpixes. ............................................................................... Made 104 quads (out of 479 healpixes) this pass. Loosening reuse maximum to 16... Trying 375 healpixes. ............................................................................... Made 53 quads (out of 375 healpixes) this pass. Loosening reuse maximum to 17... Trying 322 healpixes. ............................................................................... Made 30 quads (out of 322 healpixes) this pass. Loosening reuse maximum to 18... Trying 292 healpixes. ............................................................................... Made 15 quads (out of 292 healpixes) this pass. Loosening reuse maximum to 19... Trying 277 healpixes. ............................................................................... Made 9 quads (out of 277 healpixes) this pass. Loosening reuse maximum to 20... Trying 268 healpixes. ............................................................................... Made 4 quads (out of 268 healpixes) this pass. Writing quads... Used 2701.42 s user, 20.6613 s system (2722.08 s total), 2938.17 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.cj2BUP will write KD tree file /tmp/tmp.ckdt.tXzcZS Reading codes... Read 12389688 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.tXzcZS... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.ivffAJ and /tmp/tmp.quad.oqpqKM to /tmp/tmp.skdt2.ythikH and /tmp/tmp.quad2.PuJoFv Reading star tree from /tmp/tmp.skdt.ivffAJ ... Reading quadfile from /tmp/tmp.quad.oqpqKM ... Writing quadfile to /tmp/tmp.quad2.PuJoFv ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.ythikH ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.PuJoFv and /tmp/tmp.ckdt.tXzcZS to /tmp/tmp.quad3.ibhMvi and /tmp/tmp.ckdt2.cffA5T Reading code tree from /tmp/tmp.ckdt.tXzcZS ... Reading quads from /tmp/tmp.quad2.PuJoFv ... Writing quads to /tmp/tmp.quad3.ibhMvi ... Writing code kdtree to /tmp/tmp.ckdt2.cffA5T ... Merging /tmp/tmp.quad3.ibhMvi and /tmp/tmp.ckdt2.cffA5T and /tmp/tmp.skdt2.ythikH to index-130331000-30.fits Reading code tree from /tmp/tmp.ckdt2.cffA5T ... Ok. Reading star tree from /tmp/tmp.skdt2.ythikH ... Ok. Reading quads from /tmp/tmp.quad3.ibhMvi ... Ok.