Reading 2mass-hp45.fits... Got 12558439 stars Sweep 1: 773796 stars Sweep 2: 770332 stars Sweep 3: 760468 stars Sweep 4: 740852 stars Sweep 5: 710260 stars Sweep 6: 669316 stars Sweep 7: 621630 stars Sweep 8: 571100 stars Sweep 9: 520343 stars Sweep 10: 471345 stars Sweep 11: 425288 stars Sweep 12: 382579 stars Sweep 13: 343920 stars Sweep 14: 308431 stars Sweep 15: 276605 stars Sweep 16: 248280 stars Sweep 17: 223450 stars Sweep 18: 201387 stars Sweep 19: 181727 stars Sweep 20: 164499 stars Total: 9365608 stars Writing output... Reading star kdtree /tmp/tmp.skdt.oybrLp ... Will write to quad file /tmp/tmp.quad.rpe9Js and code file /tmp/tmp.code.yqRRIv Nside=1760. Nside^2=3097600. Number of healpixes=37171200. Healpix side length ~ 1.99883 arcmin. Star tree contains 9365608 objects. Healpix radius 84.8031 arcsec, quad scale 84 arcsec, total 170.491 arcsec Scanning 9365608 input stars... Will check 773796 healpixes. Pass 1 of 16. Trying 773796 healpixes. ............................................................................... Made 773711 quads (out of 773796 healpixes) this pass. Made 773711 quads so far. Merging quads... Pass 2 of 16. Trying 773796 healpixes. ............................................................................... Made 773631 quads (out of 773796 healpixes) this pass. Made 1547342 quads so far. Merging quads... Pass 3 of 16. Trying 773796 healpixes. ............................................................................... Made 773527 quads (out of 773796 healpixes) this pass. Made 2320869 quads so far. Merging quads... Pass 4 of 16. Trying 773796 healpixes. ............................................................................... Made 773083 quads (out of 773796 healpixes) this pass. Made 3093952 quads so far. Merging quads... Pass 5 of 16. Trying 773796 healpixes. ............................................................................... Made 771170 quads (out of 773796 healpixes) this pass. Made 3865122 quads so far. Merging quads... Pass 6 of 16. Trying 773796 healpixes. ............................................................................... Made 766885 quads (out of 773796 healpixes) this pass. Made 4632007 quads so far. Merging quads... Pass 7 of 16. Trying 773796 healpixes. ............................................................................... Made 760211 quads (out of 773796 healpixes) this pass. Made 5392218 quads so far. Merging quads... Pass 8 of 16. Trying 773796 healpixes. ............................................................................... Made 750112 quads (out of 773796 healpixes) this pass. Made 6142330 quads so far. Merging quads... Pass 9 of 16. Trying 773796 healpixes. ............................................................................... Made 734768 quads (out of 773796 healpixes) this pass. Made 6877098 quads so far. Merging quads... Pass 10 of 16. Trying 773796 healpixes. ............................................................................... Made 714331 quads (out of 773796 healpixes) this pass. Made 7591429 quads so far. Merging quads... Pass 11 of 16. Trying 773796 healpixes. ............................................................................... Made 690167 quads (out of 773796 healpixes) this pass. Made 8281596 quads so far. Merging quads... Pass 12 of 16. Trying 773796 healpixes. ............................................................................... Made 663484 quads (out of 773796 healpixes) this pass. Made 8945080 quads so far. Merging quads... Pass 13 of 16. Trying 773796 healpixes. ............................................................................... Made 635216 quads (out of 773796 healpixes) this pass. Made 9580296 quads so far. Merging quads... Pass 14 of 16. Trying 773796 healpixes. ............................................................................... Made 605881 quads (out of 773796 healpixes) this pass. Made 10186177 quads so far. Merging quads... Pass 15 of 16. Trying 773796 healpixes. ............................................................................... Made 576336 quads (out of 773796 healpixes) this pass. Made 10762513 quads so far. Merging quads... Pass 16 of 16. Trying 773796 healpixes. ............................................................................... Made 547290 quads (out of 773796 healpixes) this pass. Made 11309803 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1070933 healpixes. ............................................................................... Made 385882 quads (out of 1070933 healpixes) this pass. Loosening reuse maximum to 10... Trying 685051 healpixes. ............................................................................... Made 250708 quads (out of 685051 healpixes) this pass. Loosening reuse maximum to 11... Trying 434343 healpixes. ............................................................................... Made 164640 quads (out of 434343 healpixes) this pass. Loosening reuse maximum to 12... Trying 269703 healpixes. ............................................................................... Made 106602 quads (out of 269703 healpixes) this pass. Loosening reuse maximum to 13... Trying 163101 healpixes. ............................................................................... Made 67051 quads (out of 163101 healpixes) this pass. Loosening reuse maximum to 14... Trying 96050 healpixes. ............................................................................... Made 40538 quads (out of 96050 healpixes) this pass. Loosening reuse maximum to 15... Trying 55512 healpixes. ............................................................................... Made 22669 quads (out of 55512 healpixes) this pass. Loosening reuse maximum to 16... Trying 32843 healpixes. ............................................................................... Made 11973 quads (out of 32843 healpixes) this pass. Loosening reuse maximum to 17... Trying 20870 healpixes. ............................................................................... Made 5768 quads (out of 20870 healpixes) this pass. Loosening reuse maximum to 18... Trying 15102 healpixes. ............................................................................... Made 2665 quads (out of 15102 healpixes) this pass. Loosening reuse maximum to 19... Trying 12437 healpixes. ............................................................................... Made 1174 quads (out of 12437 healpixes) this pass. Loosening reuse maximum to 20... Trying 11263 healpixes. ............................................................................... Made 535 quads (out of 11263 healpixes) this pass. Writing quads... Used 1105.67 s user, 1.6481 s system (1107.31 s total), 2492.96 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.yqRRIv will write KD tree file /tmp/tmp.ckdt.2MUVYu Reading codes... Read 12370008 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.2MUVYu... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.oybrLp and /tmp/tmp.quad.rpe9Js to /tmp/tmp.skdt2.3hQvLS and /tmp/tmp.quad2.1mu6xg Reading star tree from /tmp/tmp.skdt.oybrLp ... Reading quadfile from /tmp/tmp.quad.rpe9Js ... Writing quadfile to /tmp/tmp.quad2.1mu6xg ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.3hQvLS ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.1mu6xg and /tmp/tmp.ckdt.2MUVYu to /tmp/tmp.quad3.dDEZQk and /tmp/tmp.ckdt2.OFRxHi Reading code tree from /tmp/tmp.ckdt.2MUVYu ... Reading quads from /tmp/tmp.quad2.1mu6xg ... Writing quads to /tmp/tmp.quad3.dDEZQk ... Writing code kdtree to /tmp/tmp.ckdt2.OFRxHi ... Merging /tmp/tmp.quad3.dDEZQk and /tmp/tmp.ckdt2.OFRxHi and /tmp/tmp.skdt2.3hQvLS to index-130331000-45.fits Reading code tree from /tmp/tmp.ckdt2.OFRxHi ... Ok. Reading star tree from /tmp/tmp.skdt2.3hQvLS ... Ok. Reading quads from /tmp/tmp.quad3.dDEZQk ... Ok.