Maximum entropy principle and classical evolution equations with source terms