Reading 2mass-hp02.fits... Got 10643953 stars Sweep 1: 773968 stars Sweep 2: 771763 stars Sweep 3: 765439 stars Sweep 4: 752374 stars Sweep 5: 730607 stars Sweep 6: 699566 stars Sweep 7: 660122 stars Sweep 8: 614498 stars Sweep 9: 565170 stars Sweep 10: 513734 stars Sweep 11: 461385 stars Sweep 12: 410056 stars Sweep 13: 360615 stars Sweep 14: 313261 stars Sweep 15: 268587 stars Sweep 16: 227078 stars Sweep 17: 188975 stars Sweep 18: 154370 stars Sweep 19: 123497 stars Sweep 20: 96964 stars Total: 9452029 stars Writing output... Reading star kdtree /tmp/tmp.skdt.UOHkjf ... Will write to quad file /tmp/tmp.quad.N4VLus and code file /tmp/tmp.code.ihDdGF Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9452029 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9452029 input stars... Will check 773968 healpixes. Pass 1 of 16. Trying 773968 healpixes. ............................................................................... Made 773850 quads (out of 773968 healpixes) this pass. Made 773850 quads so far. Merging quads... Pass 2 of 16. Trying 773968 healpixes. ............................................................................... Made 773774 quads (out of 773968 healpixes) this pass. Made 1547624 quads so far. Merging quads... Pass 3 of 16. Trying 773968 healpixes. ............................................................................... Made 773705 quads (out of 773968 healpixes) this pass. Made 2321329 quads so far. Merging quads... Pass 4 of 16. Trying 773968 healpixes. ............................................................................... Made 773398 quads (out of 773968 healpixes) this pass. Made 3094727 quads so far. Merging quads... Pass 5 of 16. Trying 773968 healpixes. ............................................................................... Made 772350 quads (out of 773968 healpixes) this pass. Made 3867077 quads so far. Merging quads... Pass 6 of 16. Trying 773968 healpixes. ............................................................................... Made 770102 quads (out of 773968 healpixes) this pass. Made 4637179 quads so far. Merging quads... Pass 7 of 16. Trying 773968 healpixes. ............................................................................... Made 766442 quads (out of 773968 healpixes) this pass. Made 5403621 quads so far. Merging quads... Pass 8 of 16. Trying 773968 healpixes. ............................................................................... Made 760805 quads (out of 773968 healpixes) this pass. Made 6164426 quads so far. Merging quads... Pass 9 of 16. Trying 773968 healpixes. ............................................................................... Made 751828 quads (out of 773968 healpixes) this pass. Made 6916254 quads so far. Merging quads... Pass 10 of 16. Trying 773968 healpixes. ............................................................................... Made 739119 quads (out of 773968 healpixes) this pass. Made 7655373 quads so far. Merging quads... Pass 11 of 16. Trying 773968 healpixes. ............................................................................... Made 722794 quads (out of 773968 healpixes) this pass. Made 8378167 quads so far. Merging quads... Pass 12 of 16. Trying 773968 healpixes. ............................................................................... Made 703769 quads (out of 773968 healpixes) this pass. Made 9081936 quads so far. Merging quads... Pass 13 of 16. Trying 773968 healpixes. ............................................................................... Made 682253 quads (out of 773968 healpixes) this pass. Made 9764189 quads so far. Merging quads... Pass 14 of 16. Trying 773968 healpixes. ............................................................................... Made 657832 quads (out of 773968 healpixes) this pass. Made 10422021 quads so far. Merging quads... Pass 15 of 16. Trying 773968 healpixes. ............................................................................... Made 632040 quads (out of 773968 healpixes) this pass. Made 11054061 quads so far. Merging quads... Pass 16 of 16. Trying 773968 healpixes. ............................................................................... Made 605057 quads (out of 773968 healpixes) this pass. Made 11659118 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 724370 healpixes. ............................................................................... Made 302084 quads (out of 724370 healpixes) this pass. Loosening reuse maximum to 10... Trying 422286 healpixes. ............................................................................... Made 173007 quads (out of 422286 healpixes) this pass. Loosening reuse maximum to 11... Trying 249279 healpixes. ............................................................................... Made 103085 quads (out of 249279 healpixes) this pass. Loosening reuse maximum to 12... Trying 146194 healpixes. ............................................................................... Made 61151 quads (out of 146194 healpixes) this pass. Loosening reuse maximum to 13... Trying 85043 healpixes. ............................................................................... Made 35527 quads (out of 85043 healpixes) this pass. Loosening reuse maximum to 14... Trying 49516 healpixes. ............................................................................... Made 19737 quads (out of 49516 healpixes) this pass. Loosening reuse maximum to 15... Trying 29779 healpixes. ............................................................................... Made 10475 quads (out of 29779 healpixes) this pass. Loosening reuse maximum to 16... Trying 19304 healpixes. ............................................................................... Made 5280 quads (out of 19304 healpixes) this pass. Loosening reuse maximum to 17... Trying 14024 healpixes. ............................................................................... Made 2648 quads (out of 14024 healpixes) this pass. Loosening reuse maximum to 18... Trying 11376 healpixes. ............................................................................... Made 1332 quads (out of 11376 healpixes) this pass. Loosening reuse maximum to 19... Trying 10044 healpixes. ............................................................................... Made 654 quads (out of 10044 healpixes) this pass. Loosening reuse maximum to 20... Trying 9390 healpixes. ............................................................................... Made 316 quads (out of 9390 healpixes) this pass. Writing quads... Used 1021.14 s user, 1.48809 s system (1022.63 s total), 1752.66 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.ihDdGF will write KD tree file /tmp/tmp.ckdt.E64W6t Reading codes... Read 12374414 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.E64W6t... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.UOHkjf and /tmp/tmp.quad.N4VLus to /tmp/tmp.skdt2.NnQEqa and /tmp/tmp.quad2.0QgnKQ Reading star tree from /tmp/tmp.skdt.UOHkjf ... Reading quadfile from /tmp/tmp.quad.N4VLus ... Writing quadfile to /tmp/tmp.quad2.0QgnKQ ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.NnQEqa ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.0QgnKQ and /tmp/tmp.ckdt.E64W6t to /tmp/tmp.quad3.znj4LY and /tmp/tmp.ckdt2.uNvdLU Reading code tree from /tmp/tmp.ckdt.E64W6t ... Reading quads from /tmp/tmp.quad2.0QgnKQ ... Writing quads to /tmp/tmp.quad3.znj4LY ... Writing code kdtree to /tmp/tmp.ckdt2.uNvdLU ... Merging /tmp/tmp.quad3.znj4LY and /tmp/tmp.ckdt2.uNvdLU and /tmp/tmp.skdt2.NnQEqa to index-130331000-02.fits Reading code tree from /tmp/tmp.ckdt2.uNvdLU ... Ok. Reading star tree from /tmp/tmp.skdt2.NnQEqa ... Ok. Reading quads from /tmp/tmp.quad3.znj4LY ... Ok.