diff --git a/gstlal-inspiral/bin/Makefile.am b/gstlal-inspiral/bin/Makefile.am
index 96670fafb33fded0057378f4985ad6c1de5963d5..d21d3227a1d046f4e16a3b1f677fc7f51bd71cd8 100644
--- a/gstlal-inspiral/bin/Makefile.am
+++ b/gstlal-inspiral/bin/Makefile.am
@@ -8,6 +8,7 @@ dist_bin_SCRIPTS = \
 	gstlal_inspiral_calc_rank_pdfs \
 	gstlal_inspiral_coinc_extractor \
 	gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs \
+	gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs_dag \
 	gstlal_inspiral_create_p_of_ifos_given_horizon \
 	gstlal_inspiral_create_prior_diststats \
 	gstlal_inspiral_dlrs_diag \
diff --git a/gstlal-inspiral/bin/gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs_dag b/gstlal-inspiral/bin/gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs_dag
new file mode 100755
index 0000000000000000000000000000000000000000..c3bb293681a443b38353acc62937f33250176f23
--- /dev/null
+++ b/gstlal-inspiral/bin/gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs_dag
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+#
+# Copyright (C) 2018 Chad Hanna
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+
+from glue import pipeline
+from gstlal import inspiral_pipe
+from gstlal import dagparts as gstlaldagparts
+
+
+try:
+	os.mkdir("logs")
+except:
+	pass
+dag = inspiral_pipe.DAG("dt_dphi")
+
+margJob = inspiral_pipe.generic_job("gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs", condor_commands = {"request_memory":"4GB", "want_graceful_removal":"True", "kill_sig":"15", "accounting_group":"ligo.prod.o2.cbc.uber.gstlaloffline"})
+
+for start in range(0,3345408,10000):
+	stop = start + 10000
+	inspiral_pipe.generic_node(margJob, dag, parent_nodes = [], opts = {"" : [start, stop]})
+dag.write_sub_files()
+dag.write_dag()
+dag.write_script()
+dag.write_cache()
+