Reading 2mass-hp39.fits... Got 9041486 stars Sweep 1: 768546 stars Sweep 2: 745946 stars Sweep 3: 700686 stars Sweep 4: 637557 stars Sweep 5: 567369 stars Sweep 6: 499196 stars Sweep 7: 438650 stars Sweep 8: 387160 stars Sweep 9: 344171 stars Sweep 10: 307727 stars Sweep 11: 276785 stars Sweep 12: 249251 stars Sweep 13: 224562 stars Sweep 14: 202292 stars Sweep 15: 181881 stars Sweep 16: 162775 stars Sweep 17: 145153 stars Sweep 18: 128666 stars Sweep 19: 113227 stars Sweep 20: 98868 stars Total: 7180468 stars Writing output... Reading star kdtree /tmp/tmp.skdt.i5CDAt ... Will write to quad file /tmp/tmp.quad.dIwz89 and code file /tmp/tmp.code.SJTvGQ Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 7180468 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 7180468 input stars... Will check 768546 healpixes. Pass 1 of 16. Trying 768546 healpixes. ............................................................................... Made 765700 quads (out of 768546 healpixes) this pass. Made 765700 quads so far. Merging quads... Pass 2 of 16. Trying 768546 healpixes. ............................................................................... Made 763272 quads (out of 768546 healpixes) this pass. Made 1528972 quads so far. Merging quads... Pass 3 of 16. Trying 768546 healpixes. ............................................................................... Made 760922 quads (out of 768546 healpixes) this pass. Made 2289894 quads so far. Merging quads... Pass 4 of 16. Trying 768546 healpixes. ............................................................................... Made 752609 quads (out of 768546 healpixes) this pass. Made 3042503 quads so far. Merging quads... Pass 5 of 16. Trying 768546 healpixes. ............................................................................... Made 728644 quads (out of 768546 healpixes) this pass. Made 3771147 quads so far. Merging quads... Pass 6 of 16. Trying 768546 healpixes. ............................................................................... Made 691323 quads (out of 768546 healpixes) this pass. Made 4462470 quads so far. Merging quads... Pass 7 of 16. Trying 768546 healpixes. ............................................................................... Made 651415 quads (out of 768546 healpixes) this pass. Made 5113885 quads so far. Merging quads... Pass 8 of 16. Trying 768546 healpixes. ............................................................................... Made 610378 quads (out of 768546 healpixes) this pass. Made 5724263 quads so far. Merging quads... Pass 9 of 16. Trying 768546 healpixes. ............................................................................... Made 567296 quads (out of 768546 healpixes) this pass. Made 6291559 quads so far. Merging quads... Pass 10 of 16. Trying 768546 healpixes. ............................................................................... Made 525285 quads (out of 768546 healpixes) this pass. Made 6816844 quads so far. Merging quads... Pass 11 of 16. Trying 768546 healpixes. ............................................................................... Made 487544 quads (out of 768546 healpixes) this pass. Made 7304388 quads so far. Merging quads... Pass 12 of 16. Trying 768546 healpixes. ............................................................................... Made 454451 quads (out of 768546 healpixes) this pass. Made 7758839 quads so far. Merging quads... Pass 13 of 16. Trying 768546 healpixes. ............................................................................... Made 424853 quads (out of 768546 healpixes) this pass. Made 8183692 quads so far. Merging quads... Pass 14 of 16. Trying 768546 healpixes. ............................................................................... Made 398158 quads (out of 768546 healpixes) this pass. Made 8581850 quads so far. Merging quads... Pass 15 of 16. Trying 768546 healpixes. ............................................................................... Made 374027 quads (out of 768546 healpixes) this pass. Made 8955877 quads so far. Merging quads... Pass 16 of 16. Trying 768546 healpixes. ............................................................................... Made 352146 quads (out of 768546 healpixes) this pass. Made 9308023 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 2988713 healpixes. ............................................................................... Made 542078 quads (out of 2988713 healpixes) this pass. Loosening reuse maximum to 10... Trying 2446635 healpixes. ............................................................................... Made 440352 quads (out of 2446635 healpixes) this pass. Loosening reuse maximum to 11... Trying 2006283 healpixes. ............................................................................... Made 369196 quads (out of 2006283 healpixes) this pass. Loosening reuse maximum to 12... Trying 1637087 healpixes. ............................................................................... Made 314337 quads (out of 1637087 healpixes) this pass. Loosening reuse maximum to 13... Trying 1322750 healpixes. ............................................................................... Made 266555 quads (out of 1322750 healpixes) this pass. Loosening reuse maximum to 14... Trying 1056195 healpixes. ............................................................................... Made 222206 quads (out of 1056195 healpixes) this pass. Loosening reuse maximum to 15... Trying 833989 healpixes. ............................................................................... Made 178970 quads (out of 833989 healpixes) this pass. Loosening reuse maximum to 16... Trying 655019 healpixes. ............................................................................... Made 137811 quads (out of 655019 healpixes) this pass. Loosening reuse maximum to 17... Trying 517208 healpixes. ............................................................................... Made 100451 quads (out of 517208 healpixes) this pass. Loosening reuse maximum to 18... Trying 416757 healpixes. ............................................................................... Made 68389 quads (out of 416757 healpixes) this pass. Loosening reuse maximum to 19... Trying 348368 healpixes. ............................................................................... Made 43046 quads (out of 348368 healpixes) this pass. Loosening reuse maximum to 20... Trying 305322 healpixes. ............................................................................... Made 25237 quads (out of 305322 healpixes) this pass. Writing quads... Used 1104.17 s user, 1.04007 s system (1105.21 s total), 1108.79 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.SJTvGQ will write KD tree file /tmp/tmp.ckdt.w3CYAr Reading codes... Read 12016651 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.w3CYAr... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.i5CDAt and /tmp/tmp.quad.dIwz89 to /tmp/tmp.skdt2.fsLNPw and /tmp/tmp.quad2.q8tD4B Reading star tree from /tmp/tmp.skdt.i5CDAt ... Reading quadfile from /tmp/tmp.quad.dIwz89 ... Writing quadfile to /tmp/tmp.quad2.q8tD4B ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.fsLNPw ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.q8tD4B and /tmp/tmp.ckdt.w3CYAr to /tmp/tmp.quad3.CsZcR7 and /tmp/tmp.ckdt2.npWUXm Reading code tree from /tmp/tmp.ckdt.w3CYAr ... Reading quads from /tmp/tmp.quad2.q8tD4B ... Writing quads to /tmp/tmp.quad3.CsZcR7 ... Writing code kdtree to /tmp/tmp.ckdt2.npWUXm ... Merging /tmp/tmp.quad3.CsZcR7 and /tmp/tmp.ckdt2.npWUXm and /tmp/tmp.skdt2.fsLNPw to index-130331000-39.fits Reading code tree from /tmp/tmp.ckdt2.npWUXm ... Ok. Reading star tree from /tmp/tmp.skdt2.fsLNPw ... Ok. Reading quads from /tmp/tmp.quad3.CsZcR7 ... Ok.