Reading 2mass-hp42.fits... Got 36035165 stars Sweep 1: 774227 stars Sweep 2: 774127 stars Sweep 3: 773975 stars Sweep 4: 773743 stars Sweep 5: 773333 stars Sweep 6: 772644 stars Sweep 7: 771502 stars Sweep 8: 769432 stars Sweep 9: 766408 stars Sweep 10: 762042 stars Sweep 11: 755903 stars Sweep 12: 748001 stars Sweep 13: 738083 stars Sweep 14: 726232 stars Sweep 15: 712797 stars Sweep 16: 698237 stars Sweep 17: 683084 stars Sweep 18: 667134 stars Sweep 19: 650887 stars Sweep 20: 634699 stars Total: 14726490 stars Writing output... Reading star kdtree /tmp/tmp.skdt.Sefvgh ... Will write to quad file /tmp/tmp.quad.dVHSF4 and code file /tmp/tmp.code.CvGg5R Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 14726490 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 14726490 input stars... Will check 774227 healpixes. Pass 1 of 16. Trying 774227 healpixes. ............................................................................... Made 774188 quads (out of 774227 healpixes) this pass. Made 774188 quads so far. Merging quads... Pass 2 of 16. Trying 774227 healpixes. ............................................................................... Made 774177 quads (out of 774227 healpixes) this pass. Made 1548365 quads so far. Merging quads... Pass 3 of 16. Trying 774227 healpixes. ............................................................................... Made 774172 quads (out of 774227 healpixes) this pass. Made 2322537 quads so far. Merging quads... Pass 4 of 16. Trying 774227 healpixes. ............................................................................... Made 774151 quads (out of 774227 healpixes) this pass. Made 3096688 quads so far. Merging quads... Pass 5 of 16. Trying 774227 healpixes. ............................................................................... Made 774115 quads (out of 774227 healpixes) this pass. Made 3870803 quads so far. Merging quads... Pass 6 of 16. Trying 774227 healpixes. ............................................................................... Made 774069 quads (out of 774227 healpixes) this pass. Made 4644872 quads so far. Merging quads... Pass 7 of 16. Trying 774227 healpixes. ............................................................................... Made 774006 quads (out of 774227 healpixes) this pass. Made 5418878 quads so far. Merging quads... Pass 8 of 16. Trying 774227 healpixes. ............................................................................... Made 773936 quads (out of 774227 healpixes) this pass. Made 6192814 quads so far. Merging quads... Pass 9 of 16. Trying 774227 healpixes. ............................................................................... Made 773862 quads (out of 774227 healpixes) this pass. Made 6966676 quads so far. Merging quads... Pass 10 of 16. Trying 774227 healpixes. ............................................................................... Made 773765 quads (out of 774227 healpixes) this pass. Made 7740441 quads so far. Merging quads... Pass 11 of 16. Trying 774227 healpixes. ............................................................................... Made 773625 quads (out of 774227 healpixes) this pass. Made 8514066 quads so far. Merging quads... Pass 12 of 16. Trying 774227 healpixes. ............................................................................... Made 773473 quads (out of 774227 healpixes) this pass. Made 9287539 quads so far. Merging quads... Pass 13 of 16. Trying 774227 healpixes. ............................................................................... Made 773243 quads (out of 774227 healpixes) this pass. Made 10060782 quads so far. Merging quads... Pass 14 of 16. Trying 774227 healpixes. ............................................................................... Made 772979 quads (out of 774227 healpixes) this pass. Made 10833761 quads so far. Merging quads... Pass 15 of 16. Trying 774227 healpixes. ............................................................................... Made 772582 quads (out of 774227 healpixes) this pass. Made 11606343 quads so far. Merging quads... Pass 16 of 16. Trying 774227 healpixes. ............................................................................... Made 772142 quads (out of 774227 healpixes) this pass. Made 12378485 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 9147 healpixes. ............................................................................... Made 3916 quads (out of 9147 healpixes) this pass. Loosening reuse maximum to 10... Trying 5231 healpixes. ............................................................................... Made 1561 quads (out of 5231 healpixes) this pass. Loosening reuse maximum to 11... Trying 3670 healpixes. ............................................................................... Made 842 quads (out of 3670 healpixes) this pass. Loosening reuse maximum to 12... Trying 2828 healpixes. ............................................................................... Made 532 quads (out of 2828 healpixes) this pass. Loosening reuse maximum to 13... Trying 2296 healpixes. ............................................................................... Made 347 quads (out of 2296 healpixes) this pass. Loosening reuse maximum to 14... Trying 1949 healpixes. ............................................................................... Made 233 quads (out of 1949 healpixes) this pass. Loosening reuse maximum to 15... Trying 1716 healpixes. ............................................................................... Made 180 quads (out of 1716 healpixes) this pass. Loosening reuse maximum to 16... Trying 1536 healpixes. ............................................................................... Made 122 quads (out of 1536 healpixes) this pass. Loosening reuse maximum to 17... Trying 1414 healpixes. ............................................................................... Made 81 quads (out of 1414 healpixes) this pass. Loosening reuse maximum to 18... Trying 1333 healpixes. ............................................................................... Made 50 quads (out of 1333 healpixes) this pass. Loosening reuse maximum to 19... Trying 1283 healpixes. ............................................................................... Made 29 quads (out of 1283 healpixes) this pass. Loosening reuse maximum to 20... Trying 1254 healpixes. ............................................................................... Made 16 quads (out of 1254 healpixes) this pass. Writing quads... Used 2656.84 s user, 0.772048 s system (2657.61 s total), 2665.86 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.CvGg5R will write KD tree file /tmp/tmp.ckdt.lbzJ2I Reading codes... Read 12386394 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.lbzJ2I... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.Sefvgh and /tmp/tmp.quad.dVHSF4 to /tmp/tmp.skdt2.znJRyW and /tmp/tmp.quad2.tfx049 Reading star tree from /tmp/tmp.skdt.Sefvgh ... Reading quadfile from /tmp/tmp.quad.dVHSF4 ... Writing quadfile to /tmp/tmp.quad2.tfx049 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.znJRyW ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.tfx049 and /tmp/tmp.ckdt.lbzJ2I to /tmp/tmp.quad3.uZzM8p and /tmp/tmp.ckdt2.mmdT6h Reading code tree from /tmp/tmp.ckdt.lbzJ2I ... Reading quads from /tmp/tmp.quad2.tfx049 ... Writing quads to /tmp/tmp.quad3.uZzM8p ... Writing code kdtree to /tmp/tmp.ckdt2.mmdT6h ... Merging /tmp/tmp.quad3.uZzM8p and /tmp/tmp.ckdt2.mmdT6h and /tmp/tmp.skdt2.znJRyW to index-130331000-42.fits Reading code tree from /tmp/tmp.ckdt2.mmdT6h ... Ok. Reading star tree from /tmp/tmp.skdt2.znJRyW ... Ok. Reading quads from /tmp/tmp.quad3.uZzM8p ... Ok.