update cbayes_enumerate_sample.py script to correctly use sub-segments of datafile