Reading 2mass-hp35.fits... Got 1448541 stars Sweep 1: 616299 stars Sweep 2: 369656 stars Sweep 3: 173233 stars Sweep 4: 66379 stars Sweep 5: 21909 stars Sweep 6: 6559 stars Sweep 7: 1843 stars Sweep 8: 581 stars Sweep 9: 209 stars Sweep 10: 96 stars Sweep 11: 60 stars Sweep 12: 42 stars Sweep 13: 29 stars Sweep 14: 22 stars Sweep 15: 14 stars Sweep 16: 10 stars Sweep 17: 8 stars Sweep 18: 7 stars Sweep 19: 5 stars Sweep 20: 4 stars Total: 1256965 stars Writing output... Reading star kdtree /tmp/tmp.skdt.lQoDBb ... Will write to quad file /tmp/tmp.quad.fIMUfO and code file /tmp/tmp.code.mcEcUq Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 1256965 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 1256965 input stars... Will check 616299 healpixes. Pass 1 of 16. Trying 616299 healpixes. ............................................................................... Made 397934 quads (out of 616299 healpixes) this pass. Made 397934 quads so far. Merging quads... Pass 2 of 16. Trying 616299 healpixes. ............................................................................... Made 316624 quads (out of 616299 healpixes) this pass. Made 714558 quads so far. Merging quads... Pass 3 of 16. Trying 616299 healpixes. ............................................................................... Made 276597 quads (out of 616299 healpixes) this pass. Made 991155 quads so far. Merging quads... Pass 4 of 16. Trying 616299 healpixes. ............................................................................... Made 214565 quads (out of 616299 healpixes) this pass. Made 1205720 quads so far. Merging quads... Pass 5 of 16. Trying 616299 healpixes. ............................................................................... Made 139349 quads (out of 616299 healpixes) this pass. Made 1345069 quads so far. Merging quads... Pass 6 of 16. Trying 616299 healpixes. ............................................................................... Made 79798 quads (out of 616299 healpixes) this pass. Made 1424867 quads so far. Merging quads... Pass 7 of 16. Trying 616299 healpixes. ............................................................................... Made 43046 quads (out of 616299 healpixes) this pass. Made 1467913 quads so far. Merging quads... Pass 8 of 16. Trying 616299 healpixes. ............................................................................... Made 22527 quads (out of 616299 healpixes) this pass. Made 1490440 quads so far. Merging quads... Pass 9 of 16. Trying 616299 healpixes. ............................................................................... Made 11454 quads (out of 616299 healpixes) this pass. Made 1501894 quads so far. Merging quads... Pass 10 of 16. Trying 616299 healpixes. ............................................................................... Made 5681 quads (out of 616299 healpixes) this pass. Made 1507575 quads so far. Merging quads... Pass 11 of 16. Trying 616299 healpixes. ............................................................................... Made 2742 quads (out of 616299 healpixes) this pass. Made 1510317 quads so far. Merging quads... Pass 12 of 16. Trying 616299 healpixes. ............................................................................... Made 1260 quads (out of 616299 healpixes) this pass. Made 1511577 quads so far. Merging quads... Pass 13 of 16. Trying 616299 healpixes. ............................................................................... Made 569 quads (out of 616299 healpixes) this pass. Made 1512146 quads so far. Merging quads... Pass 14 of 16. Trying 616299 healpixes. ............................................................................... Made 276 quads (out of 616299 healpixes) this pass. Made 1512422 quads so far. Merging quads... Pass 15 of 16. Trying 616299 healpixes. ............................................................................... Made 149 quads (out of 616299 healpixes) this pass. Made 1512571 quads so far. Merging quads... Pass 16 of 16. Trying 616299 healpixes. ............................................................................... Made 100 quads (out of 616299 healpixes) this pass. Made 1512671 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 8348113 healpixes. ............................................................................... Made 179172 quads (out of 8348113 healpixes) this pass. Loosening reuse maximum to 10... Trying 8168941 healpixes. ............................................................................... Made 167473 quads (out of 8168941 healpixes) this pass. Loosening reuse maximum to 11... Trying 8001468 healpixes. ............................................................................... Made 156918 quads (out of 8001468 healpixes) this pass. Loosening reuse maximum to 12... Trying 7844550 healpixes. ............................................................................... Made 147143 quads (out of 7844550 healpixes) this pass. Loosening reuse maximum to 13... Trying 7697407 healpixes. ............................................................................... Made 137301 quads (out of 7697407 healpixes) this pass. Loosening reuse maximum to 14... Trying 7560106 healpixes. ............................................................................... Made 127745 quads (out of 7560106 healpixes) this pass. Loosening reuse maximum to 15... Trying 7432361 healpixes. ............................................................................... Made 117804 quads (out of 7432361 healpixes) this pass. Loosening reuse maximum to 16... Trying 7314557 healpixes. ............................................................................... Made 106742 quads (out of 7314557 healpixes) this pass. Loosening reuse maximum to 17... Trying 7207815 healpixes. ............................................................................... Made 94705 quads (out of 7207815 healpixes) this pass. Loosening reuse maximum to 18... Trying 7113110 healpixes. ............................................................................... Made 82092 quads (out of 7113110 healpixes) this pass. Loosening reuse maximum to 19... Trying 7031018 healpixes. ............................................................................... Made 68965 quads (out of 7031018 healpixes) this pass. Loosening reuse maximum to 20... Trying 6962053 healpixes. ............................................................................... Made 55455 quads (out of 6962053 healpixes) this pass. Writing quads... Used 845.393 s user, 0.676042 s system (846.069 s total), 1158.65 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.mcEcUq will write KD tree file /tmp/tmp.ckdt.z7xgLS Reading codes... Read 2954186 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.z7xgLS... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.lQoDBb and /tmp/tmp.quad.fIMUfO to /tmp/tmp.skdt2.i0JawY and /tmp/tmp.quad2.5pv5g4 Reading star tree from /tmp/tmp.skdt.lQoDBb ... Reading quadfile from /tmp/tmp.quad.fIMUfO ... Writing quadfile to /tmp/tmp.quad2.5pv5g4 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.i0JawY ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.5pv5g4 and /tmp/tmp.ckdt.z7xgLS to /tmp/tmp.quad3.mJq2Hn and /tmp/tmp.ckdt2.YZCyZd Reading code tree from /tmp/tmp.ckdt.z7xgLS ... Reading quads from /tmp/tmp.quad2.5pv5g4 ... Writing quads to /tmp/tmp.quad3.mJq2Hn ... Writing code kdtree to /tmp/tmp.ckdt2.YZCyZd ... Merging /tmp/tmp.quad3.mJq2Hn and /tmp/tmp.ckdt2.YZCyZd and /tmp/tmp.skdt2.i0JawY to index-130331000-35.fits Reading code tree from /tmp/tmp.ckdt2.YZCyZd ... Ok. Reading star tree from /tmp/tmp.skdt2.i0JawY ... Ok. Reading quads from /tmp/tmp.quad3.mJq2Hn ... Ok.