Reading 2mass-hp20.fits... Got 7135437 stars Sweep 1: 764286 stars Sweep 2: 730346 stars Sweep 3: 668192 stars Sweep 4: 588561 stars Sweep 5: 504964 stars Sweep 6: 427912 stars Sweep 7: 361212 stars Sweep 8: 305589 stars Sweep 9: 259751 stars Sweep 10: 221789 stars Sweep 11: 190243 stars Sweep 12: 163277 stars Sweep 13: 140544 stars Sweep 14: 121093 stars Sweep 15: 104603 stars Sweep 16: 90254 stars Sweep 17: 77833 stars Sweep 18: 66886 stars Sweep 19: 57063 stars Sweep 20: 48429 stars Total: 5892827 stars Writing output... Reading star kdtree /tmp/tmp.skdt.SBAhei ... Will write to quad file /tmp/tmp.quad.1nVfco and code file /tmp/tmp.code.4RHeau Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 5892827 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 5892827 input stars... Will check 764286 healpixes. Pass 1 of 16. Trying 764286 healpixes. ............................................................................... Made 757797 quads (out of 764286 healpixes) this pass. Made 757797 quads so far. Merging quads... Pass 2 of 16. Trying 764286 healpixes. ............................................................................... Made 752694 quads (out of 764286 healpixes) this pass. Made 1510491 quads so far. Merging quads... Pass 3 of 16. Trying 764286 healpixes. ............................................................................... Made 748289 quads (out of 764286 healpixes) this pass. Made 2258780 quads so far. Merging quads... Pass 4 of 16. Trying 764286 healpixes. ............................................................................... Made 734445 quads (out of 764286 healpixes) this pass. Made 2993225 quads so far. Merging quads... Pass 5 of 16. Trying 764286 healpixes. ............................................................................... Made 698603 quads (out of 764286 healpixes) this pass. Made 3691828 quads so far. Merging quads... Pass 6 of 16. Trying 764286 healpixes. ............................................................................... Made 648483 quads (out of 764286 healpixes) this pass. Made 4340311 quads so far. Merging quads... Pass 7 of 16. Trying 764286 healpixes. ............................................................................... Made 598439 quads (out of 764286 healpixes) this pass. Made 4938750 quads so far. Merging quads... Pass 8 of 16. Trying 764286 healpixes. ............................................................................... Made 549681 quads (out of 764286 healpixes) this pass. Made 5488431 quads so far. Merging quads... Pass 9 of 16. Trying 764286 healpixes. ............................................................................... Made 501284 quads (out of 764286 healpixes) this pass. Made 5989715 quads so far. Merging quads... Pass 10 of 16. Trying 764286 healpixes. ............................................................................... Made 455020 quads (out of 764286 healpixes) this pass. Made 6444735 quads so far. Merging quads... Pass 11 of 16. Trying 764286 healpixes. ............................................................................... Made 413351 quads (out of 764286 healpixes) this pass. Made 6858086 quads so far. Merging quads... Pass 12 of 16. Trying 764286 healpixes. ............................................................................... Made 376621 quads (out of 764286 healpixes) this pass. Made 7234707 quads so far. Merging quads... Pass 13 of 16. Trying 764286 healpixes. ............................................................................... Made 344577 quads (out of 764286 healpixes) this pass. Made 7579284 quads so far. Merging quads... Pass 14 of 16. Trying 764286 healpixes. ............................................................................... Made 316070 quads (out of 764286 healpixes) this pass. Made 7895354 quads so far. Merging quads... Pass 15 of 16. Trying 764286 healpixes. ............................................................................... Made 290358 quads (out of 764286 healpixes) this pass. Made 8185712 quads so far. Merging quads... Pass 16 of 16. Trying 764286 healpixes. ............................................................................... Made 267690 quads (out of 764286 healpixes) this pass. Made 8453402 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 3775174 healpixes. ............................................................................... Made 614780 quads (out of 3775174 healpixes) this pass. Loosening reuse maximum to 10... Trying 3160394 healpixes. ............................................................................... Made 509953 quads (out of 3160394 healpixes) this pass. Loosening reuse maximum to 11... Trying 2650441 healpixes. ............................................................................... Made 435043 quads (out of 2650441 healpixes) this pass. Loosening reuse maximum to 12... Trying 2215398 healpixes. ............................................................................... Made 371665 quads (out of 2215398 healpixes) this pass. Loosening reuse maximum to 13... Trying 1843733 healpixes. ............................................................................... Made 314506 quads (out of 1843733 healpixes) this pass. Loosening reuse maximum to 14... Trying 1529227 healpixes. ............................................................................... Made 262775 quads (out of 1529227 healpixes) this pass. Loosening reuse maximum to 15... Trying 1266452 healpixes. ............................................................................... Made 217129 quads (out of 1266452 healpixes) this pass. Loosening reuse maximum to 16... Trying 1049323 healpixes. ............................................................................... Made 174395 quads (out of 1049323 healpixes) this pass. Loosening reuse maximum to 17... Trying 874928 healpixes. ............................................................................... Made 134412 quads (out of 874928 healpixes) this pass. Loosening reuse maximum to 18... Trying 740516 healpixes. ............................................................................... Made 97917 quads (out of 740516 healpixes) this pass. Loosening reuse maximum to 19... Trying 642599 healpixes. ............................................................................... Made 66175 quads (out of 642599 healpixes) this pass. Loosening reuse maximum to 20... Trying 576424 healpixes. ............................................................................... Made 41533 quads (out of 576424 healpixes) this pass. Writing quads... Used 646.708 s user, 0.776048 s system (647.484 s total), 796.685 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.4RHeau will write KD tree file /tmp/tmp.ckdt.UIYoOd Reading codes... Read 11693685 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.UIYoOd... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.SBAhei and /tmp/tmp.quad.1nVfco to /tmp/tmp.skdt2.YbKxSJ and /tmp/tmp.quad2.0U9GWf Reading star tree from /tmp/tmp.skdt.SBAhei ... Reading quadfile from /tmp/tmp.quad.1nVfco ... Writing quadfile to /tmp/tmp.quad2.0U9GWf ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.YbKxSJ ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.0U9GWf and /tmp/tmp.ckdt.UIYoOd to /tmp/tmp.quad3.myBBRe and /tmp/tmp.ckdt2.FV58of Reading code tree from /tmp/tmp.ckdt.UIYoOd ... Reading quads from /tmp/tmp.quad2.0U9GWf ... Writing quads to /tmp/tmp.quad3.myBBRe ... Writing code kdtree to /tmp/tmp.ckdt2.FV58of ... Merging /tmp/tmp.quad3.myBBRe and /tmp/tmp.ckdt2.FV58of and /tmp/tmp.skdt2.YbKxSJ to index-130331000-20.fits Reading code tree from /tmp/tmp.ckdt2.FV58of ... Ok. Reading star tree from /tmp/tmp.skdt2.YbKxSJ ... Ok. Reading quads from /tmp/tmp.quad3.myBBRe ... Ok.