The problem of heat flow density determination from inaccurate data