On the partition function of a directed polymer in a Gaussian random