Reading 2mass-hp29.fits... Got 6249918 stars Sweep 1: 766053 stars Sweep 2: 734699 stars Sweep 3: 674160 stars Sweep 4: 591601 stars Sweep 5: 501489 stars Sweep 6: 415817 stars Sweep 7: 340538 stars Sweep 8: 276665 stars Sweep 9: 223768 stars Sweep 10: 180002 stars Sweep 11: 143536 stars Sweep 12: 113333 stars Sweep 13: 88710 stars Sweep 14: 68777 stars Sweep 15: 52970 stars Sweep 16: 40499 stars Sweep 17: 30778 stars Sweep 18: 22878 stars Sweep 19: 16992 stars Sweep 20: 12514 stars Total: 5295779 stars Writing output... Reading star kdtree /tmp/tmp.skdt.TXl6xx ... Will write to quad file /tmp/tmp.quad.aBjt3U and code file /tmp/tmp.code.p2SQyi Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 5295779 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 5295779 input stars... Will check 766053 healpixes. Pass 1 of 16. Trying 766053 healpixes. ............................................................................... Made 761666 quads (out of 766053 healpixes) this pass. Made 761666 quads so far. Merging quads... Pass 2 of 16. Trying 766053 healpixes. ............................................................................... Made 757999 quads (out of 766053 healpixes) this pass. Made 1519665 quads so far. Merging quads... Pass 3 of 16. Trying 766053 healpixes. ............................................................................... Made 754509 quads (out of 766053 healpixes) this pass. Made 2274174 quads so far. Merging quads... Pass 4 of 16. Trying 766053 healpixes. ............................................................................... Made 742504 quads (out of 766053 healpixes) this pass. Made 3016678 quads so far. Merging quads... Pass 5 of 16. Trying 766053 healpixes. ............................................................................... Made 709385 quads (out of 766053 healpixes) this pass. Made 3726063 quads so far. Merging quads... Pass 6 of 16. Trying 766053 healpixes. ............................................................................... Made 659322 quads (out of 766053 healpixes) this pass. Made 4385385 quads so far. Merging quads... Pass 7 of 16. Trying 766053 healpixes. ............................................................................... Made 605713 quads (out of 766053 healpixes) this pass. Made 4991098 quads so far. Merging quads... Pass 8 of 16. Trying 766053 healpixes. ............................................................................... Made 553172 quads (out of 766053 healpixes) this pass. Made 5544270 quads so far. Merging quads... Pass 9 of 16. Trying 766053 healpixes. ............................................................................... Made 499853 quads (out of 766053 healpixes) this pass. Made 6044123 quads so far. Merging quads... Pass 10 of 16. Trying 766053 healpixes. ............................................................................... Made 448320 quads (out of 766053 healpixes) this pass. Made 6492443 quads so far. Merging quads... Pass 11 of 16. Trying 766053 healpixes. ............................................................................... Made 401552 quads (out of 766053 healpixes) this pass. Made 6893995 quads so far. Merging quads... Pass 12 of 16. Trying 766053 healpixes. ............................................................................... Made 360278 quads (out of 766053 healpixes) this pass. Made 7254273 quads so far. Merging quads... Pass 13 of 16. Trying 766053 healpixes. ............................................................................... Made 323629 quads (out of 766053 healpixes) this pass. Made 7577902 quads so far. Merging quads... Pass 14 of 16. Trying 766053 healpixes. ............................................................................... Made 290527 quads (out of 766053 healpixes) this pass. Made 7868429 quads so far. Merging quads... Pass 15 of 16. Trying 766053 healpixes. ............................................................................... Made 260321 quads (out of 766053 healpixes) this pass. Made 8128750 quads so far. Merging quads... Pass 16 of 16. Trying 766053 healpixes. ............................................................................... Made 232880 quads (out of 766053 healpixes) this pass. Made 8361630 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 3895218 healpixes. ............................................................................... Made 683406 quads (out of 3895218 healpixes) this pass. Loosening reuse maximum to 10... Trying 3211812 healpixes. ............................................................................... Made 558897 quads (out of 3211812 healpixes) this pass. Loosening reuse maximum to 11... Trying 2652915 healpixes. ............................................................................... Made 469168 quads (out of 2652915 healpixes) this pass. Loosening reuse maximum to 12... Trying 2183747 healpixes. ............................................................................... Made 396242 quads (out of 2183747 healpixes) this pass. Loosening reuse maximum to 13... Trying 1787505 healpixes. ............................................................................... Made 336383 quads (out of 1787505 healpixes) this pass. Loosening reuse maximum to 14... Trying 1451122 healpixes. ............................................................................... Made 284092 quads (out of 1451122 healpixes) this pass. Loosening reuse maximum to 15... Trying 1167030 healpixes. ............................................................................... Made 234880 quads (out of 1167030 healpixes) this pass. Loosening reuse maximum to 16... Trying 932150 healpixes. ............................................................................... Made 186260 quads (out of 932150 healpixes) this pass. Loosening reuse maximum to 17... Trying 745890 healpixes. ............................................................................... Made 138793 quads (out of 745890 healpixes) this pass. Loosening reuse maximum to 18... Trying 607097 healpixes. ............................................................................... Made 95774 quads (out of 607097 healpixes) this pass. Loosening reuse maximum to 19... Trying 511323 healpixes. ............................................................................... Made 60865 quads (out of 511323 healpixes) this pass. Loosening reuse maximum to 20... Trying 450458 healpixes. ............................................................................... Made 35708 quads (out of 450458 healpixes) this pass. Writing quads... Used 625.807 s user, 0.768048 s system (626.575 s total), 1282.99 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.p2SQyi will write KD tree file /tmp/tmp.ckdt.61keXM Reading codes... Read 11842098 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.61keXM... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.TXl6xx and /tmp/tmp.quad.aBjt3U to /tmp/tmp.skdt2.XgCDk0 and /tmp/tmp.quad2.DnD3Hd Reading star tree from /tmp/tmp.skdt.TXl6xx ... Reading quadfile from /tmp/tmp.quad.aBjt3U ... Writing quadfile to /tmp/tmp.quad2.DnD3Hd ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.XgCDk0 ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.DnD3Hd and /tmp/tmp.ckdt.61keXM to /tmp/tmp.quad3.KQAIZl and /tmp/tmp.ckdt2.zXNSQh Reading code tree from /tmp/tmp.ckdt.61keXM ... Reading quads from /tmp/tmp.quad2.DnD3Hd ... Writing quads to /tmp/tmp.quad3.KQAIZl ... Writing code kdtree to /tmp/tmp.ckdt2.zXNSQh ... Merging /tmp/tmp.quad3.KQAIZl and /tmp/tmp.ckdt2.zXNSQh and /tmp/tmp.skdt2.XgCDk0 to index-130331000-29.fits Reading code tree from /tmp/tmp.ckdt2.zXNSQh ... Ok. Reading star tree from /tmp/tmp.skdt2.XgCDk0 ... Ok. Reading quads from /tmp/tmp.quad3.KQAIZl ... Ok.