calling csharpfits