Reading 2mass-hp12.fits... Got 14787815 stars Sweep 1: 773296 stars Sweep 2: 767620 stars Sweep 3: 752323 stars Sweep 4: 724923 stars Sweep 5: 686012 stars Sweep 6: 639370 stars Sweep 7: 589885 stars Sweep 8: 541578 stars Sweep 9: 497184 stars Sweep 10: 457336 stars Sweep 11: 422624 stars Sweep 12: 392713 stars Sweep 13: 365985 stars Sweep 14: 341804 stars Sweep 15: 320181 stars Sweep 16: 300205 stars Sweep 17: 281779 stars Sweep 18: 264620 stars Sweep 19: 248382 stars Sweep 20: 233042 stars Total: 9600862 stars Writing output... Reading star kdtree /tmp/tmp.skdt.0LHKuR ... Will write to quad file /tmp/tmp.quad.7lV1EZ and code file /tmp/tmp.code.z8DjP7 Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9600862 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9600862 input stars... Will check 773296 healpixes. Pass 1 of 16. Trying 773296 healpixes. ............................................................................... Made 773094 quads (out of 773296 healpixes) this pass. Made 773094 quads so far. Merging quads... Pass 2 of 16. Trying 773296 healpixes. ............................................................................... Made 772891 quads (out of 773296 healpixes) this pass. Made 1545985 quads so far. Merging quads... Pass 3 of 16. Trying 773296 healpixes. ............................................................................... Made 772656 quads (out of 773296 healpixes) this pass. Made 2318641 quads so far. Merging quads... Pass 4 of 16. Trying 773296 healpixes. ............................................................................... Made 771630 quads (out of 773296 healpixes) this pass. Made 3090271 quads so far. Merging quads... Pass 5 of 16. Trying 773296 healpixes. ............................................................................... Made 767639 quads (out of 773296 healpixes) this pass. Made 3857910 quads so far. Merging quads... Pass 6 of 16. Trying 773296 healpixes. ............................................................................... Made 758908 quads (out of 773296 healpixes) this pass. Made 4616818 quads so far. Merging quads... Pass 7 of 16. Trying 773296 healpixes. ............................................................................... Made 746745 quads (out of 773296 healpixes) this pass. Made 5363563 quads so far. Merging quads... Pass 8 of 16. Trying 773296 healpixes. ............................................................................... Made 729912 quads (out of 773296 healpixes) this pass. Made 6093475 quads so far. Merging quads... Pass 9 of 16. Trying 773296 healpixes. ............................................................................... Made 707238 quads (out of 773296 healpixes) this pass. Made 6800713 quads so far. Merging quads... Pass 10 of 16. Trying 773296 healpixes. ............................................................................... Made 679644 quads (out of 773296 healpixes) this pass. Made 7480357 quads so far. Merging quads... Pass 11 of 16. Trying 773296 healpixes. ............................................................................... Made 649856 quads (out of 773296 healpixes) this pass. Made 8130213 quads so far. Merging quads... Pass 12 of 16. Trying 773296 healpixes. ............................................................................... Made 619335 quads (out of 773296 healpixes) this pass. Made 8749548 quads so far. Merging quads... Pass 13 of 16. Trying 773296 healpixes. ............................................................................... Made 589315 quads (out of 773296 healpixes) this pass. Made 9338863 quads so far. Merging quads... Pass 14 of 16. Trying 773296 healpixes. ............................................................................... Made 560638 quads (out of 773296 healpixes) this pass. Made 9899501 quads so far. Merging quads... Pass 15 of 16. Trying 773296 healpixes. ............................................................................... Made 533711 quads (out of 773296 healpixes) this pass. Made 10433212 quads so far. Merging quads... Pass 16 of 16. Trying 773296 healpixes. ............................................................................... Made 508379 quads (out of 773296 healpixes) this pass. Made 10941591 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1431145 healpixes. ............................................................................... Made 420513 quads (out of 1431145 healpixes) this pass. Loosening reuse maximum to 10... Trying 1010632 healpixes. ............................................................................... Made 304858 quads (out of 1010632 healpixes) this pass. Loosening reuse maximum to 11... Trying 705774 healpixes. ............................................................................... Made 224178 quads (out of 705774 healpixes) this pass. Loosening reuse maximum to 12... Trying 481596 healpixes. ............................................................................... Made 162182 quads (out of 481596 healpixes) this pass. Loosening reuse maximum to 13... Trying 319414 healpixes. ............................................................................... Made 112813 quads (out of 319414 healpixes) this pass. Loosening reuse maximum to 14... Trying 206601 healpixes. ............................................................................... Made 74923 quads (out of 206601 healpixes) this pass. Loosening reuse maximum to 15... Trying 131678 healpixes. ............................................................................... Made 47670 quads (out of 131678 healpixes) this pass. Loosening reuse maximum to 16... Trying 84008 healpixes. ............................................................................... Made 28283 quads (out of 84008 healpixes) this pass. Loosening reuse maximum to 17... Trying 55725 healpixes. ............................................................................... Made 15449 quads (out of 55725 healpixes) this pass. Loosening reuse maximum to 18... Trying 40276 healpixes. ............................................................................... Made 7601 quads (out of 40276 healpixes) this pass. Loosening reuse maximum to 19... Trying 32675 healpixes. ............................................................................... Made 3599 quads (out of 32675 healpixes) this pass. Loosening reuse maximum to 20... Trying 29076 healpixes. ............................................................................... Made 1628 quads (out of 29076 healpixes) this pass. Writing quads... Used 2367.3 s user, 0.96006 s system (2368.26 s total), 2381.82 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.z8DjP7 will write KD tree file /tmp/tmp.ckdt.QOtKBG Reading codes... Read 12345288 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.QOtKBG... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.0LHKuR and /tmp/tmp.quad.7lV1EZ to /tmp/tmp.skdt2.st8ZNH and /tmp/tmp.quad2.hyog0I Reading star tree from /tmp/tmp.skdt.0LHKuR ... Reading quadfile from /tmp/tmp.quad.7lV1EZ ... Writing quadfile to /tmp/tmp.quad2.hyog0I ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.st8ZNH ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.hyog0I and /tmp/tmp.ckdt.QOtKBG to /tmp/tmp.quad3.vSZJI2 and /tmp/tmp.ckdt2.4yUuRn Reading code tree from /tmp/tmp.ckdt.QOtKBG ... Reading quads from /tmp/tmp.quad2.hyog0I ... Writing quads to /tmp/tmp.quad3.vSZJI2 ... Writing code kdtree to /tmp/tmp.ckdt2.4yUuRn ... Merging /tmp/tmp.quad3.vSZJI2 and /tmp/tmp.ckdt2.4yUuRn and /tmp/tmp.skdt2.st8ZNH to index-130331000-12.fits Reading code tree from /tmp/tmp.ckdt2.4yUuRn ... Ok. Reading star tree from /tmp/tmp.skdt2.st8ZNH ... Ok. Reading quads from /tmp/tmp.quad3.vSZJI2 ... Ok.