     timers["dedispersion"].start();
     PUSH_NVTX_RANGE("Dedisperse",3)
     DispersionTrials<DedispOutputType> trials(filobj.get_tsamp());
+    std::cout <<"dedispersing...." <<std::endl;
     dedisperser.dedisperse(trials);
     POP_NVTX_RANGE
     timers["dedispersion"].stop();

      if (args.verbose)
	    std::cout << "Searching "<< acc_list.size()<< " acceleration trials for DM "<< tim.get_dm() << std::endl;

      if (args.verbose)
	    std::cout << "Executing forward FFT" << std::endl;
      r2cfft.execute(d_tim.get_data(),d_fseries.get_data());

      if (args.verbose)
	    std::cout << "Forming power spectrum" << std::endl;
      former.form(d_fseries,pspec);

      if (args.verbose)
	    std::cout << "Finding running median" << std::endl;
      rednoise.calculate_median(pspec);

      trials.get_idx(ii,tim);
      
      if (args.verbose)
	       std::cout << "Copying DM trial to device (DM: " << tim.get_dm() << ")"<< std::endl;

      Utils::dump_host_buffer<unsigned int>(tim.get_data(), tim.get_nsamps(), "raw_timeseries_before_baseline_removal_host.dump");

      d_tim.copy_from_host(tim);

      Utils::dump_device_buffer<float>(d_tim.get_data(), d_tim.get_nsamps(), "raw_timeseries_before_baseline_removal.dump");

      d_tim.remove_baseline(trials.get_nsamps());


      Utils::dump_device_buffer<float>(d_tim.get_data(), d_tim.get_nsamps(), "raw_timeseries_after_baseline_removal.dump");

      
      //timers["rednoise"].start()
      if (padding){

      d_tim.fill(trials.get_nsamps(),d_tim.get_nsamps(),0);

	    //padding_mean = stats::mean<float>(d_tim.get_data(),trials.get_nsamps());
      }

      if (args.verbose)
