We prove a phase transition for the law of large numbers and fluctuations of FN, the maximum of the free energy of the log-gamma directed polymer with parameter θ, maximized over all possible starting and ending points in an N×N square. In particular, we find an explicit critical value θc=2Ψ−1(0)>0 (Ψ is the digamma function) such that:
- For θ<θc, FN+2Ψ(θ/2)N has order N1/3 GUE Tracy-Widom fluctuations.
- For θ=θc, FN=Θ(N1/3(logN)2/3).
- For θ>θc, FN=Θ(logN).
Using a connection between the log-gamma polymer and a certain random operator on the honeycomb lattice, recently found by Kotowski and Vir'ag (Commun. Math. Phys. 370, 2019), we deduce a similar phase transition for the asymptotic behavior of the smallest positive eigenvalue of the aforementioned random operator.