Get a global location of a bone in a specific frame using fcurves

I have an armature. For a given bone I want to find it’s global location at some frame using fcurves. I extracted the fcurves but location I get from the evaluate function is not correct(that is, is not in global coordinate system).
Anybody have an idea how to do this? Thank you.