Temperature dependent effective potential method for accurate free