Thermodynamics and local atomic arrangements of gold-nickel alloys