For the continuous waves project, folks sometimes add a constant common red noise signal (i.e. a powerlaw with fixed log10A and gamma). Therefore, a 'red noise' object is found in the PTA, however, there is nothing to sample from this signal. Because of this, this line adds red noise prior draws, but there are no red noise parameters to resample from, causing an error.
To fix: check that the dictionary isn't referencing an empty list
https://github.com/nanograv/enterprise_extensions/blob/a46be211cc9740a3ad6a45dd9d488864d32ca83b/enterprise_extensions/sampler.py#L1159
For the continuous waves project, folks sometimes add a constant common red noise signal (i.e. a powerlaw with fixed log10A and gamma). Therefore, a 'red noise' object is found in the PTA, however, there is nothing to sample from this signal. Because of this, this line adds red noise prior draws, but there are no red noise parameters to resample from, causing an error.
To fix: check that the dictionary isn't referencing an empty list