def make_gfit_guesses(lfits, bounded_lifetimes):
    """Make the initial guesses for the global fit.

    If there are N lifetimes and M wavelengths, this list has the format:
        a11, a12, ..., a1N, ..., aMN, t1, t2, ..., tN
    """
    guesses = []
    for i in range(lfits.shape[1]):
        this_fit = list(lfits[:, i])
        guesses += this_fit
    guesses += [b.lifetime for b in bounded_lifetimes]
    return guesses