Reading 2mass-hp33.fits... Got 1415176 stars Sweep 1: 616101 stars Sweep 2: 369723 stars Sweep 3: 172672 stars Sweep 4: 66306 stars Sweep 5: 21759 stars Sweep 6: 6292 stars Sweep 7: 1762 stars Sweep 8: 559 stars Sweep 9: 192 stars Sweep 10: 62 stars Sweep 11: 37 stars Sweep 12: 20 stars Sweep 13: 13 stars Sweep 14: 4 stars Sweep 15: 3 stars Sweep 16: 3 stars Sweep 17: 3 stars Sweep 18: 3 stars Sweep 19: 3 stars Sweep 20: 3 stars Total: 1255520 stars Writing output... Reading star kdtree /tmp/tmp.skdt.Ntjkyk ... Will write to quad file /tmp/tmp.quad.LSF6tV and code file /tmp/tmp.code.FnuTpw Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1255520 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1255520 input stars... Will check 616101 healpixes. Pass 1 of 16. Trying 616101 healpixes. ............................................................................... Made 397522 quads (out of 616101 healpixes) this pass. Made 397522 quads so far. Merging quads... Pass 2 of 16. Trying 616101 healpixes. ............................................................................... Made 316062 quads (out of 616101 healpixes) this pass. Made 713584 quads so far. Merging quads... Pass 3 of 16. Trying 616101 healpixes. ............................................................................... Made 274815 quads (out of 616101 healpixes) this pass. Made 988399 quads so far. Merging quads... Pass 4 of 16. Trying 616101 healpixes. ............................................................................... Made 212132 quads (out of 616101 healpixes) this pass. Made 1200531 quads so far. Merging quads... Pass 5 of 16. Trying 616101 healpixes. ............................................................................... Made 137468 quads (out of 616101 healpixes) this pass. Made 1337999 quads so far. Merging quads... Pass 6 of 16. Trying 616101 healpixes. ............................................................................... Made 79039 quads (out of 616101 healpixes) this pass. Made 1417038 quads so far. Merging quads... Pass 7 of 16. Trying 616101 healpixes. ............................................................................... Made 42196 quads (out of 616101 healpixes) this pass. Made 1459234 quads so far. Merging quads... Pass 8 of 16. Trying 616101 healpixes. ............................................................................... Made 22220 quads (out of 616101 healpixes) this pass. Made 1481454 quads so far. Merging quads... Pass 9 of 16. Trying 616101 healpixes. ............................................................................... Made 11218 quads (out of 616101 healpixes) this pass. Made 1492672 quads so far. Merging quads... Pass 10 of 16. Trying 616101 healpixes. ............................................................................... Made 5568 quads (out of 616101 healpixes) this pass. Made 1498240 quads so far. Merging quads... Pass 11 of 16. Trying 616101 healpixes. ............................................................................... Made 2613 quads (out of 616101 healpixes) this pass. Made 1500853 quads so far. Merging quads... Pass 12 of 16. Trying 616101 healpixes. ............................................................................... Made 1164 quads (out of 616101 healpixes) this pass. Made 1502017 quads so far. Merging quads... Pass 13 of 16. Trying 616101 healpixes. ............................................................................... Made 522 quads (out of 616101 healpixes) this pass. Made 1502539 quads so far. Merging quads... Pass 14 of 16. Trying 616101 healpixes. ............................................................................... Made 235 quads (out of 616101 healpixes) this pass. Made 1502774 quads so far. Merging quads... Pass 15 of 16. Trying 616101 healpixes. ............................................................................... Made 118 quads (out of 616101 healpixes) this pass. Made 1502892 quads so far. Merging quads... Pass 16 of 16. Trying 616101 healpixes. ............................................................................... Made 62 quads (out of 616101 healpixes) this pass. Made 1502954 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8354662 healpixes. ............................................................................... Made 177713 quads (out of 8354662 healpixes) this pass. Loosening reuse maximum to 10... Trying 8176949 healpixes. ............................................................................... Made 165532 quads (out of 8176949 healpixes) this pass. Loosening reuse maximum to 11... Trying 8011417 healpixes. ............................................................................... Made 154809 quads (out of 8011417 healpixes) this pass. Loosening reuse maximum to 12... Trying 7856608 healpixes. ............................................................................... Made 145302 quads (out of 7856608 healpixes) this pass. Loosening reuse maximum to 13... Trying 7711306 healpixes. ............................................................................... Made 135601 quads (out of 7711306 healpixes) this pass. Loosening reuse maximum to 14... Trying 7575705 healpixes. ............................................................................... Made 126476 quads (out of 7575705 healpixes) this pass. Loosening reuse maximum to 15... Trying 7449229 healpixes. ............................................................................... Made 116222 quads (out of 7449229 healpixes) this pass. Loosening reuse maximum to 16... Trying 7333007 healpixes. ............................................................................... Made 105639 quads (out of 7333007 healpixes) this pass. Loosening reuse maximum to 17... Trying 7227368 healpixes. ............................................................................... Made 94256 quads (out of 7227368 healpixes) this pass. Loosening reuse maximum to 18... Trying 7133112 healpixes. ............................................................................... Made 81868 quads (out of 7133112 healpixes) this pass. Loosening reuse maximum to 19... Trying 7051244 healpixes. ............................................................................... Made 68739 quads (out of 7051244 healpixes) this pass. Loosening reuse maximum to 20... Trying 6982505 healpixes. ............................................................................... Made 55734 quads (out of 6982505 healpixes) this pass. Writing quads... Used 851.485 s user, 0.848053 s system (852.333 s total), 1425.29 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.FnuTpw will write KD tree file /tmp/tmp.ckdt.38lkpy Reading codes... Read 2930845 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.38lkpy... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.Ntjkyk and /tmp/tmp.quad.LSF6tV to /tmp/tmp.skdt2.Llb2Zo and /tmp/tmp.quad2.sZHKAf Reading star tree from /tmp/tmp.skdt.Ntjkyk ... Reading quadfile from /tmp/tmp.quad.LSF6tV ... Writing quadfile to /tmp/tmp.quad2.sZHKAf ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.Llb2Zo ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.sZHKAf and /tmp/tmp.ckdt.38lkpy to /tmp/tmp.quad3.LNr0b8 and /tmp/tmp.ckdt2.IadnTb Reading code tree from /tmp/tmp.ckdt.38lkpy ... Reading quads from /tmp/tmp.quad2.sZHKAf ... Writing quads to /tmp/tmp.quad3.LNr0b8 ... Writing code kdtree to /tmp/tmp.ckdt2.IadnTb ... Merging /tmp/tmp.quad3.LNr0b8 and /tmp/tmp.ckdt2.IadnTb and /tmp/tmp.skdt2.Llb2Zo to index-130331000-33.fits Reading code tree from /tmp/tmp.ckdt2.IadnTb ... Ok. Reading star tree from /tmp/tmp.skdt2.Llb2Zo ... Ok. Reading quads from /tmp/tmp.quad3.LNr0b8 ... Ok.