Well, according to the Gerry Anderson podcast, the whole reason Space: 1999 existed is due in part to U.F.O.
In many markets, U.F.O. aired in syndication on the CBS affiliate just before All In The Family and drew respectable ratings; so much so, that Lew Grade and ITC ordered a second season, even though the sets had been struck and the cast released from their contracts.
Thus, work started on the second season tentatively titled U.F.O. 1999 set on an expanded Moonbase with a returning Ed Bishop as Straker.
When All In The Family went into summer hiatus, the replacement show wasn't as popular and ratings for U.F.O. dropped.
Instead of putting two and two together, ITC concluded that U.F.O. wasn't as popular as they thought and canceled plans for a second series.
By this time however, Gerry and Sylvia Anderson were too far along in the development process to let the project die completely; so, they reworked the premise into Space: 1999.