Reading 2mass-hp34.fits... Got 2342593 stars Sweep 1: 705654 stars Sweep 2: 549565 stars Sweep 3: 365392 stars Sweep 4: 212868 stars Sweep 5: 112320 stars Sweep 6: 55391 stars Sweep 7: 26472 stars Sweep 8: 12789 stars Sweep 9: 6466 stars Sweep 10: 3518 stars Sweep 11: 2012 stars Sweep 12: 1145 stars Sweep 13: 617 stars Sweep 14: 360 stars Sweep 15: 207 stars Sweep 16: 115 stars Sweep 17: 60 stars Sweep 18: 31 stars Sweep 19: 22 stars Sweep 20: 16 stars Total: 2055020 stars Writing output... Reading star kdtree /tmp/tmp.skdt.CFfsOV ... Will write to quad file /tmp/tmp.quad.NJbJpK and code file /tmp/tmp.code.MCE00y Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2055020 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2055020 input stars... Will check 705654 healpixes. Pass 1 of 16. Trying 705654 healpixes. ............................................................................... Made 623946 quads (out of 705654 healpixes) this pass. Made 623946 quads so far. Merging quads... Pass 2 of 16. Trying 705654 healpixes. ............................................................................... Made 579433 quads (out of 705654 healpixes) this pass. Made 1203379 quads so far. Merging quads... Pass 3 of 16. Trying 705654 healpixes. ............................................................................... Made 548780 quads (out of 705654 healpixes) this pass. Made 1752159 quads so far. Merging quads... Pass 4 of 16. Trying 705654 healpixes. ............................................................................... Made 481653 quads (out of 705654 healpixes) this pass. Made 2233812 quads so far. Merging quads... Pass 5 of 16. Trying 705654 healpixes. ............................................................................... Made 367788 quads (out of 705654 healpixes) this pass. Made 2601600 quads so far. Merging quads... Pass 6 of 16. Trying 705654 healpixes. ............................................................................... Made 249541 quads (out of 705654 healpixes) this pass. Made 2851141 quads so far. Merging quads... Pass 7 of 16. Trying 705654 healpixes. ............................................................................... Made 161800 quads (out of 705654 healpixes) this pass. Made 3012941 quads so far. Merging quads... Pass 8 of 16. Trying 705654 healpixes. ............................................................................... Made 102309 quads (out of 705654 healpixes) this pass. Made 3115250 quads so far. Merging quads... Pass 9 of 16. Trying 705654 healpixes. ............................................................................... Made 62939 quads (out of 705654 healpixes) this pass. Made 3178189 quads so far. Merging quads... Pass 10 of 16. Trying 705654 healpixes. ............................................................................... Made 38572 quads (out of 705654 healpixes) this pass. Made 3216761 quads so far. Merging quads... Pass 11 of 16. Trying 705654 healpixes. ............................................................................... Made 23825 quads (out of 705654 healpixes) this pass. Made 3240586 quads so far. Merging quads... Pass 12 of 16. Trying 705654 healpixes. ............................................................................... Made 15347 quads (out of 705654 healpixes) this pass. Made 3255933 quads so far. Merging quads... Pass 13 of 16. Trying 705654 healpixes. ............................................................................... Made 10458 quads (out of 705654 healpixes) this pass. Made 3266391 quads so far. Merging quads... Pass 14 of 16. Trying 705654 healpixes. ............................................................................... Made 7495 quads (out of 705654 healpixes) this pass. Made 3273886 quads so far. Merging quads... Pass 15 of 16. Trying 705654 healpixes. ............................................................................... Made 5522 quads (out of 705654 healpixes) this pass. Made 3279408 quads so far. Merging quads... Pass 16 of 16. Trying 705654 healpixes. ............................................................................... Made 4074 quads (out of 705654 healpixes) this pass. Made 3283482 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8006982 healpixes. ............................................................................... Made 456505 quads (out of 8006982 healpixes) this pass. Loosening reuse maximum to 10... Trying 7550477 healpixes. ............................................................................... Made 436859 quads (out of 7550477 healpixes) this pass. Loosening reuse maximum to 11... Trying 7113618 healpixes. ............................................................................... Made 421094 quads (out of 7113618 healpixes) this pass. Loosening reuse maximum to 12... Trying 6692524 healpixes. ............................................................................... Made 407209 quads (out of 6692524 healpixes) this pass. Loosening reuse maximum to 13... Trying 6285315 healpixes. ............................................................................... Made 393934 quads (out of 6285315 healpixes) this pass. Loosening reuse maximum to 14... Trying 5891381 healpixes. ............................................................................... Made 377824 quads (out of 5891381 healpixes) this pass. Loosening reuse maximum to 15... Trying 5513557 healpixes. ............................................................................... Made 356895 quads (out of 5513557 healpixes) this pass. Loosening reuse maximum to 16... Trying 5156662 healpixes. ............................................................................... Made 327745 quads (out of 5156662 healpixes) this pass. Loosening reuse maximum to 17... Trying 4828917 healpixes. ............................................................................... Made 288587 quads (out of 4828917 healpixes) this pass. Loosening reuse maximum to 18... Trying 4540330 healpixes. ............................................................................... Made 240678 quads (out of 4540330 healpixes) this pass. Loosening reuse maximum to 19... Trying 4299652 healpixes. ............................................................................... Made 188456 quads (out of 4299652 healpixes) this pass. Loosening reuse maximum to 20... Trying 4111196 healpixes. ............................................................................... Made 138358 quads (out of 4111196 healpixes) this pass. Writing quads... Used 828.84 s user, 0.976061 s system (829.816 s total), 1680.74 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.MCE00y will write KD tree file /tmp/tmp.ckdt.OOgqTL Reading codes... Read 7317626 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.OOgqTL... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.CFfsOV and /tmp/tmp.quad.NJbJpK to /tmp/tmp.skdt2.ISQRhr and /tmp/tmp.quad2.dJ3jG6 Reading star tree from /tmp/tmp.skdt.CFfsOV ... Reading quadfile from /tmp/tmp.quad.NJbJpK ... Writing quadfile to /tmp/tmp.quad2.dJ3jG6 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.ISQRhr ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.dJ3jG6 and /tmp/tmp.ckdt.OOgqTL to /tmp/tmp.quad3.Bds7cN and /tmp/tmp.ckdt2.HntIWW Reading code tree from /tmp/tmp.ckdt.OOgqTL ... Reading quads from /tmp/tmp.quad2.dJ3jG6 ... Writing quads to /tmp/tmp.quad3.Bds7cN ... Writing code kdtree to /tmp/tmp.ckdt2.HntIWW ... Merging /tmp/tmp.quad3.Bds7cN and /tmp/tmp.ckdt2.HntIWW and /tmp/tmp.skdt2.ISQRhr to index-130331000-34.fits Reading code tree from /tmp/tmp.ckdt2.HntIWW ... Ok. Reading star tree from /tmp/tmp.skdt2.ISQRhr ... Ok. Reading quads from /tmp/tmp.quad3.Bds7cN ... Ok.