An adjoint approach to identification in electromyography: modeling and first order optimality conditions. (26th November 2021)