The problem CVX solved is certainly a convex problem?

Ou. is convex, therefore maximizing it is non-convex, and can’t be done in CVX.