Reading 2mass-hp36.fits... Got 17032912 stars Sweep 1: 773996 stars Sweep 2: 771374 stars Sweep 3: 763457 stars Sweep 4: 747029 stars Sweep 5: 720577 stars Sweep 6: 685221 stars Sweep 7: 643791 stars Sweep 8: 600710 stars Sweep 9: 559467 stars Sweep 10: 521067 stars Sweep 11: 486390 stars Sweep 12: 455486 stars Sweep 13: 428042 stars Sweep 14: 403511 stars Sweep 15: 381358 stars Sweep 16: 361781 stars Sweep 17: 343586 stars Sweep 18: 326913 stars Sweep 19: 311110 stars Sweep 20: 296920 stars Total: 10581786 stars Writing output... Reading star kdtree /tmp/tmp.skdt.Xfa87J ... Will write to quad file /tmp/tmp.quad.16GQZ2 and code file /tmp/tmp.code.lzGzRl Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 10581786 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 10581786 input stars... Will check 773996 healpixes. Pass 1 of 16. Trying 773996 healpixes. ............................................................................... Made 773961 quads (out of 773996 healpixes) this pass. Made 773961 quads so far. Merging quads... Pass 2 of 16. Trying 773996 healpixes. ............................................................................... Made 773938 quads (out of 773996 healpixes) this pass. Made 1547899 quads so far. Merging quads... Pass 3 of 16. Trying 773996 healpixes. ............................................................................... Made 773896 quads (out of 773996 healpixes) this pass. Made 2321795 quads so far. Merging quads... Pass 4 of 16. Trying 773996 healpixes. ............................................................................... Made 773701 quads (out of 773996 healpixes) this pass. Made 3095496 quads so far. Merging quads... Pass 5 of 16. Trying 773996 healpixes. ............................................................................... Made 772728 quads (out of 773996 healpixes) this pass. Made 3868224 quads so far. Merging quads... Pass 6 of 16. Trying 773996 healpixes. ............................................................................... Made 770133 quads (out of 773996 healpixes) this pass. Made 4638357 quads so far. Merging quads... Pass 7 of 16. Trying 773996 healpixes. ............................................................................... Made 765417 quads (out of 773996 healpixes) this pass. Made 5403774 quads so far. Merging quads... Pass 8 of 16. Trying 773996 healpixes. ............................................................................... Made 757245 quads (out of 773996 healpixes) this pass. Made 6161019 quads so far. Merging quads... Pass 9 of 16. Trying 773996 healpixes. ............................................................................... Made 744142 quads (out of 773996 healpixes) this pass. Made 6905161 quads so far. Merging quads... Pass 10 of 16. Trying 773996 healpixes. ............................................................................... Made 725651 quads (out of 773996 healpixes) this pass. Made 7630812 quads so far. Merging quads... Pass 11 of 16. Trying 773996 healpixes. ............................................................................... Made 703154 quads (out of 773996 healpixes) this pass. Made 8333966 quads so far. Merging quads... Pass 12 of 16. Trying 773996 healpixes. ............................................................................... Made 677784 quads (out of 773996 healpixes) this pass. Made 9011750 quads so far. Merging quads... Pass 13 of 16. Trying 773996 healpixes. ............................................................................... Made 651154 quads (out of 773996 healpixes) this pass. Made 9662904 quads so far. Merging quads... Pass 14 of 16. Trying 773996 healpixes. ............................................................................... Made 624683 quads (out of 773996 healpixes) this pass. Made 10287587 quads so far. Merging quads... Pass 15 of 16. Trying 773996 healpixes. ............................................................................... Made 598608 quads (out of 773996 healpixes) this pass. Made 10886195 quads so far. Merging quads... Pass 16 of 16. Trying 773996 healpixes. ............................................................................... Made 573952 quads (out of 773996 healpixes) this pass. Made 11460147 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 923789 healpixes. ............................................................................... Made 343677 quads (out of 923789 healpixes) this pass. Loosening reuse maximum to 10... Trying 580112 healpixes. ............................................................................... Made 229498 quads (out of 580112 healpixes) this pass. Loosening reuse maximum to 11... Trying 350614 healpixes. ............................................................................... Made 152320 quads (out of 350614 healpixes) this pass. Loosening reuse maximum to 12... Trying 198294 healpixes. ............................................................................... Made 95386 quads (out of 198294 healpixes) this pass. Loosening reuse maximum to 13... Trying 102908 healpixes. ............................................................................... Made 53214 quads (out of 102908 healpixes) this pass. Loosening reuse maximum to 14... Trying 49694 healpixes. ............................................................................... Made 25765 quads (out of 49694 healpixes) this pass. Loosening reuse maximum to 15... Trying 23929 healpixes. ............................................................................... Made 11388 quads (out of 23929 healpixes) this pass. Loosening reuse maximum to 16... Trying 12541 healpixes. ............................................................................... Made 4761 quads (out of 12541 healpixes) this pass. Loosening reuse maximum to 17... Trying 7780 healpixes. ............................................................................... Made 1988 quads (out of 7780 healpixes) this pass. Loosening reuse maximum to 18... Trying 5792 healpixes. ............................................................................... Made 844 quads (out of 5792 healpixes) this pass. Loosening reuse maximum to 19... Trying 4948 healpixes. ............................................................................... Made 342 quads (out of 4948 healpixes) this pass. Loosening reuse maximum to 20... Trying 4606 healpixes. ............................................................................... Made 172 quads (out of 4606 healpixes) this pass. Writing quads... Used 1778.21 s user, 1.16807 s system (1779.38 s total), 3530.34 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.lzGzRl will write KD tree file /tmp/tmp.ckdt.DR4jJj Reading codes... Read 12379502 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.DR4jJj... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.Xfa87J and /tmp/tmp.quad.16GQZ2 to /tmp/tmp.skdt2.lt5HDg and /tmp/tmp.quad2.gkK6xd Reading star tree from /tmp/tmp.skdt.Xfa87J ... Reading quadfile from /tmp/tmp.quad.16GQZ2 ... Writing quadfile to /tmp/tmp.quad2.gkK6xd ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.lt5HDg ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.gkK6xd and /tmp/tmp.ckdt.DR4jJj to /tmp/tmp.quad3.ofQ2dg and /tmp/tmp.ckdt2.fbv4Se Reading code tree from /tmp/tmp.ckdt.DR4jJj ... Reading quads from /tmp/tmp.quad2.gkK6xd ... Writing quads to /tmp/tmp.quad3.ofQ2dg ... Writing code kdtree to /tmp/tmp.ckdt2.fbv4Se ... Merging /tmp/tmp.quad3.ofQ2dg and /tmp/tmp.ckdt2.fbv4Se and /tmp/tmp.skdt2.lt5HDg to index-130331000-36.fits Reading code tree from /tmp/tmp.ckdt2.fbv4Se ... Ok. Reading star tree from /tmp/tmp.skdt2.lt5HDg ... Ok. Reading quads from /tmp/tmp.quad3.ofQ2dg ... Ok.