I followed the routine of writing the posterior density function as proportional to the product of likelihood, which is (exp(gamma))^(-n), and the prior, which is N(a, b). But later I found that the domain of gamma should be greater than log(max(y1, ..., yn)) which makes the problem become difficult. Anyone can help? Thanks.