Finding identities of diatomics from Spectroscopy and Mass Spec Data
Is this problem conceptual, based on hypothetical data?


  Through [m]ass [s]pec, I found 2 strong spectral lines at $30.0077086\ \mathrm{g\ mol^{-1}}$ and $41.9766928\ \mathrm{g\ mol^{-1}}$.


These mass-to-charge ratios or $m/z$ values are implausibly precise.  The significant figures you show imply a precision of about 30 parts-per-billion (ppb) mass accuracy.  That is well outside the specification of any commercial instrument I am aware of.

Also, if you are right about the first ion being, $\ce{NO}$, the value is inaccurate.  The neutral $\ce{^14N^16O}$ molecule has a mass of 29.99799 Da.  The positively charged ion formed by electron loss from the neutral species would have a mass of 29.9974 Da.  This latter value is off from the value you quote by about 341 parts-per-million.  So if the mass spectrometry data really is precise to within 30 parts-per-billion, and it is accurate, then the molecule can't be $\ce{NO}$.

In fact, with mass spectrometry data that precise (and accurate), we shouldn't need any other data to identify the diatomics, other than the fact that they are diatomics.  We can add the mass of every possible nuclide to every other possible nuclide and see which give the right mass.

Here's how to do that using the R packages ecipex and dplyr.

require(ecipex)
require(dplyr)
nistiso %&gt;% 
    mutate(foo = 1) %&gt;% 
    left_join(., ., by='foo') %&gt;% 
    filter(mass.x &gt; mass.y) %&gt;%
    mutate(diatomic_mass = mass.x + mass.y) %&gt;% 
    filter(diatomic_mass &lt; 30.00771, diatomic_mass &gt; 30.00770)


The result is that only the $\ce{^11B^19F}$ diatomic molecule has the requisite mass. Even if you loosen the mass tolerances to allow for e.g. for electron loss or gain, this is still the only possible diatomic with the right mass.

You can repeat this exercise for the other data point, and find that $\ce{^40Ca^2H}$ is the only possible ion consistent with the data.  ($\ce{^40Ar^2H}$ is close in mass but is more than one electron's mass too light.)

I'll leave it to you to decide whether these ions are chemically meaningful or possible for you, and if they are consistent with the rotational spectra.