Reading 2mass-hp14.fits... Got 12479220 stars Sweep 1: 773061 stars Sweep 2: 766437 stars Sweep 3: 749548 stars Sweep 4: 719619 stars Sweep 5: 678981 stars Sweep 6: 631904 stars Sweep 7: 582873 stars Sweep 8: 535963 stars Sweep 9: 493154 stars Sweep 10: 454437 stars Sweep 11: 419776 stars Sweep 12: 388754 stars Sweep 13: 360931 stars Sweep 14: 335833 stars Sweep 15: 312786 stars Sweep 16: 290916 stars Sweep 17: 270614 stars Sweep 18: 251090 stars Sweep 19: 232440 stars Sweep 20: 214208 stars Total: 9463325 stars Writing output... Reading star kdtree /tmp/tmp.skdt.rH2dyH ... Will write to quad file /tmp/tmp.quad.Xp1xq3 and code file /tmp/tmp.code.DQCSip Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9463325 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9463325 input stars... Will check 773061 healpixes. Pass 1 of 16. Trying 773061 healpixes. ............................................................................... Made 772790 quads (out of 773061 healpixes) this pass. Made 772790 quads so far. Merging quads... Pass 2 of 16. Trying 773061 healpixes. ............................................................................... Made 772532 quads (out of 773061 healpixes) this pass. Made 1545322 quads so far. Merging quads... Pass 3 of 16. Trying 773061 healpixes. ............................................................................... Made 772231 quads (out of 773061 healpixes) this pass. Made 2317553 quads so far. Merging quads... Pass 4 of 16. Trying 773061 healpixes. ............................................................................... Made 770899 quads (out of 773061 healpixes) this pass. Made 3088452 quads so far. Merging quads... Pass 5 of 16. Trying 773061 healpixes. ............................................................................... Made 765717 quads (out of 773061 healpixes) this pass. Made 3854169 quads so far. Merging quads... Pass 6 of 16. Trying 773061 healpixes. ............................................................................... Made 754991 quads (out of 773061 healpixes) this pass. Made 4609160 quads so far. Merging quads... Pass 7 of 16. Trying 773061 healpixes. ............................................................................... Made 740438 quads (out of 773061 healpixes) this pass. Made 5349598 quads so far. Merging quads... Pass 8 of 16. Trying 773061 healpixes. ............................................................................... Made 721377 quads (out of 773061 healpixes) this pass. Made 6070975 quads so far. Merging quads... Pass 9 of 16. Trying 773061 healpixes. ............................................................................... Made 696640 quads (out of 773061 healpixes) this pass. Made 6767615 quads so far. Merging quads... Pass 10 of 16. Trying 773061 healpixes. ............................................................................... Made 667665 quads (out of 773061 healpixes) this pass. Made 7435280 quads so far. Merging quads... Pass 11 of 16. Trying 773061 healpixes. ............................................................................... Made 638216 quads (out of 773061 healpixes) this pass. Made 8073496 quads so far. Merging quads... Pass 12 of 16. Trying 773061 healpixes. ............................................................................... Made 609175 quads (out of 773061 healpixes) this pass. Made 8682671 quads so far. Merging quads... Pass 13 of 16. Trying 773061 healpixes. ............................................................................... Made 581861 quads (out of 773061 healpixes) this pass. Made 9264532 quads so far. Merging quads... Pass 14 of 16. Trying 773061 healpixes. ............................................................................... Made 555953 quads (out of 773061 healpixes) this pass. Made 9820485 quads so far. Merging quads... Pass 15 of 16. Trying 773061 healpixes. ............................................................................... Made 531554 quads (out of 773061 healpixes) this pass. Made 10352039 quads so far. Merging quads... Pass 16 of 16. Trying 773061 healpixes. ............................................................................... Made 508512 quads (out of 773061 healpixes) this pass. Made 10860551 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1508425 healpixes. ............................................................................... Made 404117 quads (out of 1508425 healpixes) this pass. Loosening reuse maximum to 10... Trying 1104308 healpixes. ............................................................................... Made 299431 quads (out of 1104308 healpixes) this pass. Loosening reuse maximum to 11... Trying 804877 healpixes. ............................................................................... Made 231617 quads (out of 804877 healpixes) this pass. Loosening reuse maximum to 12... Trying 573260 healpixes. ............................................................................... Made 178169 quads (out of 573260 healpixes) this pass. Loosening reuse maximum to 13... Trying 395091 healpixes. ............................................................................... Made 131385 quads (out of 395091 healpixes) this pass. Loosening reuse maximum to 14... Trying 263706 healpixes. ............................................................................... Made 92037 quads (out of 263706 healpixes) this pass. Loosening reuse maximum to 15... Trying 171669 healpixes. ............................................................................... Made 60760 quads (out of 171669 healpixes) this pass. Loosening reuse maximum to 16... Trying 110909 healpixes. ............................................................................... Made 36993 quads (out of 110909 healpixes) this pass. Loosening reuse maximum to 17... Trying 73916 healpixes. ............................................................................... Made 20595 quads (out of 73916 healpixes) this pass. Loosening reuse maximum to 18... Trying 53321 healpixes. ............................................................................... Made 10636 quads (out of 53321 healpixes) this pass. Loosening reuse maximum to 19... Trying 42685 healpixes. ............................................................................... Made 5110 quads (out of 42685 healpixes) this pass. Loosening reuse maximum to 20... Trying 37575 healpixes. ............................................................................... Made 2426 quads (out of 37575 healpixes) this pass. Writing quads... Used 1629.96 s user, 2.78017 s system (1632.74 s total), 3698.06 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.DQCSip will write KD tree file /tmp/tmp.ckdt.hYXs1e Reading codes... Read 12333827 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.hYXs1e... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.rH2dyH and /tmp/tmp.quad.Xp1xq3 to /tmp/tmp.skdt2.wPd0vW and /tmp/tmp.quad2.ikny0D Reading star tree from /tmp/tmp.skdt.rH2dyH ... Reading quadfile from /tmp/tmp.quad.Xp1xq3 ... Writing quadfile to /tmp/tmp.quad2.ikny0D ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.wPd0vW ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.ikny0D and /tmp/tmp.ckdt.hYXs1e to /tmp/tmp.quad3.wo6W2L and /tmp/tmp.ckdt2.pWoK1H Reading code tree from /tmp/tmp.ckdt.hYXs1e ... Reading quads from /tmp/tmp.quad2.ikny0D ... Writing quads to /tmp/tmp.quad3.wo6W2L ... Writing code kdtree to /tmp/tmp.ckdt2.pWoK1H ... Merging /tmp/tmp.quad3.wo6W2L and /tmp/tmp.ckdt2.pWoK1H and /tmp/tmp.skdt2.wPd0vW to index-130331000-14.fits Reading code tree from /tmp/tmp.ckdt2.pWoK1H ... Ok. Reading star tree from /tmp/tmp.skdt2.wPd0vW ... Ok. Reading quads from /tmp/tmp.quad3.wo6W2L ... Ok.