   stats.add_misc_info();
   stats.add_header(filename);
   stats.add_search_parameters(args);
-  stats.add_dm_list(dm_list);
+  stats.add_dm_list(full_dm_list);
   
   std::vector<float> acc_list;
   acc_plan.generate_accel_list(0.0,acc_list);

    dedisperser.set_dm_list(dm_list_chunk);

    if (args.verbose){
    std::cout << dm_list.size() << " DM trials" << std::endl;
    for (int ii=0;ii<dm_list.size();ii++)
      std::cout << dm_list[ii] << std::endl;
    std::cout << "Executing dedispersion" << std::endl;
    }


    }

    if(args.verbose)
      std::cout << "Joining worker threads" << std::endl;
    
    for (int ii=0; ii<nthreads; ii++){
      pthread_join(threads[ii],NULL);
