fitting with gsl doc