Reading 2mass-hp04.fits... Got 2392777 stars Sweep 1: 701870 stars Sweep 2: 544862 stars Sweep 3: 365034 stars Sweep 4: 218091 stars Sweep 5: 118840 stars Sweep 6: 61169 stars Sweep 7: 29900 stars Sweep 8: 14024 stars Sweep 9: 6358 stars Sweep 10: 2804 stars Sweep 11: 1133 stars Sweep 12: 472 stars Sweep 13: 193 stars Sweep 14: 90 stars Sweep 15: 45 stars Sweep 16: 30 stars Sweep 17: 22 stars Sweep 18: 16 stars Sweep 19: 14 stars Sweep 20: 12 stars Total: 2064979 stars Writing output... Reading star kdtree /tmp/tmp.skdt.JpBMPY ... Will write to quad file /tmp/tmp.quad.o5zbql and code file /tmp/tmp.code.auXA0H Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2064979 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2064979 input stars... Will check 701870 healpixes. Pass 1 of 16. Trying 701870 healpixes. ............................................................................... Made 613411 quads (out of 701870 healpixes) this pass. Made 613411 quads so far. Merging quads... Pass 2 of 16. Trying 701870 healpixes. ............................................................................... Made 567598 quads (out of 701870 healpixes) this pass. Made 1181009 quads so far. Merging quads... Pass 3 of 16. Trying 701870 healpixes. ............................................................................... Made 537709 quads (out of 701870 healpixes) this pass. Made 1718718 quads so far. Merging quads... Pass 4 of 16. Trying 701870 healpixes. ............................................................................... Made 474615 quads (out of 701870 healpixes) this pass. Made 2193333 quads so far. Merging quads... Pass 5 of 16. Trying 701870 healpixes. ............................................................................... Made 367504 quads (out of 701870 healpixes) this pass. Made 2560837 quads so far. Merging quads... Pass 6 of 16. Trying 701870 healpixes. ............................................................................... Made 257395 quads (out of 701870 healpixes) this pass. Made 2818232 quads so far. Merging quads... Pass 7 of 16. Trying 701870 healpixes. ............................................................................... Made 174962 quads (out of 701870 healpixes) this pass. Made 2993194 quads so far. Merging quads... Pass 8 of 16. Trying 701870 healpixes. ............................................................................... Made 117808 quads (out of 701870 healpixes) this pass. Made 3111002 quads so far. Merging quads... Pass 9 of 16. Trying 701870 healpixes. ............................................................................... Made 76987 quads (out of 701870 healpixes) this pass. Made 3187989 quads so far. Merging quads... Pass 10 of 16. Trying 701870 healpixes. ............................................................................... Made 48637 quads (out of 701870 healpixes) this pass. Made 3236626 quads so far. Merging quads... Pass 11 of 16. Trying 701870 healpixes. ............................................................................... Made 29820 quads (out of 701870 healpixes) this pass. Made 3266446 quads so far. Merging quads... Pass 12 of 16. Trying 701870 healpixes. ............................................................................... Made 17824 quads (out of 701870 healpixes) this pass. Made 3284270 quads so far. Merging quads... Pass 13 of 16. Trying 701870 healpixes. ............................................................................... Made 10312 quads (out of 701870 healpixes) this pass. Made 3294582 quads so far. Merging quads... Pass 14 of 16. Trying 701870 healpixes. ............................................................................... Made 5896 quads (out of 701870 healpixes) this pass. Made 3300478 quads so far. Merging quads... Pass 15 of 16. Trying 701870 healpixes. ............................................................................... Made 3288 quads (out of 701870 healpixes) this pass. Made 3303766 quads so far. Merging quads... Pass 16 of 16. Trying 701870 healpixes. ............................................................................... Made 1779 quads (out of 701870 healpixes) this pass. Made 3305545 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 7924375 healpixes. ............................................................................... Made 460813 quads (out of 7924375 healpixes) this pass. Loosening reuse maximum to 10... Trying 7463562 healpixes. ............................................................................... Made 444056 quads (out of 7463562 healpixes) this pass. Loosening reuse maximum to 11... Trying 7019506 healpixes. ............................................................................... Made 427532 quads (out of 7019506 healpixes) this pass. Loosening reuse maximum to 12... Trying 6591974 healpixes. ............................................................................... Made 409379 quads (out of 6591974 healpixes) this pass. Loosening reuse maximum to 13... Trying 6182595 healpixes. ............................................................................... Made 388406 quads (out of 6182595 healpixes) this pass. Loosening reuse maximum to 14... Trying 5794189 healpixes. ............................................................................... Made 364266 quads (out of 5794189 healpixes) this pass. Loosening reuse maximum to 15... Trying 5429923 healpixes. ............................................................................... Made 335647 quads (out of 5429923 healpixes) this pass. Loosening reuse maximum to 16... Trying 5094276 healpixes. ............................................................................... Made 301669 quads (out of 5094276 healpixes) this pass. Loosening reuse maximum to 17... Trying 4792607 healpixes. ............................................................................... Made 261181 quads (out of 4792607 healpixes) this pass. Loosening reuse maximum to 18... Trying 4531426 healpixes. ............................................................................... Made 215493 quads (out of 4531426 healpixes) this pass. Loosening reuse maximum to 19... Trying 4315933 healpixes. ............................................................................... Made 167269 quads (out of 4315933 healpixes) this pass. Loosening reuse maximum to 20... Trying 4148664 healpixes. ............................................................................... Made 122291 quads (out of 4148664 healpixes) this pass. Writing quads... Used 824.672 s user, 0.500031 s system (825.172 s total), 1116.52 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.auXA0H will write KD tree file /tmp/tmp.ckdt.NhpYVq Reading codes... Read 7203547 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.NhpYVq... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.JpBMPY and /tmp/tmp.quad.o5zbql to /tmp/tmp.skdt2.KclGAN and /tmp/tmp.quad2.lyJofa Reading star tree from /tmp/tmp.skdt.JpBMPY ... Reading quadfile from /tmp/tmp.quad.o5zbql ... Writing quadfile to /tmp/tmp.quad2.lyJofa ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.KclGAN ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.lyJofa and /tmp/tmp.ckdt.NhpYVq to /tmp/tmp.quad3.mVyzGr and /tmp/tmp.ckdt2.gjSYXN Reading code tree from /tmp/tmp.ckdt.NhpYVq ... Reading quads from /tmp/tmp.quad2.lyJofa ... Writing quads to /tmp/tmp.quad3.mVyzGr ... Writing code kdtree to /tmp/tmp.ckdt2.gjSYXN ... Merging /tmp/tmp.quad3.mVyzGr and /tmp/tmp.ckdt2.gjSYXN and /tmp/tmp.skdt2.KclGAN to index-130331000-04.fits Reading code tree from /tmp/tmp.ckdt2.gjSYXN ... Ok. Reading star tree from /tmp/tmp.skdt2.KclGAN ... Ok. Reading quads from /tmp/tmp.quad3.mVyzGr ... Ok.