Ab initio thermodynamic modeling of distal multisite transcription regulation