Reading 2mass-hp19.fits... Got 2403188 stars Sweep 1: 706869 stars Sweep 2: 553587 stars Sweep 3: 371690 stars Sweep 4: 218874 stars Sweep 5: 115801 stars Sweep 6: 56102 stars Sweep 7: 25513 stars Sweep 8: 10808 stars Sweep 9: 4436 stars Sweep 10: 1693 stars Sweep 11: 673 stars Sweep 12: 260 stars Sweep 13: 92 stars Sweep 14: 37 stars Sweep 15: 24 stars Sweep 16: 13 stars Sweep 17: 9 stars Sweep 18: 8 stars Sweep 19: 6 stars Sweep 20: 5 stars Total: 2066500 stars Writing output... Reading star kdtree /tmp/tmp.skdt.35YWI6 ... Will write to quad file /tmp/tmp.quad.WTeS4Y and code file /tmp/tmp.code.UhXNqR Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 2066500 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 2066500 input stars... Will check 706869 healpixes. Pass 1 of 16. Trying 706869 healpixes. ............................................................................... Made 627020 quads (out of 706869 healpixes) this pass. Made 627020 quads so far. Merging quads... Pass 2 of 16. Trying 706869 healpixes. ............................................................................... Made 583397 quads (out of 706869 healpixes) this pass. Made 1210417 quads so far. Merging quads... Pass 3 of 16. Trying 706869 healpixes. ............................................................................... Made 553837 quads (out of 706869 healpixes) this pass. Made 1764254 quads so far. Merging quads... Pass 4 of 16. Trying 706869 healpixes. ............................................................................... Made 489255 quads (out of 706869 healpixes) this pass. Made 2253509 quads so far. Merging quads... Pass 5 of 16. Trying 706869 healpixes. ............................................................................... Made 376348 quads (out of 706869 healpixes) this pass. Made 2629857 quads so far. Merging quads... Pass 6 of 16. Trying 706869 healpixes. ............................................................................... Made 258424 quads (out of 706869 healpixes) this pass. Made 2888281 quads so far. Merging quads... Pass 7 of 16. Trying 706869 healpixes. ............................................................................... Made 170297 quads (out of 706869 healpixes) this pass. Made 3058578 quads so far. Merging quads... Pass 8 of 16. Trying 706869 healpixes. ............................................................................... Made 109241 quads (out of 706869 healpixes) this pass. Made 3167819 quads so far. Merging quads... Pass 9 of 16. Trying 706869 healpixes. ............................................................................... Made 67071 quads (out of 706869 healpixes) this pass. Made 3234890 quads so far. Merging quads... Pass 10 of 16. Trying 706869 healpixes. ............................................................................... Made 39295 quads (out of 706869 healpixes) this pass. Made 3274185 quads so far. Merging quads... Pass 11 of 16. Trying 706869 healpixes. ............................................................................... Made 22292 quads (out of 706869 healpixes) this pass. Made 3296477 quads so far. Merging quads... Pass 12 of 16. Trying 706869 healpixes. ............................................................................... Made 12146 quads (out of 706869 healpixes) this pass. Made 3308623 quads so far. Merging quads... Pass 13 of 16. Trying 706869 healpixes. ............................................................................... Made 6453 quads (out of 706869 healpixes) this pass. Made 3315076 quads so far. Merging quads... Pass 14 of 16. Trying 706869 healpixes. ............................................................................... Made 3294 quads (out of 706869 healpixes) this pass. Made 3318370 quads so far. Merging quads... Pass 15 of 16. Trying 706869 healpixes. ............................................................................... Made 1677 quads (out of 706869 healpixes) this pass. Made 3320047 quads so far. Merging quads... Pass 16 of 16. Trying 706869 healpixes. ............................................................................... Made 824 quads (out of 706869 healpixes) this pass. Made 3320871 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 7989033 healpixes. ............................................................................... Made 467928 quads (out of 7989033 healpixes) this pass. Loosening reuse maximum to 10... Trying 7521105 healpixes. ............................................................................... Made 452644 quads (out of 7521105 healpixes) this pass. Loosening reuse maximum to 11... Trying 7068461 healpixes. ............................................................................... Made 439260 quads (out of 7068461 healpixes) this pass. Loosening reuse maximum to 12... Trying 6629201 healpixes. ............................................................................... Made 425911 quads (out of 6629201 healpixes) this pass. Loosening reuse maximum to 13... Trying 6203290 healpixes. ............................................................................... Made 409522 quads (out of 6203290 healpixes) this pass. Loosening reuse maximum to 14... Trying 5793768 healpixes. ............................................................................... Made 388995 quads (out of 5793768 healpixes) this pass. Loosening reuse maximum to 15... Trying 5404773 healpixes. ............................................................................... Made 362338 quads (out of 5404773 healpixes) this pass. Loosening reuse maximum to 16... Trying 5042435 healpixes. ............................................................................... Made 328920 quads (out of 5042435 healpixes) this pass. Loosening reuse maximum to 17... Trying 4713515 healpixes. ............................................................................... Made 287298 quads (out of 4713515 healpixes) this pass. Loosening reuse maximum to 18... Trying 4426217 healpixes. ............................................................................... Made 237707 quads (out of 4426217 healpixes) this pass. Loosening reuse maximum to 19... Trying 4188510 healpixes. ............................................................................... Made 184341 quads (out of 4188510 healpixes) this pass. Loosening reuse maximum to 20... Trying 4004169 healpixes. ............................................................................... Made 132974 quads (out of 4004169 healpixes) this pass. Writing quads... Used 840.529 s user, 0.572036 s system (841.101 s total), 848.069 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.UhXNqR will write KD tree file /tmp/tmp.ckdt.L3k0On Reading codes... Read 7438709 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.L3k0On... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.35YWI6 and /tmp/tmp.quad.WTeS4Y to /tmp/tmp.skdt2.MoD4Ih and /tmp/tmp.quad2.4zw9Cb Reading star tree from /tmp/tmp.skdt.35YWI6 ... Reading quadfile from /tmp/tmp.quad.WTeS4Y ... Writing quadfile to /tmp/tmp.quad2.4zw9Cb ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.MoD4Ih ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.4zw9Cb and /tmp/tmp.ckdt.L3k0On to /tmp/tmp.quad3.CBndrg and /tmp/tmp.ckdt2.KNab2d Reading code tree from /tmp/tmp.ckdt.L3k0On ... Reading quads from /tmp/tmp.quad2.4zw9Cb ... Writing quads to /tmp/tmp.quad3.CBndrg ... Writing code kdtree to /tmp/tmp.ckdt2.KNab2d ... Merging /tmp/tmp.quad3.CBndrg and /tmp/tmp.ckdt2.KNab2d and /tmp/tmp.skdt2.MoD4Ih to index-130331000-19.fits Reading code tree from /tmp/tmp.ckdt2.KNab2d ... Ok. Reading star tree from /tmp/tmp.skdt2.MoD4Ih ... Ok. Reading quads from /tmp/tmp.quad3.CBndrg ... Ok.