Reading 2mass-hp43.fits... Got 5421683 stars Sweep 1: 761520 stars Sweep 2: 718181 stars Sweep 3: 641209 stars Sweep 4: 544920 stars Sweep 5: 446320 stars Sweep 6: 357394 stars Sweep 7: 281435 stars Sweep 8: 218963 stars Sweep 9: 168524 stars Sweep 10: 128353 stars Sweep 11: 96242 stars Sweep 12: 70709 stars Sweep 13: 51213 stars Sweep 14: 36177 stars Sweep 15: 25186 stars Sweep 16: 17269 stars Sweep 17: 11535 stars Sweep 18: 7600 stars Sweep 19: 4934 stars Sweep 20: 3119 stars Total: 4590803 stars Writing output... Reading star kdtree /tmp/tmp.skdt.m6sG6U ... Will write to quad file /tmp/tmp.quad.JpjEpP and code file /tmp/tmp.code.wfFCIJ Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 4590803 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 4590803 input stars... Will check 761520 healpixes. Pass 1 of 16. Trying 761520 healpixes. ............................................................................... Made 752699 quads (out of 761520 healpixes) this pass. Made 752699 quads so far. Merging quads... Pass 2 of 16. Trying 761520 healpixes. ............................................................................... Made 745893 quads (out of 761520 healpixes) this pass. Made 1498592 quads so far. Merging quads... Pass 3 of 16. Trying 761520 healpixes. ............................................................................... Made 739881 quads (out of 761520 healpixes) this pass. Made 2238473 quads so far. Merging quads... Pass 4 of 16. Trying 761520 healpixes. ............................................................................... Made 721198 quads (out of 761520 healpixes) this pass. Made 2959671 quads so far. Merging quads... Pass 5 of 16. Trying 761520 healpixes. ............................................................................... Made 675265 quads (out of 761520 healpixes) this pass. Made 3634936 quads so far. Merging quads... Pass 6 of 16. Trying 761520 healpixes. ............................................................................... Made 612852 quads (out of 761520 healpixes) this pass. Made 4247788 quads so far. Merging quads... Pass 7 of 16. Trying 761520 healpixes. ............................................................................... Made 552242 quads (out of 761520 healpixes) this pass. Made 4800030 quads so far. Merging quads... Pass 8 of 16. Trying 761520 healpixes. ............................................................................... Made 495211 quads (out of 761520 healpixes) this pass. Made 5295241 quads so far. Merging quads... Pass 9 of 16. Trying 761520 healpixes. ............................................................................... Made 440075 quads (out of 761520 healpixes) this pass. Made 5735316 quads so far. Merging quads... Pass 10 of 16. Trying 761520 healpixes. ............................................................................... Made 387595 quads (out of 761520 healpixes) this pass. Made 6122911 quads so far. Merging quads... Pass 11 of 16. Trying 761520 healpixes. ............................................................................... Made 340745 quads (out of 761520 healpixes) this pass. Made 6463656 quads so far. Merging quads... Pass 12 of 16. Trying 761520 healpixes. ............................................................................... Made 299395 quads (out of 761520 healpixes) this pass. Made 6763051 quads so far. Merging quads... Pass 13 of 16. Trying 761520 healpixes. ............................................................................... Made 262648 quads (out of 761520 healpixes) this pass. Made 7025699 quads so far. Merging quads... Pass 14 of 16. Trying 761520 healpixes. ............................................................................... Made 229129 quads (out of 761520 healpixes) this pass. Made 7254828 quads so far. Merging quads... Pass 15 of 16. Trying 761520 healpixes. ............................................................................... Made 199257 quads (out of 761520 healpixes) this pass. Made 7454085 quads so far. Merging quads... Pass 16 of 16. Trying 761520 healpixes. ............................................................................... Made 172309 quads (out of 761520 healpixes) this pass. Made 7626394 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 4557926 healpixes. ............................................................................... Made 719317 quads (out of 4557926 healpixes) this pass. Loosening reuse maximum to 10... Trying 3838609 healpixes. ............................................................................... Made 593064 quads (out of 3838609 healpixes) this pass. Loosening reuse maximum to 11... Trying 3245545 healpixes. ............................................................................... Made 501031 quads (out of 3245545 healpixes) this pass. Loosening reuse maximum to 12... Trying 2744514 healpixes. ............................................................................... Made 429652 quads (out of 2744514 healpixes) this pass. Loosening reuse maximum to 13... Trying 2314862 healpixes. ............................................................................... Made 369276 quads (out of 2314862 healpixes) this pass. Loosening reuse maximum to 14... Trying 1945586 healpixes. ............................................................................... Made 314061 quads (out of 1945586 healpixes) this pass. Loosening reuse maximum to 15... Trying 1631525 healpixes. ............................................................................... Made 263321 quads (out of 1631525 healpixes) this pass. Loosening reuse maximum to 16... Trying 1368204 healpixes. ............................................................................... Made 214159 quads (out of 1368204 healpixes) this pass. Loosening reuse maximum to 17... Trying 1154045 healpixes. ............................................................................... Made 167801 quads (out of 1154045 healpixes) this pass. Loosening reuse maximum to 18... Trying 986244 healpixes. ............................................................................... Made 123760 quads (out of 986244 healpixes) this pass. Loosening reuse maximum to 19... Trying 862484 healpixes. ............................................................................... Made 85185 quads (out of 862484 healpixes) this pass. Loosening reuse maximum to 20... Trying 777299 healpixes. ............................................................................... Made 54595 quads (out of 777299 healpixes) this pass. Writing quads... Used 578.252 s user, 0.896056 s system (579.148 s total), 580.955 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.wfFCIJ will write KD tree file /tmp/tmp.ckdt.C9OSHE Reading codes... Read 11461616 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.C9OSHE... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.m6sG6U and /tmp/tmp.quad.JpjEpP to /tmp/tmp.skdt2.V6THdV and /tmp/tmp.quad2.1kHxJb Reading star tree from /tmp/tmp.skdt.m6sG6U ... Reading quadfile from /tmp/tmp.quad.JpjEpP ... Writing quadfile to /tmp/tmp.quad2.1kHxJb ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.V6THdV ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.1kHxJb and /tmp/tmp.ckdt.C9OSHE to /tmp/tmp.quad3.cHQnuB and /tmp/tmp.ckdt2.dpsXBT Reading code tree from /tmp/tmp.ckdt.C9OSHE ... Reading quads from /tmp/tmp.quad2.1kHxJb ... Writing quads to /tmp/tmp.quad3.cHQnuB ... Writing code kdtree to /tmp/tmp.ckdt2.dpsXBT ... Merging /tmp/tmp.quad3.cHQnuB and /tmp/tmp.ckdt2.dpsXBT and /tmp/tmp.skdt2.V6THdV to index-130331000-43.fits Reading code tree from /tmp/tmp.ckdt2.dpsXBT ... Ok. Reading star tree from /tmp/tmp.skdt2.V6THdV ... Ok. Reading quads from /tmp/tmp.quad3.cHQnuB ... Ok.