Reading 2mass-hp41.fits... Got 13081087 stars Sweep 1: 772066 stars Sweep 2: 762581 stars Sweep 3: 740741 stars Sweep 4: 705039 stars Sweep 5: 659422 stars Sweep 6: 607710 stars Sweep 7: 554702 stars Sweep 8: 504125 stars Sweep 9: 457413 stars Sweep 10: 415459 stars Sweep 11: 378397 stars Sweep 12: 345682 stars Sweep 13: 316977 stars Sweep 14: 291722 stars Sweep 15: 269052 stars Sweep 16: 248595 stars Sweep 17: 229750 stars Sweep 18: 212692 stars Sweep 19: 196893 stars Sweep 20: 182302 stars Total: 8851320 stars Writing output... Reading star kdtree /tmp/tmp.skdt.kPYJfd ... Will write to quad file /tmp/tmp.quad.OnEodV and code file /tmp/tmp.code.yt03aD Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 8851320 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 8851320 input stars... Will check 772067 healpixes. Pass 1 of 16. Trying 772067 healpixes. ............................................................................... Made 771263 quads (out of 772067 healpixes) this pass. Made 771263 quads so far. Merging quads... Pass 2 of 16. Trying 772067 healpixes. ............................................................................... Made 770560 quads (out of 772067 healpixes) this pass. Made 1541823 quads so far. Merging quads... Pass 3 of 16. Trying 772067 healpixes. ............................................................................... Made 769923 quads (out of 772067 healpixes) this pass. Made 2311746 quads so far. Merging quads... Pass 4 of 16. Trying 772067 healpixes. ............................................................................... Made 767238 quads (out of 772067 healpixes) this pass. Made 3078984 quads so far. Merging quads... Pass 5 of 16. Trying 772067 healpixes. ............................................................................... Made 758621 quads (out of 772067 healpixes) this pass. Made 3837605 quads so far. Merging quads... Pass 6 of 16. Trying 772067 healpixes. ............................................................................... Made 743323 quads (out of 772067 healpixes) this pass. Made 4580928 quads so far. Merging quads... Pass 7 of 16. Trying 772067 healpixes. ............................................................................... Made 724534 quads (out of 772067 healpixes) this pass. Made 5305462 quads so far. Merging quads... Pass 8 of 16. Trying 772067 healpixes. ............................................................................... Made 702316 quads (out of 772067 healpixes) this pass. Made 6007778 quads so far. Merging quads... Pass 9 of 16. Trying 772067 healpixes. ............................................................................... Made 675780 quads (out of 772067 healpixes) this pass. Made 6683558 quads so far. Merging quads... Pass 10 of 16. Trying 772067 healpixes. ............................................................................... Made 646092 quads (out of 772067 healpixes) this pass. Made 7329650 quads so far. Merging quads... Pass 11 of 16. Trying 772067 healpixes. ............................................................................... Made 615771 quads (out of 772067 healpixes) this pass. Made 7945421 quads so far. Merging quads... Pass 12 of 16. Trying 772067 healpixes. ............................................................................... Made 585871 quads (out of 772067 healpixes) this pass. Made 8531292 quads so far. Merging quads... Pass 13 of 16. Trying 772067 healpixes. ............................................................................... Made 556165 quads (out of 772067 healpixes) this pass. Made 9087457 quads so far. Merging quads... Pass 14 of 16. Trying 772067 healpixes. ............................................................................... Made 527304 quads (out of 772067 healpixes) this pass. Made 9614761 quads so far. Merging quads... Pass 15 of 16. Trying 772067 healpixes. ............................................................................... Made 499669 quads (out of 772067 healpixes) this pass. Made 10114430 quads so far. Merging quads... Pass 16 of 16. Trying 772067 healpixes. ............................................................................... Made 472944 quads (out of 772067 healpixes) this pass. Made 10587374 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1765698 healpixes. ............................................................................... Made 450884 quads (out of 1765698 healpixes) this pass. Loosening reuse maximum to 10... Trying 1314814 healpixes. ............................................................................... Made 326758 quads (out of 1314814 healpixes) this pass. Loosening reuse maximum to 11... Trying 988056 healpixes. ............................................................................... Made 246894 quads (out of 988056 healpixes) this pass. Loosening reuse maximum to 12... Trying 741162 healpixes. ............................................................................... Made 189940 quads (out of 741162 healpixes) this pass. Loosening reuse maximum to 13... Trying 551222 healpixes. ............................................................................... Made 145648 quads (out of 551222 healpixes) this pass. Loosening reuse maximum to 14... Trying 405574 healpixes. ............................................................................... Made 109594 quads (out of 405574 healpixes) this pass. Loosening reuse maximum to 15... Trying 295980 healpixes. ............................................................................... Made 79426 quads (out of 295980 healpixes) this pass. Loosening reuse maximum to 16... Trying 216554 healpixes. ............................................................................... Made 55247 quads (out of 216554 healpixes) this pass. Loosening reuse maximum to 17... Trying 161307 healpixes. ............................................................................... Made 36533 quads (out of 161307 healpixes) this pass. Loosening reuse maximum to 18... Trying 124774 healpixes. ............................................................................... Made 22444 quads (out of 124774 healpixes) this pass. Loosening reuse maximum to 19... Trying 102330 healpixes. ............................................................................... Made 12714 quads (out of 102330 healpixes) this pass. Loosening reuse maximum to 20... Trying 89616 healpixes. ............................................................................... Made 6897 quads (out of 89616 healpixes) this pass. Writing quads... Used 1689.41 s user, 3.46022 s system (1692.87 s total), 2277.08 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.yt03aD will write KD tree file /tmp/tmp.ckdt.wXRCGD Reading codes... Read 12270353 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.wXRCGD... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.kPYJfd and /tmp/tmp.quad.OnEodV to /tmp/tmp.skdt2.JD2IF3 and /tmp/tmp.quad2.RXUPEt Reading star tree from /tmp/tmp.skdt.kPYJfd ... Reading quadfile from /tmp/tmp.quad.OnEodV ... Writing quadfile to /tmp/tmp.quad2.RXUPEt ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.JD2IF3 ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.RXUPEt and /tmp/tmp.ckdt.wXRCGD to /tmp/tmp.quad3.IPRv8y and /tmp/tmp.ckdt2.zTxFow Reading code tree from /tmp/tmp.ckdt.wXRCGD ... Reading quads from /tmp/tmp.quad2.RXUPEt ... Writing quads to /tmp/tmp.quad3.IPRv8y ... Writing code kdtree to /tmp/tmp.ckdt2.zTxFow ... Merging /tmp/tmp.quad3.IPRv8y and /tmp/tmp.ckdt2.zTxFow and /tmp/tmp.skdt2.JD2IF3 to index-130331000-41.fits Reading code tree from /tmp/tmp.ckdt2.zTxFow ... Ok. Reading star tree from /tmp/tmp.skdt2.JD2IF3 ... Ok. Reading quads from /tmp/tmp.quad3.IPRv8y ... Ok.