Warning: you should set the unique-id for this index (with -I). Reading /global/cfs/cdirs/cosmo/work/users/dstn/index-5200/catalogs/gaia-ns2-10.fits... Got 6637505 stars Sweep 1: 1486001 stars Sweep 2: 1307127 stars Sweep 3: 1038116 stars Sweep 4: 747944 stars Sweep 5: 494073 stars Sweep 6: 302939 stars Sweep 7: 174498 stars Sweep 8: 94231 stars Sweep 9: 48525 stars Sweep 10: 23780 stars Total: 5717234 stars Writing output... First RA,Dec: 269.152,51.4889 First x,y,z: -0.00922001,-0.622597,0.782488 Treetype: 0x10404 After kdtree_build: kdtree: type 0x10404 lr 0xc5967a0 perm 0xafc73d0 bb (nil) nbb 0 split 0xc6967b0 splitdim (nil) dimbits 2 dimmask 0x3 splitmask 0xfffffffc data 0x74cb50 free data 1 range [-1, 1] [-1, 1] [-1, 1] scale 2.14748e+09 invscale 4.65661e-10 Ndata 5717234 Ndim 3 Nnodes 524287 Nbottom 262144 Ninterior 262143 Nlevels 19 has_linear_lr 0 name stars First data elements in tree: 2.52015e-226,7.50052e+82,-2.33161e-99 Reading star kdtree /tmp/tmp.skdt.4YS8Ur ... Will write to quad file /tmp/tmp.quad.8LPXaE and code file /tmp/tmp.code.WfFNqQ Nside=2490. Nside^2=6200100. Number of healpixes=74401200. Healpix side length ~ 1.41283 arcmin. Star tree contains 5717234 objects. Healpix radius 59.9412 arcsec, quad scale 60 arcsec, total 121.141 arcsec Pass 1 of 16. Trying 1550025 healpixes. ............................................................................... Made 1473026 quads (out of 1550025 healpixes) this pass. Made 1473026 quads so far. Merging quads... Pass 2 of 16. Trying 1550025 healpixes. ............................................................................... Made 1431667 quads (out of 1550025 healpixes) this pass. Made 2904693 quads so far. Merging quads... Pass 3 of 16. Trying 1550025 healpixes. ............................................................................... Made 1399274 quads (out of 1550025 healpixes) this pass. Made 4303967 quads so far. Merging quads... Pass 4 of 16. Trying 1550025 healpixes. ............................................................................... Made 1307116 quads (out of 1550025 healpixes) this pass. Made 5611083 quads so far. Merging quads... Pass 5 of 16. Trying 1550025 healpixes. ............................................................................... Made 1120707 quads (out of 1550025 healpixes) this pass. Made 6731790 quads so far. Merging quads... Pass 6 of 16. Trying 1550025 healpixes. ............................................................................... Made 903299 quads (out of 1550025 healpixes) this pass. Made 7635089 quads so far. Merging quads... Pass 7 of 16. Trying 1550025 healpixes. ............................................................................... Made 711106 quads (out of 1550025 healpixes) this pass. Made 8346195 quads so far. Merging quads... Pass 8 of 16. Trying 1550025 healpixes. ............................................................................... Made 543936 quads (out of 1550025 healpixes) this pass. Made 8890131 quads so far. Merging quads... Pass 9 of 16. Trying 1550025 healpixes. ............................................................................... Made 396799 quads (out of 1550025 healpixes) this pass. Made 9286930 quads so far. Merging quads... Pass 10 of 16. Trying 1550025 healpixes. ............................................................................... Made 274874 quads (out of 1550025 healpixes) this pass. Made 9561804 quads so far. Merging quads... Pass 11 of 16. Trying 1550025 healpixes. ............................................................................... Made 182342 quads (out of 1550025 healpixes) this pass. Made 9744146 quads so far. Merging quads... Pass 12 of 16. Trying 1550025 healpixes. ............................................................................... Made 115564 quads (out of 1550025 healpixes) this pass. Made 9859710 quads so far. Merging quads... Pass 13 of 16. Trying 1550025 healpixes. ............................................................................... Made 69372 quads (out of 1550025 healpixes) this pass. Made 9929082 quads so far. Merging quads... Pass 14 of 16. Trying 1550025 healpixes. ............................................................................... Made 39524 quads (out of 1550025 healpixes) this pass. Made 9968606 quads so far. Merging quads... Pass 15 of 16. Trying 1550025 healpixes. ............................................................................... Made 21140 quads (out of 1550025 healpixes) this pass. Made 9989746 quads so far. Merging quads... Pass 16 of 16. Trying 1550025 healpixes. ............................................................................... Made 10796 quads (out of 1550025 healpixes) this pass. Made 10000542 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 14799858 healpixes. ............................................................................... Made 1410179 quads (out of 14799858 healpixes) this pass. Loosening reuse maximum to 10... Trying 13389679 healpixes. ............................................................................... Made 1365228 quads (out of 13389679 healpixes) this pass. Loosening reuse maximum to 11... Trying 12024451 healpixes. ............................................................................... Made 1304197 quads (out of 12024451 healpixes) this pass. Loosening reuse maximum to 12... Trying 10720254 healpixes. ............................................................................... Made 1219230 quads (out of 10720254 healpixes) this pass. Loosening reuse maximum to 13... Trying 9501024 healpixes. ............................................................................... Made 1112403 quads (out of 9501024 healpixes) this pass. Loosening reuse maximum to 14... Trying 8388621 healpixes. ............................................................................... Made 991754 quads (out of 8388621 healpixes) this pass. Loosening reuse maximum to 15... Trying 7396867 healpixes. ............................................................................... Made 865306 quads (out of 7396867 healpixes) this pass. Loosening reuse maximum to 16... Trying 6531561 healpixes. ............................................................................... Made 734853 quads (out of 6531561 healpixes) this pass. Writing quads... Used 2879.39 s user, 83.2092 s system (2962.6 s total), 2987.45 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.WfFNqQ will write KD tree file /tmp/tmp.ckdt.DSAsX0 Reading codes... Read 19003692 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.DSAsX0... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.4YS8Ur and /tmp/tmp.quad.8LPXaE to /tmp/tmp.skdt2.Xr2H5x and /tmp/tmp.quad2.IoFYd5 Reading star tree from /tmp/tmp.skdt.4YS8Ur ... Reading quadfile from /tmp/tmp.quad.8LPXaE ... Writing quadfile to /tmp/tmp.quad2.IoFYd5 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.Xr2H5x ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.IoFYd5 and /tmp/tmp.ckdt.DSAsX0 to /tmp/tmp.quad3.38JHZX and /tmp/tmp.ckdt2.DGGPB1 Reading code tree from /tmp/tmp.ckdt.DSAsX0 ... Reading quads from /tmp/tmp.quad2.IoFYd5 ... Writing quads to /tmp/tmp.quad3.38JHZX ... Writing code kdtree to /tmp/tmp.ckdt2.DGGPB1 ... Merging /tmp/tmp.quad3.38JHZX and /tmp/tmp.ckdt2.DGGPB1 and /tmp/tmp.skdt2.Xr2H5x to index-52m1-10.fits Reading code tree from /tmp/tmp.ckdt2.DGGPB1 ... Ok. Reading star tree from /tmp/tmp.skdt2.Xr2H5x ... Ok. Reading quads from /tmp/tmp.quad3.38JHZX ... Ok.