Maximizing it is simple: set all x to be equiprobable (the uniform distribution).
a sufficiently small β drives up the importance of H relative to the other term, and the entire problem becomes concave with a single global maximum to which we expect to converge.