diff --git a/gstlal-ugly/bin/gstlal_ll_dq b/gstlal-ugly/bin/gstlal_ll_dq
index bb7273ef5f1808d3af70e60e994e289e5f8223b3..f981afab4f540e1872ae051427b903db5a42548f 100755
--- a/gstlal-ugly/bin/gstlal_ll_dq
+++ b/gstlal-ugly/bin/gstlal_ll_dq
@@ -145,6 +145,7 @@ class PSDHandler(simplehandler.Handler):
 			# Save a "latest" psd
 			# NOTE: The PSD is special, we just record it. No min/median/max
 			thisdir = os.path.join(self.out_path, io.hdf5.gps_to_leaf_directory(buftime))
+			aggregator.makedir(thisdir)
 			psd_name = "%s-PSD-%d-100.hdf5" % (self.instrument, int(round(buftime,-2)))
 			self.to_hdf5(os.path.join(thisdir, psd_name), {"freq": psd_freq, "asd": psd_data, "time": numpy.array([buftime])})