Probable user error. Various possibilities exist, the most common are:
- Your function is improperly coded, so it does not do what you think it does. Yeah, like nobody ever does that.
- Your function is not smooth, and is possibly locally constant. Too often we see cases where something was done to make the objective function discrete in some way. Perhaps internal rounding is done somehow.
- Your starting values are such that the start point is in a region where the function is numically constant, to within the tolerances provided.