Disciplined convex programming error Invalid quadratic form(s): not a square..//

The argument of log is in general a non-convex quadratic, hence the error message. Unless you show otherwise, I will assume this is not a convex optimization problem, even if log is omitted from the objective function.