Reading index-130331000-40.fits... Got 13461134 stars Nside=1246. Nside^2=1552516. Number of healpixes=18630192. Healpix side length ~ 2.82339 arcmin. Star tree contains 13461134 objects. Healpix radius 119.786 arcsec, quad scale 120 arcsec, total 242.184 arcsec Scanning 13461134 input stars... Will check 388128 healpixes. Pass 1 of 16. Trying 388128 healpixes. ............................................................................... Made 388127 quads (out of 388128 healpixes) this pass. Made 388127 quads so far. Merging quads... Pass 2 of 16. Trying 388128 healpixes. ............................................................................... Made 388127 quads (out of 388128 healpixes) this pass. Made 776254 quads so far. Merging quads... Pass 3 of 16. Trying 388128 healpixes. ............................................................................... Made 388127 quads (out of 388128 healpixes) this pass. Made 1164381 quads so far. Merging quads... Pass 4 of 16. Trying 388128 healpixes. ............................................................................... Made 388127 quads (out of 388128 healpixes) this pass. Made 1552508 quads so far. Merging quads... Pass 5 of 16. Trying 388128 healpixes. ............................................................................... Made 388125 quads (out of 388128 healpixes) this pass. Made 1940633 quads so far. Merging quads... Pass 6 of 16. Trying 388128 healpixes. ............................................................................... Made 388124 quads (out of 388128 healpixes) this pass. Made 2328757 quads so far. Merging quads... Pass 7 of 16. Trying 388128 healpixes. ............................................................................... Made 388121 quads (out of 388128 healpixes) this pass. Made 2716878 quads so far. Merging quads... Pass 8 of 16. Trying 388128 healpixes. ............................................................................... Made 388121 quads (out of 388128 healpixes) this pass. Made 3104999 quads so far. Merging quads... Pass 9 of 16. Trying 388128 healpixes. ............................................................................... Made 388119 quads (out of 388128 healpixes) this pass. Made 3493118 quads so far. Merging quads... Pass 10 of 16. Trying 388128 healpixes. ............................................................................... Made 388119 quads (out of 388128 healpixes) this pass. Made 3881237 quads so far. Merging quads... Pass 11 of 16. Trying 388128 healpixes. ............................................................................... Made 388118 quads (out of 388128 healpixes) this pass. Made 4269355 quads so far. Merging quads... Pass 12 of 16. Trying 388128 healpixes. ............................................................................... Made 388117 quads (out of 388128 healpixes) this pass. Made 4657472 quads so far. Merging quads... Pass 13 of 16. Trying 388128 healpixes. ............................................................................... Made 388114 quads (out of 388128 healpixes) this pass. Made 5045586 quads so far. Merging quads... Pass 14 of 16. Trying 388128 healpixes. ............................................................................... Made 388111 quads (out of 388128 healpixes) this pass. Made 5433697 quads so far. Merging quads... Pass 15 of 16. Trying 388128 healpixes. ............................................................................... Made 388107 quads (out of 388128 healpixes) this pass. Made 5821804 quads so far. Merging quads... Pass 16 of 16. Trying 388128 healpixes. ............................................................................... Made 388107 quads (out of 388128 healpixes) this pass. Made 6209911 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 137 healpixes. ............................................................................... Made 50 quads (out of 137 healpixes) this pass. Loosening reuse maximum to 10... Trying 87 healpixes. ............................................................................... Made 26 quads (out of 87 healpixes) this pass. Loosening reuse maximum to 11... Trying 61 healpixes. ............................................................ Made 12 quads (out of 61 healpixes) this pass. Loosening reuse maximum to 12... Trying 49 healpixes. ................................................ Made 11 quads (out of 49 healpixes) this pass. Loosening reuse maximum to 13... Trying 38 healpixes. ..................................... Made 6 quads (out of 38 healpixes) this pass. Loosening reuse maximum to 14... Trying 32 healpixes. ............................... Made 5 quads (out of 32 healpixes) this pass. Loosening reuse maximum to 15... Trying 27 healpixes. .......................... Made 4 quads (out of 27 healpixes) this pass. Loosening reuse maximum to 16... Trying 23 healpixes. ...................... Made 3 quads (out of 23 healpixes) this pass. Loosening reuse maximum to 17... Trying 20 healpixes. ................... Made 1 quads (out of 20 healpixes) this pass. Loosening reuse maximum to 18... Trying 19 healpixes. .................. Made 1 quads (out of 19 healpixes) this pass. Loosening reuse maximum to 19... Trying 18 healpixes. ................. Made 1 quads (out of 18 healpixes) this pass. Loosening reuse maximum to 20... Trying 17 healpixes. ................ Made 1 quads (out of 17 healpixes) this pass. Writing quads... Used 8469.53 s user, 2.83218 s system (8472.36 s total), 13124 s wall time since last check Done. Building code kdtree from 6210032 codes dim: 4 Building tree... Done Unpermute-quads... Writing to file index-130331001-40.fits