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-14.fits... Got 42657756 stars Sweep 1: 1548663 stars Sweep 2: 1541788 stars Sweep 3: 1522949 stars Sweep 4: 1487910 stars Sweep 5: 1436085 stars Sweep 6: 1371577 stars Sweep 7: 1300258 stars Sweep 8: 1228466 stars Sweep 9: 1160065 stars Sweep 10: 1096751 stars Total: 13694512 stars Writing output... First RA,Dec: 345.944,28.0834 First x,y,z: 0.855849,-0.214268,0.470756 Treetype: 0x10404 After kdtree_build: kdtree: type 0x10404 lr 0xa405300 perm 0x15554e832010 bb (nil) nbb 0 split 0xa805310 splitdim (nil) dimbits 2 dimmask 0x3 splitmask 0xfffffffc data 0x74c8b0 free data 1 range [-1, 1] [-1, 1] [-1, 1] scale 2.14748e+09 invscale 4.65661e-10 Ndata 13694512 Ndim 3 Nnodes 2097151 Nbottom 1048576 Ninterior 1048575 Nlevels 21 has_linear_lr 0 name stars First data elements in tree: 6.75993e+76,-6.99837e+220,-2.05178e-92 Reading star kdtree /tmp/tmp.skdt.60M9oJ ... Will write to quad file /tmp/tmp.quad.cmu9Oe and code file /tmp/tmp.code.TyyafK Nside=2490. Nside^2=6200100. Number of healpixes=74401200. Healpix side length ~ 1.41283 arcmin. Star tree contains 13694512 objects. Healpix radius 59.9412 arcsec, quad scale 60 arcsec, total 121.141 arcsec Pass 1 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549796 quads (out of 1550025 healpixes) this pass. Made 1549796 quads so far. Merging quads... Pass 2 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549594 quads (out of 1550025 healpixes) this pass. Made 3099390 quads so far. Merging quads... Pass 3 of 16. Trying 1550025 healpixes. ............................................................................... Made 1549356 quads (out of 1550025 healpixes) this pass. Made 4648746 quads so far. Merging quads... Pass 4 of 16. Trying 1550025 healpixes. ............................................................................... Made 1548396 quads (out of 1550025 healpixes) this pass. Made 6197142 quads so far. Merging quads... Pass 5 of 16. Trying 1550025 healpixes. ............................................................................... Made 1544535 quads (out of 1550025 healpixes) this pass. Made 7741677 quads so far. Merging quads... Pass 6 of 16. Trying 1550025 healpixes. ............................................................................... Made 1536034 quads (out of 1550025 healpixes) this pass. Made 9277711 quads so far. Merging quads... Pass 7 of 16. Trying 1550025 healpixes. ............................................................................... Made 1523063 quads (out of 1550025 healpixes) this pass. Made 10800774 quads so far. Merging quads... Pass 8 of 16. Trying 1550025 healpixes. ............................................................................... Made 1503383 quads (out of 1550025 healpixes) this pass. Made 12304157 quads so far. Merging quads... Pass 9 of 16. Trying 1550025 healpixes. ............................................................................... Made 1474420 quads (out of 1550025 healpixes) this pass. Made 13778577 quads so far. Merging quads... Pass 10 of 16. Trying 1550025 healpixes. ............................................................................... Made 1437110 quads (out of 1550025 healpixes) this pass. Made 15215687 quads so far. Merging quads... Pass 11 of 16. Trying 1550025 healpixes. ............................................................................... Made 1394277 quads (out of 1550025 healpixes) this pass. Made 16609964 quads so far. Merging quads... Pass 12 of 16. Trying 1550025 healpixes. ............................................................................... Made 1347941 quads (out of 1550025 healpixes) this pass. Made 17957905 quads so far. Merging quads... Pass 13 of 16. Trying 1550025 healpixes. ............................................................................... Made 1299158 quads (out of 1550025 healpixes) this pass. Made 19257063 quads so far. Merging quads... Pass 14 of 16. Trying 1550025 healpixes. ............................................................................... Made 1247990 quads (out of 1550025 healpixes) this pass. Made 20505053 quads so far. Merging quads... Pass 15 of 16. Trying 1550025 healpixes. ............................................................................... Made 1194212 quads (out of 1550025 healpixes) this pass. Made 21699265 quads so far. Merging quads... Pass 16 of 16. Trying 1550025 healpixes. ............................................................................... Made 1132922 quads (out of 1550025 healpixes) this pass. Made 22832187 quads so far. Merging quads... Loosening reuse maximum to 9... Trying 1968213 healpixes. ............................................................................... Made 679103 quads (out of 1968213 healpixes) this pass. Loosening reuse maximum to 10... Trying 1289110 healpixes. ............................................................................... Made 444310 quads (out of 1289110 healpixes) this pass. Loosening reuse maximum to 11... Trying 844800 healpixes. ............................................................................... Made 306588 quads (out of 844800 healpixes) this pass. Loosening reuse maximum to 12... Trying 538212 healpixes. ............................................................................... Made 206769 quads (out of 538212 healpixes) this pass. Loosening reuse maximum to 13... Trying 331443 healpixes. ............................................................................... Made 133254 quads (out of 331443 healpixes) this pass. Loosening reuse maximum to 14... Trying 198189 healpixes. ............................................................................... Made 81188 quads (out of 198189 healpixes) this pass. Loosening reuse maximum to 15... Trying 117001 healpixes. ............................................................................... Made 46091 quads (out of 117001 healpixes) this pass. Loosening reuse maximum to 16... Trying 70910 healpixes. ............................................................................... Made 24378 quads (out of 70910 healpixes) this pass. Writing quads... Used 2963.09 s user, 101.431 s system (3064.52 s total), 3167.7 s wall time since last check Done. codetree: building KD tree for /tmp/tmp.code.TyyafK will write KD tree file /tmp/tmp.ckdt.xY4Aqw Reading codes... Read 24753868 codes. Building tree... Done Writing code KD tree to /tmp/tmp.ckdt.xY4Aqw... Unpermute-stars... Unpermuting stars from /tmp/tmp.skdt.60M9oJ and /tmp/tmp.quad.cmu9Oe to /tmp/tmp.skdt2.2Dpkos and /tmp/tmp.quad2.qJs5lo Reading star tree from /tmp/tmp.skdt.60M9oJ ... Reading quadfile from /tmp/tmp.quad.cmu9Oe ... Writing quadfile to /tmp/tmp.quad2.qJs5lo ... Writing quads... ............................................................................... Writing star kdtree to /tmp/tmp.skdt2.2Dpkos ... Permuting tag-along table... Unpermute-quads... Unpermuting quads from /tmp/tmp.quad2.qJs5lo and /tmp/tmp.ckdt.xY4Aqw to /tmp/tmp.quad3.iHCLIl and /tmp/tmp.ckdt2.n12p2m Reading code tree from /tmp/tmp.ckdt.xY4Aqw ... Reading quads from /tmp/tmp.quad2.qJs5lo ... Writing quads to /tmp/tmp.quad3.iHCLIl ... Writing code kdtree to /tmp/tmp.ckdt2.n12p2m ... Merging /tmp/tmp.quad3.iHCLIl and /tmp/tmp.ckdt2.n12p2m and /tmp/tmp.skdt2.2Dpkos to index-52m1-14.fits Reading code tree from /tmp/tmp.ckdt2.n12p2m ... Ok. Reading star tree from /tmp/tmp.skdt2.2Dpkos ... Ok. Reading quads from /tmp/tmp.quad3.iHCLIl ... Ok.