Reading 2mass-hp18.fits... Got 1478784 stars Sweep 1: 623501 stars Sweep 2: 380305 stars Sweep 3: 181764 stars Sweep 4: 71204 stars Sweep 5: 23753 stars Sweep 6: 7198 stars Sweep 7: 2123 stars Sweep 8: 600 stars Sweep 9: 225 stars Sweep 10: 99 stars Sweep 11: 63 stars Sweep 12: 48 stars Sweep 13: 38 stars Sweep 14: 28 stars Sweep 15: 23 stars Sweep 16: 22 stars Sweep 17: 16 stars Sweep 18: 15 stars Sweep 19: 15 stars Sweep 20: 13 stars Total: 1291053 stars Writing output... Reading star kdtree /tmp/tmp.skdt.JvL21f ... Will write to quad file /tmp/tmp.quad.gcDMVp and code file /tmp/tmp.code.4TVwPz Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1291053 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1291053 input stars... Will check 623500 healpixes. Pass 1 of 16. Trying 623500 healpixes. ............................................................................... Made 414765 quads (out of 623500 healpixes) this pass. Made 414765 quads so far. Merging quads... Pass 2 of 16. Trying 623500 healpixes. ............................................................................... Made 333950 quads (out of 623500 healpixes) this pass. Made 748715 quads so far. Merging quads... Pass 3 of 16. Trying 623500 healpixes. ............................................................................... Made 292630 quads (out of 623500 healpixes) this pass. Made 1041345 quads so far. Merging quads... Pass 4 of 16. Trying 623500 healpixes. ............................................................................... Made 227697 quads (out of 623500 healpixes) this pass. Made 1269042 quads so far. Merging quads... Pass 5 of 16. Trying 623500 healpixes. ............................................................................... Made 147836 quads (out of 623500 healpixes) this pass. Made 1416878 quads so far. Merging quads... Pass 6 of 16. Trying 623500 healpixes. ............................................................................... Made 84742 quads (out of 623500 healpixes) this pass. Made 1501620 quads so far. Merging quads... Pass 7 of 16. Trying 623500 healpixes. ............................................................................... Made 45609 quads (out of 623500 healpixes) this pass. Made 1547229 quads so far. Merging quads... Pass 8 of 16. Trying 623500 healpixes. ............................................................................... Made 23763 quads (out of 623500 healpixes) this pass. Made 1570992 quads so far. Merging quads... Pass 9 of 16. Trying 623500 healpixes. ............................................................................... Made 12110 quads (out of 623500 healpixes) this pass. Made 1583102 quads so far. Merging quads... Pass 10 of 16. Trying 623500 healpixes. ............................................................................... Made 5886 quads (out of 623500 healpixes) this pass. Made 1588988 quads so far. Merging quads... Pass 11 of 16. Trying 623500 healpixes. ............................................................................... Made 2851 quads (out of 623500 healpixes) this pass. Made 1591839 quads so far. Merging quads... Pass 12 of 16. Trying 623500 healpixes. ............................................................................... Made 1337 quads (out of 623500 healpixes) this pass. Made 1593176 quads so far. Merging quads... Pass 13 of 16. Trying 623500 healpixes. ............................................................................... Made 609 quads (out of 623500 healpixes) this pass. Made 1593785 quads so far. Merging quads... Pass 14 of 16. Trying 623500 healpixes. ............................................................................... Made 286 quads (out of 623500 healpixes) this pass. Made 1594071 quads so far. Merging quads... Pass 15 of 16. Trying 623500 healpixes. ............................................................................... Made 146 quads (out of 623500 healpixes) this pass. Made 1594217 quads so far. Merging quads... Pass 16 of 16. Trying 623500 healpixes. ............................................................................... Made 79 quads (out of 623500 healpixes) this pass. Made 1594296 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8381704 healpixes. ............................................................................... Made 191755 quads (out of 8381704 healpixes) this pass. Loosening reuse maximum to 10... Trying 8189949 healpixes. ............................................................................... Made 179746 quads (out of 8189949 healpixes) this pass. Loosening reuse maximum to 11... Trying 8010203 healpixes. ............................................................................... Made 168578 quads (out of 8010203 healpixes) this pass. Loosening reuse maximum to 12... Trying 7841625 healpixes. ............................................................................... Made 158389 quads (out of 7841625 healpixes) this pass. Loosening reuse maximum to 13... Trying 7683236 healpixes. ............................................................................... Made 148501 quads (out of 7683236 healpixes) this pass. Loosening reuse maximum to 14... Trying 7534735 healpixes. ............................................................................... Made 138140 quads (out of 7534735 healpixes) this pass. Loosening reuse maximum to 15... Trying 7396595 healpixes. ............................................................................... Made 127574 quads (out of 7396595 healpixes) this pass. Loosening reuse maximum to 16... Trying 7269021 healpixes. ............................................................................... Made 116118 quads (out of 7269021 healpixes) this pass. Loosening reuse maximum to 17... Trying 7152903 healpixes. ............................................................................... Made 103380 quads (out of 7152903 healpixes) this pass. Loosening reuse maximum to 18... Trying 7049523 healpixes. ............................................................................... Made 89774 quads (out of 7049523 healpixes) this pass. Loosening reuse maximum to 19... Trying 6959749 healpixes. ............................................................................... Made 75281 quads (out of 6959749 healpixes) this pass. Loosening reuse maximum to 20... Trying 6884468 healpixes. ............................................................................... Made 60520 quads (out of 6884468 healpixes) this pass. Writing quads... Used 875.231 s user, 0.308019 s system (875.539 s total), 882.747 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.4TVwPz will write KD tree file /tmp/tmp.ckdt.9iqyBp Reading codes... Read 3152052 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.9iqyBp... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.JvL21f and /tmp/tmp.quad.gcDMVp to /tmp/tmp.skdt2.hASI9K and /tmp/tmp.quad2.uqWTH6 Reading star tree from /tmp/tmp.skdt.JvL21f ... Reading quadfile from /tmp/tmp.quad.gcDMVp ... Writing quadfile to /tmp/tmp.quad2.uqWTH6 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.hASI9K ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.uqWTH6 and /tmp/tmp.ckdt.9iqyBp to /tmp/tmp.quad3.LNcWs0 and /tmp/tmp.ckdt2.7PMpAy Reading code tree from /tmp/tmp.ckdt.9iqyBp ... Reading quads from /tmp/tmp.quad2.uqWTH6 ... Writing quads to /tmp/tmp.quad3.LNcWs0 ... Writing code kdtree to /tmp/tmp.ckdt2.7PMpAy ... Merging /tmp/tmp.quad3.LNcWs0 and /tmp/tmp.ckdt2.7PMpAy and /tmp/tmp.skdt2.hASI9K to index-130331000-18.fits Reading code tree from /tmp/tmp.ckdt2.7PMpAy ... Ok. Reading star tree from /tmp/tmp.skdt2.hASI9K ... Ok. Reading quads from /tmp/tmp.quad3.LNcWs0 ... Ok.