If you use only one function to use that.
@*: guess Polynomial6
@*: fit
@*: Y=Y-F(x)
if you use several functions and only one of that you want to subtract you should use a half automatic method.
@*: guess Polynomial6
@*: fit
create function that fit your "information data" (you can use another function type or more functions with another initial fit parameters)
@*: guess PseudoVoigtA(height=~397.3, center=~39.99, area=~460.868, hwhm=~0.58)
@*: guess AnotherFunctions
@*: fit
after that you should remove "information" functions by using mouse in functions panel in GUI - that is easy because functions placed with order of creation
and remove background
@*: Y=Y-F(x)