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-36.fits... Got 73436717 stars Sweep 1: 1549541 stars Sweep 2: 1548102 stars Sweep 3: 1543931 stars Sweep 4: 1534146 stars Sweep 5: 1515826 stars Sweep 6: 1486439 stars Sweep 7: 1445383 stars Sweep 8: 1394937 stars Sweep 9: 1338038 stars Sweep 10: 1279262 stars Total: 14635605 stars Writing output... First RA,Dec: 138.298,-69.7167 First x,y,z: -0.258823,0.230619,-0.93799 Treetype: 0x10404 After kdtree_build: kdtree: type 0x10404 lr 0xcea6450 perm 0x15554e49b010 bb (nil) nbb 0 split 0xd2a6460 splitdim (nil) dimbits 2 dimmask 0x3 splitmask 0xfffffffc data 0x2728840 free data 1 range [-1, 1] [-1, 1] [-1, 1] scale 2.14748e+09 invscale 4.65661e-10 Ndata 14635605 Ndim 3 Nnodes 2097151 Nbottom 1048576 Ninterior 1048575 Nlevels 21 has_linear_lr 0 name stars First data elements in tree: -5.97336e-309,1.37903e+62,2.89888e-257 Reading star kdtree /tmp/tmp.skdt.bYKkQn ... Will write to quad file /tmp/tmp.quad.dEKIuR and code file /tmp/tmp.code.KX278k Nside=2490. Nside^2=6200100. Number of healpixes=74401200. Healpix side length ~ 1.41283 arcmin. Star tree contains 14635605 objects. Healpix radius 59.9412 arcsec, quad scale 60 arcsec, total 121.141 arcsec Pass 1 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549530 quads (out of 1550025 healpixes) this pass. Made 1549530 quads so far. Merging quads... Pass 2 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549409 quads (out of 1550025 healpixes) this pass. Made 3098939 quads so far. Merging quads... Pass 3 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549333 quads (out of 1550025 healpixes) this pass. Made 4648272 quads so far. Merging quads... Pass 4 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549145 quads (out of 1550025 healpixes) this pass. Made 6197417 quads so far. Merging quads... Pass 5 of 16. Trying 1550025 healpixes. ............................................................................... Made 1548768 quads (out of 1550025 healpixes) this pass. Made 7746185 quads so far. Merging quads... Pass 6 of 16. Trying 1550025 healpixes. ............................................................................... Made 1548229 quads (out of 1550025 healpixes) this pass. Made 9294414 quads so far. Merging quads... Pass 7 of 16. Trying 1550025 healpixes. ............................................................................... Made 1547357 quads (out of 1550025 healpixes) this pass. Made 10841771 quads so far. Merging quads... Pass 8 of 16. Trying 1550025 healpixes. ............................................................................... Made 1545755 quads (out of 1550025 healpixes) this pass. Made 12387526 quads so far. Merging quads... Pass 9 of 16. Trying 1550025 healpixes. ............................................................................... Made 1542297 quads (out of 1550025 healpixes) this pass. Made 13929823 quads so far. Merging quads... Pass 10 of 16. Trying 1550025 healpixes. ............................................................................... Made 1535737 quads (out of 1550025 healpixes) this pass. Made 15465560 quads so far. Merging quads... Pass 11 of 16. Trying 1550025 healpixes. ............................................................................... Made 1523889 quads (out of 1550025 healpixes) this pass. Made 16989449 quads so far. Merging quads... Pass 12 of 16. Trying 1550025 healpixes. ............................................................................... Made 1505002 quads (out of 1550025 healpixes) this pass. Made 18494451 quads so far. Merging quads... Pass 13 of 16. Trying 1550025 healpixes. ............................................................................... Made 1477435 quads (out of 1550025 healpixes) this pass. Made 19971886 quads so far. Merging quads... Pass 14 of 16. Trying 1550025 healpixes. ............................................................................... Made 1439869 quads (out of 1550025 healpixes) this pass. Made 21411755 quads so far. Merging quads... Pass 15 of 16. Trying 1550025 healpixes. ............................................................................... Made 1391641 quads (out of 1550025 healpixes) this pass. Made 22803396 quads so far. Merging quads... Pass 16 of 16. Trying 1550025 healpixes. ............................................................................... Made 1329078 quads (out of 1550025 healpixes) this pass. Made 24132474 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 667750 healpixes. ............................................................................... Made 419788 quads (out of 667750 healpixes) this pass. Loosening reuse maximum to 10... Trying 247962 healpixes. ............................................................................... Made 157334 quads (out of 247962 healpixes) this pass. Loosening reuse maximum to 11... Trying 90628 healpixes. ............................................................................... Made 49685 quads (out of 90628 healpixes) this pass. Loosening reuse maximum to 12... Trying 40943 healpixes. ............................................................................... Made 14605 quads (out of 40943 healpixes) this pass. Loosening reuse maximum to 13... Trying 26338 healpixes. ............................................................................... Made 5149 quads (out of 26338 healpixes) this pass. Loosening reuse maximum to 14... Trying 21189 healpixes. ............................................................................... Made 2356 quads (out of 21189 healpixes) this pass. Loosening reuse maximum to 15... Trying 18833 healpixes. ............................................................................... Made 1449 quads (out of 18833 healpixes) this pass. Loosening reuse maximum to 16... Trying 17384 healpixes. ............................................................................... Made 987 quads (out of 17384 healpixes) this pass. Writing quads... Used 2916.71 s user, 109.473 s system (3026.18 s total), 3118.82 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.KX278k will write KD tree file /tmp/tmp.ckdt.aTtvQ6 Reading codes... Read 24783827 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.aTtvQ6... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.bYKkQn and /tmp/tmp.quad.dEKIuR to /tmp/tmp.skdt2.28J4QC and /tmp/tmp.quad2.yr5ER8 Reading star tree from /tmp/tmp.skdt.bYKkQn ... Reading quadfile from /tmp/tmp.quad.dEKIuR ... Writing quadfile to /tmp/tmp.quad2.yr5ER8 ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.28J4QC ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.yr5ER8 and /tmp/tmp.ckdt.aTtvQ6 to /tmp/tmp.quad3.qJT0qQ and /tmp/tmp.ckdt2.J2bkEu Reading code tree from /tmp/tmp.ckdt.aTtvQ6 ... Reading quads from /tmp/tmp.quad2.yr5ER8 ... Writing quads to /tmp/tmp.quad3.qJT0qQ ... Writing code kdtree to /tmp/tmp.ckdt2.J2bkEu ... Merging /tmp/tmp.quad3.qJT0qQ and /tmp/tmp.ckdt2.J2bkEu and /tmp/tmp.skdt2.28J4QC to index-52m1-36.fits Reading code tree from /tmp/tmp.ckdt2.J2bkEu ... Ok. Reading star tree from /tmp/tmp.skdt2.28J4QC ... Ok. Reading quads from /tmp/tmp.quad3.qJT0qQ ... Ok.