Shell model and octupole states in148Gd from in-beam experiments