Reading 2mass-hp00.fits... Got 2776621 stars Sweep 1: 719652 stars Sweep 2: 588950 stars Sweep 3: 425167 stars Sweep 4: 277386 stars Sweep 5: 167824 stars Sweep 6: 95589 stars Sweep 7: 51760 stars Sweep 8: 26867 stars Sweep 9: 13384 stars Sweep 10: 6415 stars Sweep 11: 2992 stars Sweep 12: 1351 stars Sweep 13: 611 stars Sweep 14: 261 stars Sweep 15: 135 stars Sweep 16: 87 stars Sweep 17: 64 stars Sweep 18: 53 stars Sweep 19: 47 stars Sweep 20: 40 stars Total: 2378635 stars Writing output... Reading star kdtree /tmp/tmp.skdt.4vRK7o ... Will write to quad file /tmp/tmp.quad.jMWTXX and code file /tmp/tmp.code.OIx3Nw Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2378635 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2378635 input stars... Will check 719652 healpixes. Pass 1 of 16. Trying 719652 healpixes. ............................................................................... Made 655862 quads (out of 719652 healpixes) this pass. Made 655862 quads so far. Merging quads... Pass 2 of 16. Trying 719652 healpixes. ............................................................................... Made 619985 quads (out of 719652 healpixes) this pass. Made 1275847 quads so far. Merging quads... Pass 3 of 16. Trying 719652 healpixes. ............................................................................... Made 595876 quads (out of 719652 healpixes) this pass. Made 1871723 quads so far. Merging quads... Pass 4 of 16. Trying 719652 healpixes. ............................................................................... Made 540855 quads (out of 719652 healpixes) this pass. Made 2412578 quads so far. Merging quads... Pass 5 of 16. Trying 719652 healpixes. ............................................................................... Made 440309 quads (out of 719652 healpixes) this pass. Made 2852887 quads so far. Merging quads... Pass 6 of 16. Trying 719652 healpixes. ............................................................................... Made 331120 quads (out of 719652 healpixes) this pass. Made 3184007 quads so far. Merging quads... Pass 7 of 16. Trying 719652 healpixes. ............................................................................... Made 243607 quads (out of 719652 healpixes) this pass. Made 3427614 quads so far. Merging quads... Pass 8 of 16. Trying 719652 healpixes. ............................................................................... Made 177868 quads (out of 719652 healpixes) this pass. Made 3605482 quads so far. Merging quads... Pass 9 of 16. Trying 719652 healpixes. ............................................................................... Made 125640 quads (out of 719652 healpixes) this pass. Made 3731122 quads so far. Merging quads... Pass 10 of 16. Trying 719652 healpixes. ............................................................................... Made 85530 quads (out of 719652 healpixes) this pass. Made 3816652 quads so far. Merging quads... Pass 11 of 16. Trying 719652 healpixes. ............................................................................... Made 56529 quads (out of 719652 healpixes) this pass. Made 3873181 quads so far. Merging quads... Pass 12 of 16. Trying 719652 healpixes. ............................................................................... Made 36415 quads (out of 719652 healpixes) this pass. Made 3909596 quads so far. Merging quads... Pass 13 of 16. Trying 719652 healpixes. ............................................................................... Made 22822 quads (out of 719652 healpixes) this pass. Made 3932418 quads so far. Merging quads... Pass 14 of 16. Trying 719652 healpixes. ............................................................................... Made 14078 quads (out of 719652 healpixes) this pass. Made 3946496 quads so far. Merging quads... Pass 15 of 16. Trying 719652 healpixes. ............................................................................... Made 8507 quads (out of 719652 healpixes) this pass. Made 3955003 quads so far. Merging quads... Pass 16 of 16. Trying 719652 healpixes. ............................................................................... Made 4996 quads (out of 719652 healpixes) this pass. Made 3959999 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 7554433 healpixes. ............................................................................... Made 552207 quads (out of 7554433 healpixes) this pass. Loosening reuse maximum to 10... Trying 7002226 healpixes. ............................................................................... Made 530616 quads (out of 7002226 healpixes) this pass. Loosening reuse maximum to 11... Trying 6471610 healpixes. ............................................................................... Made 505549 quads (out of 6471610 healpixes) this pass. Loosening reuse maximum to 12... Trying 5966061 healpixes. ............................................................................... Made 478458 quads (out of 5966061 healpixes) this pass. Loosening reuse maximum to 13... Trying 5487603 healpixes. ............................................................................... Made 445983 quads (out of 5487603 healpixes) this pass. Loosening reuse maximum to 14... Trying 5041620 healpixes. ............................................................................... Made 408939 quads (out of 5041620 healpixes) this pass. Loosening reuse maximum to 15... Trying 4632681 healpixes. ............................................................................... Made 366211 quads (out of 4632681 healpixes) this pass. Loosening reuse maximum to 16... Trying 4266470 healpixes. ............................................................................... Made 318667 quads (out of 4266470 healpixes) this pass. Loosening reuse maximum to 17... Trying 3947803 healpixes. ............................................................................... Made 267706 quads (out of 3947803 healpixes) this pass. Loosening reuse maximum to 18... Trying 3680097 healpixes. ............................................................................... Made 214325 quads (out of 3680097 healpixes) this pass. Loosening reuse maximum to 19... Trying 3465772 healpixes. ............................................................................... Made 162615 quads (out of 3465772 healpixes) this pass. Loosening reuse maximum to 20... Trying 3303157 healpixes. ............................................................................... Made 115613 quads (out of 3303157 healpixes) this pass. Writing quads... Used 792.021 s user, 0.63604 s system (792.658 s total), 1484.1 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.OIx3Nw will write KD tree file /tmp/tmp.ckdt.hrOY6X Reading codes... Read 8326888 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.hrOY6X... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.4vRK7o and /tmp/tmp.quad.jMWTXX to /tmp/tmp.skdt2.9ZA8mW and /tmp/tmp.quad2.lI7iDU Reading star tree from /tmp/tmp.skdt.4vRK7o ... Reading quadfile from /tmp/tmp.quad.jMWTXX ... Writing quadfile to /tmp/tmp.quad2.lI7iDU ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.9ZA8mW ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.lI7iDU and /tmp/tmp.ckdt.hrOY6X to /tmp/tmp.quad3.edEt2c and /tmp/tmp.ckdt2.Uv3SP3 Reading code tree from /tmp/tmp.ckdt.hrOY6X ... Reading quads from /tmp/tmp.quad2.lI7iDU ... Writing quads to /tmp/tmp.quad3.edEt2c ... Writing code kdtree to /tmp/tmp.ckdt2.Uv3SP3 ... Merging /tmp/tmp.quad3.edEt2c and /tmp/tmp.ckdt2.Uv3SP3 and /tmp/tmp.skdt2.9ZA8mW to index-130331000-00.fits Reading code tree from /tmp/tmp.ckdt2.Uv3SP3 ... Ok. Reading star tree from /tmp/tmp.skdt2.9ZA8mW ... Ok. Reading quads from /tmp/tmp.quad3.edEt2c ... Ok.