Reading 2mass-hp28.fits... Got 43782417 stars Sweep 1: 774372 stars Sweep 2: 774350 stars Sweep 3: 774312 stars Sweep 4: 774241 stars Sweep 5: 774083 stars Sweep 6: 773824 stars Sweep 7: 773288 stars Sweep 8: 772484 stars Sweep 9: 771199 stars Sweep 10: 769249 stars Sweep 11: 766688 stars Sweep 12: 763236 stars Sweep 13: 758829 stars Sweep 14: 753660 stars Sweep 15: 747455 stars Sweep 16: 740364 stars Sweep 17: 732352 stars Sweep 18: 723659 stars Sweep 19: 714402 stars Sweep 20: 704619 stars Total: 15136666 stars Writing output... Reading star kdtree /tmp/tmp.skdt.fpFM9i ... Will write to quad file /tmp/tmp.quad.8TGnm1 and code file /tmp/tmp.code.OJgZyJ Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 15136666 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 15136666 input stars... Will check 774372 healpixes. Pass 1 of 16. Trying 774372 healpixes. ............................................................................... Made 774366 quads (out of 774372 healpixes) this pass. Made 774366 quads so far. Merging quads... Pass 2 of 16. Trying 774372 healpixes. ............................................................................... Made 774366 quads (out of 774372 healpixes) this pass. Made 1548732 quads so far. Merging quads... Pass 3 of 16. Trying 774372 healpixes. ............................................................................... Made 774366 quads (out of 774372 healpixes) this pass. Made 2323098 quads so far. Merging quads... Pass 4 of 16. Trying 774372 healpixes. ............................................................................... Made 774366 quads (out of 774372 healpixes) this pass. Made 3097464 quads so far. Merging quads... Pass 5 of 16. Trying 774372 healpixes. ............................................................................... Made 774357 quads (out of 774372 healpixes) this pass. Made 3871821 quads so far. Merging quads... Pass 6 of 16. Trying 774372 healpixes. ............................................................................... Made 774353 quads (out of 774372 healpixes) this pass. Made 4646174 quads so far. Merging quads... Pass 7 of 16. Trying 774372 healpixes. ............................................................................... Made 774342 quads (out of 774372 healpixes) this pass. Made 5420516 quads so far. Merging quads... Pass 8 of 16. Trying 774372 healpixes. ............................................................................... Made 774333 quads (out of 774372 healpixes) this pass. Made 6194849 quads so far. Merging quads... Pass 9 of 16. Trying 774372 healpixes. ............................................................................... Made 774316 quads (out of 774372 healpixes) this pass. Made 6969165 quads so far. Merging quads... Pass 10 of 16. Trying 774372 healpixes. ............................................................................... Made 774299 quads (out of 774372 healpixes) this pass. Made 7743464 quads so far. Merging quads... Pass 11 of 16. Trying 774372 healpixes. ............................................................................... Made 774277 quads (out of 774372 healpixes) this pass. Made 8517741 quads so far. Merging quads... Pass 12 of 16. Trying 774372 healpixes. ............................................................................... Made 774229 quads (out of 774372 healpixes) this pass. Made 9291970 quads so far. Merging quads... Pass 13 of 16. Trying 774372 healpixes. ............................................................................... Made 774176 quads (out of 774372 healpixes) this pass. Made 10066146 quads so far. Merging quads... Pass 14 of 16. Trying 774372 healpixes. ............................................................................... Made 774086 quads (out of 774372 healpixes) this pass. Made 10840232 quads so far. Merging quads... Pass 15 of 16. Trying 774372 healpixes. ............................................................................... Made 773963 quads (out of 774372 healpixes) this pass. Made 11614195 quads so far. Merging quads... Pass 16 of 16. Trying 774372 healpixes. ............................................................................... Made 773788 quads (out of 774372 healpixes) this pass. Made 12387983 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1969 healpixes. ............................................................................... Made 1209 quads (out of 1969 healpixes) this pass. Loosening reuse maximum to 10... Trying 760 healpixes. ............................................................................... Made 297 quads (out of 760 healpixes) this pass. Loosening reuse maximum to 11... Trying 463 healpixes. ............................................................................... Made 139 quads (out of 463 healpixes) this pass. Loosening reuse maximum to 12... Trying 324 healpixes. ............................................................................... Made 81 quads (out of 324 healpixes) this pass. Loosening reuse maximum to 13... Trying 243 healpixes. ............................................................................... Made 52 quads (out of 243 healpixes) this pass. Loosening reuse maximum to 14... Trying 191 healpixes. ............................................................................... Made 28 quads (out of 191 healpixes) this pass. Loosening reuse maximum to 15... Trying 163 healpixes. ............................................................................... Made 22 quads (out of 163 healpixes) this pass. Loosening reuse maximum to 16... Trying 141 healpixes. ............................................................................... Made 12 quads (out of 141 healpixes) this pass. Loosening reuse maximum to 17... Trying 129 healpixes. ............................................................................... Made 5 quads (out of 129 healpixes) this pass. Loosening reuse maximum to 18... Trying 124 healpixes. ............................................................................... Made 5 quads (out of 124 healpixes) this pass. Loosening reuse maximum to 19... Trying 119 healpixes. ............................................................................... Made 3 quads (out of 119 healpixes) this pass. Loosening reuse maximum to 20... Trying 116 healpixes. ............................................................................... Made 2 quads (out of 116 healpixes) this pass. Writing quads... Used 3476.07 s user, 0.980062 s system (3477.05 s total), 5171.29 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.OJgZyJ will write KD tree file /tmp/tmp.ckdt.EXDWAa Reading codes... Read 12389838 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.EXDWAa... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.fpFM9i and /tmp/tmp.quad.8TGnm1 to /tmp/tmp.skdt2.bMU2Ue and /tmp/tmp.quad2.XVD9ej Reading star tree from /tmp/tmp.skdt.fpFM9i ... Reading quadfile from /tmp/tmp.quad.8TGnm1 ... Writing quadfile to /tmp/tmp.quad2.XVD9ej ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.bMU2Ue ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.XVD9ej and /tmp/tmp.ckdt.EXDWAa to /tmp/tmp.quad3.gM42pz and /tmp/tmp.ckdt2.Bg6AkW Reading code tree from /tmp/tmp.ckdt.EXDWAa ... Reading quads from /tmp/tmp.quad2.XVD9ej ... Writing quads to /tmp/tmp.quad3.gM42pz ... Writing code kdtree to /tmp/tmp.ckdt2.Bg6AkW ... Merging /tmp/tmp.quad3.gM42pz and /tmp/tmp.ckdt2.Bg6AkW and /tmp/tmp.skdt2.bMU2Ue to index-130331000-28.fits Reading code tree from /tmp/tmp.ckdt2.Bg6AkW ... Ok. Reading star tree from /tmp/tmp.skdt2.bMU2Ue ... Ok. Reading quads from /tmp/tmp.quad3.gM42pz ... Ok.