Reading 2mass-hp17.fits... Got 2586887 stars Sweep 1: 717359 stars Sweep 2: 581005 stars Sweep 3: 407875 stars Sweep 4: 253062 stars Sweep 5: 141607 stars Sweep 6: 72513 stars Sweep 7: 34816 stars Sweep 8: 15626 stars Sweep 9: 6710 stars Sweep 10: 2688 stars Sweep 11: 1062 stars Sweep 12: 401 stars Sweep 13: 184 stars Sweep 14: 87 stars Sweep 15: 51 stars Sweep 16: 35 stars Sweep 17: 29 stars Sweep 18: 25 stars Sweep 19: 21 stars Sweep 20: 19 stars Total: 2235175 stars Writing output... Reading star kdtree /tmp/tmp.skdt.KVF3F1 ... Will write to quad file /tmp/tmp.quad.RQbQBJ and code file /tmp/tmp.code.Ph4Cxr Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2235175 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2235175 input stars... Will check 717359 healpixes. Pass 1 of 16. Trying 717359 healpixes. ............................................................................... Made 653633 quads (out of 717359 healpixes) this pass. Made 653633 quads so far. Merging quads... Pass 2 of 16. Trying 717359 healpixes. ............................................................................... Made 617156 quads (out of 717359 healpixes) this pass. Made 1270789 quads so far. Merging quads... Pass 3 of 16. Trying 717359 healpixes. ............................................................................... Made 591425 quads (out of 717359 healpixes) this pass. Made 1862214 quads so far. Merging quads... Pass 4 of 16. Trying 717359 healpixes. ............................................................................... Made 531107 quads (out of 717359 healpixes) this pass. Made 2393321 quads so far. Merging quads... Pass 5 of 16. Trying 717359 healpixes. ............................................................................... Made 420770 quads (out of 717359 healpixes) this pass. Made 2814091 quads so far. Merging quads... Pass 6 of 16. Trying 717359 healpixes. ............................................................................... Made 300858 quads (out of 717359 healpixes) this pass. Made 3114949 quads so far. Merging quads... Pass 7 of 16. Trying 717359 healpixes. ............................................................................... Made 207643 quads (out of 717359 healpixes) this pass. Made 3322592 quads so far. Merging quads... Pass 8 of 16. Trying 717359 healpixes. ............................................................................... Made 139593 quads (out of 717359 healpixes) this pass. Made 3462185 quads so far. Merging quads... Pass 9 of 16. Trying 717359 healpixes. ............................................................................... Made 90164 quads (out of 717359 healpixes) this pass. Made 3552349 quads so far. Merging quads... Pass 10 of 16. Trying 717359 healpixes. ............................................................................... Made 55158 quads (out of 717359 healpixes) this pass. Made 3607507 quads so far. Merging quads... Pass 11 of 16. Trying 717359 healpixes. ............................................................................... Made 32385 quads (out of 717359 healpixes) this pass. Made 3639892 quads so far. Merging quads... Pass 12 of 16. Trying 717359 healpixes. ............................................................................... Made 18315 quads (out of 717359 healpixes) this pass. Made 3658207 quads so far. Merging quads... Pass 13 of 16. Trying 717359 healpixes. ............................................................................... Made 10113 quads (out of 717359 healpixes) this pass. Made 3668320 quads so far. Merging quads... Pass 14 of 16. Trying 717359 healpixes. ............................................................................... Made 5434 quads (out of 717359 healpixes) this pass. Made 3673754 quads so far. Merging quads... Pass 15 of 16. Trying 717359 healpixes. ............................................................................... Made 2819 quads (out of 717359 healpixes) this pass. Made 3676573 quads so far. Merging quads... Pass 16 of 16. Trying 717359 healpixes. ............................................................................... Made 1427 quads (out of 717359 healpixes) this pass. Made 3678000 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 7799744 healpixes. ............................................................................... Made 521058 quads (out of 7799744 healpixes) this pass. Loosening reuse maximum to 10... Trying 7278686 healpixes. ............................................................................... Made 505053 quads (out of 7278686 healpixes) this pass. Loosening reuse maximum to 11... Trying 6773633 healpixes. ............................................................................... Made 490351 quads (out of 6773633 healpixes) this pass. Loosening reuse maximum to 12... Trying 6283282 healpixes. ............................................................................... Made 474497 quads (out of 6283282 healpixes) this pass. Loosening reuse maximum to 13... Trying 5808785 healpixes. ............................................................................... Made 454353 quads (out of 5808785 healpixes) this pass. Loosening reuse maximum to 14... Trying 5354432 healpixes. ............................................................................... Made 426954 quads (out of 5354432 healpixes) this pass. Loosening reuse maximum to 15... Trying 4927478 healpixes. ............................................................................... Made 391495 quads (out of 4927478 healpixes) this pass. Loosening reuse maximum to 16... Trying 4535983 healpixes. ............................................................................... Made 348581 quads (out of 4535983 healpixes) this pass. Loosening reuse maximum to 17... Trying 4187402 healpixes. ............................................................................... Made 298926 quads (out of 4187402 healpixes) this pass. Loosening reuse maximum to 18... Trying 3888476 healpixes. ............................................................................... Made 243232 quads (out of 3888476 healpixes) this pass. Loosening reuse maximum to 19... Trying 3645244 healpixes. ............................................................................... Made 186152 quads (out of 3645244 healpixes) this pass. Loosening reuse maximum to 20... Trying 3459092 healpixes. ............................................................................... Made 133473 quads (out of 3459092 healpixes) this pass. Writing quads... Used 805.01 s user, 0.548035 s system (805.558 s total), 1852.87 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.Ph4Cxr will write KD tree file /tmp/tmp.ckdt.273DpC Reading codes... Read 8152125 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.273DpC... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.KVF3F1 and /tmp/tmp.quad.RQbQBJ to /tmp/tmp.skdt2.lNrPtq and /tmp/tmp.quad2.6XA1xe Reading star tree from /tmp/tmp.skdt.KVF3F1 ... Reading quadfile from /tmp/tmp.quad.RQbQBJ ... Writing quadfile to /tmp/tmp.quad2.6XA1xe ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.lNrPtq ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.6XA1xe and /tmp/tmp.ckdt.273DpC to /tmp/tmp.quad3.W6wzJD and /tmp/tmp.ckdt2.hebN8q Reading code tree from /tmp/tmp.ckdt.273DpC ... Reading quads from /tmp/tmp.quad2.6XA1xe ... Writing quads to /tmp/tmp.quad3.W6wzJD ... Writing code kdtree to /tmp/tmp.ckdt2.hebN8q ... Merging /tmp/tmp.quad3.W6wzJD and /tmp/tmp.ckdt2.hebN8q and /tmp/tmp.skdt2.lNrPtq to index-130331000-17.fits Reading code tree from /tmp/tmp.ckdt2.hebN8q ... Ok. Reading star tree from /tmp/tmp.skdt2.lNrPtq ... Ok. Reading quads from /tmp/tmp.quad3.W6wzJD ... Ok.