The error is "Cannot perform the operation: {real affine} .* {convex}"

I don’t know whether your overall problem is convex because I don’t k now how T1 is used. Have you proven your optimization problem is convex?

it appears that you either did not read or did not understand the link provided to you in a previous question.