Thermodynamic description of the near- and far-field intensity patterns emerging from multimode nonlinear waveguide arrays