Father Dowling marks 40th priestly anniversary