Reading 2mass-hp15.fits... Got 12514574 stars Sweep 1: 771661 stars Sweep 2: 759685 stars Sweep 3: 732739 stars Sweep 4: 690100 stars Sweep 5: 637591 stars Sweep 6: 582095 stars Sweep 7: 529567 stars Sweep 8: 483336 stars Sweep 9: 443056 stars Sweep 10: 408495 stars Sweep 11: 378422 stars Sweep 12: 352005 stars Sweep 13: 327930 stars Sweep 14: 305974 stars Sweep 15: 285791 stars Sweep 16: 267017 stars Sweep 17: 249589 stars Sweep 18: 233592 stars Sweep 19: 218499 stars Sweep 20: 204138 stars Total: 8861282 stars Writing output... Reading star kdtree /tmp/tmp.skdt.UFJxth ... Will write to quad file /tmp/tmp.quad.3oLSFJ and code file /tmp/tmp.code.g6oeSb Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 8861282 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 8861282 input stars... Will check 771661 healpixes. Pass 1 of 16. Trying 771661 healpixes. ............................................................................... Made 770799 quads (out of 771661 healpixes) this pass. Made 770799 quads so far. Merging quads... Pass 2 of 16. Trying 771661 healpixes. ............................................................................... Made 770094 quads (out of 771661 healpixes) this pass. Made 1540893 quads so far. Merging quads... Pass 3 of 16. Trying 771661 healpixes. ............................................................................... Made 769244 quads (out of 771661 healpixes) this pass. Made 2310137 quads so far. Merging quads... Pass 4 of 16. Trying 771661 healpixes. ............................................................................... Made 765841 quads (out of 771661 healpixes) this pass. Made 3075978 quads so far. Merging quads... Pass 5 of 16. Trying 771661 healpixes. ............................................................................... Made 754853 quads (out of 771661 healpixes) this pass. Made 3830831 quads so far. Merging quads... Pass 6 of 16. Trying 771661 healpixes. ............................................................................... Made 734819 quads (out of 771661 healpixes) this pass. Made 4565650 quads so far. Merging quads... Pass 7 of 16. Trying 771661 healpixes. ............................................................................... Made 709944 quads (out of 771661 healpixes) this pass. Made 5275594 quads so far. Merging quads... Pass 8 of 16. Trying 771661 healpixes. ............................................................................... Made 681291 quads (out of 771661 healpixes) this pass. Made 5956885 quads so far. Merging quads... Pass 9 of 16. Trying 771661 healpixes. ............................................................................... Made 647617 quads (out of 771661 healpixes) this pass. Made 6604502 quads so far. Merging quads... Pass 10 of 16. Trying 771661 healpixes. ............................................................................... Made 612306 quads (out of 771661 healpixes) this pass. Made 7216808 quads so far. Merging quads... Pass 11 of 16. Trying 771661 healpixes. ............................................................................... Made 578184 quads (out of 771661 healpixes) this pass. Made 7794992 quads so far. Merging quads... Pass 12 of 16. Trying 771661 healpixes. ............................................................................... Made 547138 quads (out of 771661 healpixes) this pass. Made 8342130 quads so far. Merging quads... Pass 13 of 16. Trying 771661 healpixes. ............................................................................... Made 519277 quads (out of 771661 healpixes) this pass. Made 8861407 quads so far. Merging quads... Pass 14 of 16. Trying 771661 healpixes. ............................................................................... Made 493962 quads (out of 771661 healpixes) this pass. Made 9355369 quads so far. Merging quads... Pass 15 of 16. Trying 771661 healpixes. ............................................................................... Made 471641 quads (out of 771661 healpixes) this pass. Made 9827010 quads so far. Merging quads... Pass 16 of 16. Trying 771661 healpixes. ............................................................................... Made 451274 quads (out of 771661 healpixes) this pass. Made 10278284 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 2068292 healpixes. ............................................................................... Made 451295 quads (out of 2068292 healpixes) this pass. Loosening reuse maximum to 10... Trying 1616997 healpixes. ............................................................................... Made 360680 quads (out of 1616997 healpixes) this pass. Loosening reuse maximum to 11... Trying 1256317 healpixes. ............................................................................... Made 294432 quads (out of 1256317 healpixes) this pass. Loosening reuse maximum to 12... Trying 961885 healpixes. ............................................................................... Made 238537 quads (out of 961885 healpixes) this pass. Loosening reuse maximum to 13... Trying 723348 healpixes. ............................................................................... Made 188840 quads (out of 723348 healpixes) this pass. Loosening reuse maximum to 14... Trying 534508 healpixes. ............................................................................... Made 144911 quads (out of 534508 healpixes) this pass. Loosening reuse maximum to 15... Trying 389597 healpixes. ............................................................................... Made 107448 quads (out of 389597 healpixes) this pass. Loosening reuse maximum to 16... Trying 282149 healpixes. ............................................................................... Made 76168 quads (out of 282149 healpixes) this pass. Loosening reuse maximum to 17... Trying 205981 healpixes. ............................................................................... Made 50669 quads (out of 205981 healpixes) this pass. Loosening reuse maximum to 18... Trying 155312 healpixes. ............................................................................... Made 31330 quads (out of 155312 healpixes) this pass. Loosening reuse maximum to 19... Trying 123982 healpixes. ............................................................................... Made 17769 quads (out of 123982 healpixes) this pass. Loosening reuse maximum to 20... Trying 106213 healpixes. ............................................................................... Made 9543 quads (out of 106213 healpixes) this pass. Writing quads... Used 1329.02 s user, 0.720045 s system (1329.74 s total), 1950.13 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.g6oeSb will write KD tree file /tmp/tmp.ckdt.EjkiUN Reading codes... Read 12249906 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.EjkiUN... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.UFJxth and /tmp/tmp.quad.3oLSFJ to /tmp/tmp.skdt2.rt5LM0 and /tmp/tmp.quad2.YZHgFd Reading star tree from /tmp/tmp.skdt.UFJxth ... Reading quadfile from /tmp/tmp.quad.3oLSFJ ... Writing quadfile to /tmp/tmp.quad2.YZHgFd ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.rt5LM0 ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.YZHgFd and /tmp/tmp.ckdt.EjkiUN to /tmp/tmp.quad3.DgBvlL and /tmp/tmp.ckdt2.1XHnvZ Reading code tree from /tmp/tmp.ckdt.EjkiUN ... Reading quads from /tmp/tmp.quad2.YZHgFd ... Writing quads to /tmp/tmp.quad3.DgBvlL ... Writing code kdtree to /tmp/tmp.ckdt2.1XHnvZ ... Merging /tmp/tmp.quad3.DgBvlL and /tmp/tmp.ckdt2.1XHnvZ and /tmp/tmp.skdt2.rt5LM0 to index-130331000-15.fits Reading code tree from /tmp/tmp.ckdt2.1XHnvZ ... Ok. Reading star tree from /tmp/tmp.skdt2.rt5LM0 ... Ok. Reading quads from /tmp/tmp.quad3.DgBvlL ... Ok.