Disciplined convex programming error: Cannot perform the operation: {positive constant} ./ {real affine}

erfc is neither convex nor concave, ans is not supported by CVX. The closest CVX comes to supporting this is an approximation to the log of the Normal cumulative distribution function, log_normcdf (note that erfc can be expressed in terms of Normal cumulative distribution function). But I don;t see how this will do what you need. So I suggest you use some other tool which can handle non-convex problems.