Quantum optimal control of the dissipative production of a maximally entangled state. (14th December 2018)