Reading 2mass-hp22.fits... Got 11405237 stars Sweep 1: 773034 stars Sweep 2: 766628 stars Sweep 3: 751121 stars Sweep 4: 724730 stars Sweep 5: 689128 stars Sweep 6: 647708 stars Sweep 7: 603949 stars Sweep 8: 560704 stars Sweep 9: 520147 stars Sweep 10: 482500 stars Sweep 11: 446843 stars Sweep 12: 413233 stars Sweep 13: 381113 stars Sweep 14: 349667 stars Sweep 15: 318378 stars Sweep 16: 287151 stars Sweep 17: 255518 stars Sweep 18: 224372 stars Sweep 19: 193764 stars Sweep 20: 164126 stars Total: 9553814 stars Writing output... Reading star kdtree /tmp/tmp.skdt.ai0Iyn ... Will write to quad file /tmp/tmp.quad.wTsfQl and code file /tmp/tmp.code.tqqM7j Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9553814 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9553814 input stars... Will check 773034 healpixes. Pass 1 of 16. Trying 773034 healpixes. ............................................................................... Made 772618 quads (out of 773034 healpixes) this pass. Made 772618 quads so far. Merging quads... Pass 2 of 16. Trying 773034 healpixes. ............................................................................... Made 772249 quads (out of 773034 healpixes) this pass. Made 1544867 quads so far. Merging quads... Pass 3 of 16. Trying 773034 healpixes. ............................................................................... Made 771824 quads (out of 773034 healpixes) this pass. Made 2316691 quads so far. Merging quads... Pass 4 of 16. Trying 773034 healpixes. ............................................................................... Made 770106 quads (out of 773034 healpixes) this pass. Made 3086797 quads so far. Merging quads... Pass 5 of 16. Trying 773034 healpixes. ............................................................................... Made 764494 quads (out of 773034 healpixes) this pass. Made 3851291 quads so far. Merging quads... Pass 6 of 16. Trying 773034 healpixes. ............................................................................... Made 754266 quads (out of 773034 healpixes) this pass. Made 4605557 quads so far. Merging quads... Pass 7 of 16. Trying 773034 healpixes. ............................................................................... Made 741373 quads (out of 773034 healpixes) this pass. Made 5346930 quads so far. Merging quads... Pass 8 of 16. Trying 773034 healpixes. ............................................................................... Made 725289 quads (out of 773034 healpixes) this pass. Made 6072219 quads so far. Merging quads... Pass 9 of 16. Trying 773034 healpixes. ............................................................................... Made 704861 quads (out of 773034 healpixes) this pass. Made 6777080 quads so far. Merging quads... Pass 10 of 16. Trying 773034 healpixes. ............................................................................... Made 681179 quads (out of 773034 healpixes) this pass. Made 7458259 quads so far. Merging quads... Pass 11 of 16. Trying 773034 healpixes. ............................................................................... Made 655814 quads (out of 773034 healpixes) this pass. Made 8114073 quads so far. Merging quads... Pass 12 of 16. Trying 773034 healpixes. ............................................................................... Made 630704 quads (out of 773034 healpixes) this pass. Made 8744777 quads so far. Merging quads... Pass 13 of 16. Trying 773034 healpixes. ............................................................................... Made 606185 quads (out of 773034 healpixes) this pass. Made 9350962 quads so far. Merging quads... Pass 14 of 16. Trying 773034 healpixes. ............................................................................... Made 582279 quads (out of 773034 healpixes) this pass. Made 9933241 quads so far. Merging quads... Pass 15 of 16. Trying 773034 healpixes. ............................................................................... Made 559038 quads (out of 773034 healpixes) this pass. Made 10492279 quads so far. Merging quads... Pass 16 of 16. Trying 773034 healpixes. ............................................................................... Made 536769 quads (out of 773034 healpixes) this pass. Made 11029048 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1339496 healpixes. ............................................................................... Made 364995 quads (out of 1339496 healpixes) this pass. Loosening reuse maximum to 10... Trying 974501 healpixes. ............................................................................... Made 261862 quads (out of 974501 healpixes) this pass. Loosening reuse maximum to 11... Trying 712639 healpixes. ............................................................................... Made 195914 quads (out of 712639 healpixes) this pass. Loosening reuse maximum to 12... Trying 516725 healpixes. ............................................................................... Made 147219 quads (out of 516725 healpixes) this pass. Loosening reuse maximum to 13... Trying 369506 healpixes. ............................................................................... Made 107064 quads (out of 369506 healpixes) this pass. Loosening reuse maximum to 14... Trying 262442 healpixes. ............................................................................... Made 75173 quads (out of 262442 healpixes) this pass. Loosening reuse maximum to 15... Trying 187269 healpixes. ............................................................................... Made 52039 quads (out of 187269 healpixes) this pass. Loosening reuse maximum to 16... Trying 135230 healpixes. ............................................................................... Made 35610 quads (out of 135230 healpixes) this pass. Loosening reuse maximum to 17... Trying 99620 healpixes. ............................................................................... Made 23716 quads (out of 99620 healpixes) this pass. Loosening reuse maximum to 18... Trying 75904 healpixes. ............................................................................... Made 14741 quads (out of 75904 healpixes) this pass. Loosening reuse maximum to 19... Trying 61163 healpixes. ............................................................................... Made 8509 quads (out of 61163 healpixes) this pass. Loosening reuse maximum to 20... Trying 52654 healpixes. ............................................................................... Made 4619 quads (out of 52654 healpixes) this pass. Writing quads... Used 1635.36 s user, 1.45209 s system (1636.81 s total), 1870.03 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.tqqM7j will write KD tree file /tmp/tmp.ckdt.XiaMyL Reading codes... Read 12320509 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.XiaMyL... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.ai0Iyn and /tmp/tmp.quad.wTsfQl to /tmp/tmp.skdt2.8q88xP and /tmp/tmp.quad2.7RUwxT Reading star tree from /tmp/tmp.skdt.ai0Iyn ... Reading quadfile from /tmp/tmp.quad.wTsfQl ... Writing quadfile to /tmp/tmp.quad2.7RUwxT ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.8q88xP ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.7RUwxT and /tmp/tmp.ckdt.XiaMyL to /tmp/tmp.quad3.ob7qOR and /tmp/tmp.ckdt2.BiDYFS Reading code tree from /tmp/tmp.ckdt.XiaMyL ... Reading quads from /tmp/tmp.quad2.7RUwxT ... Writing quads to /tmp/tmp.quad3.ob7qOR ... Writing code kdtree to /tmp/tmp.ckdt2.BiDYFS ... Merging /tmp/tmp.quad3.ob7qOR and /tmp/tmp.ckdt2.BiDYFS and /tmp/tmp.skdt2.8q88xP to index-130331000-22.fits Reading code tree from /tmp/tmp.ckdt2.BiDYFS ... Ok. Reading star tree from /tmp/tmp.skdt2.8q88xP ... Ok. Reading quads from /tmp/tmp.quad3.ob7qOR ... Ok.