Suppose $A$ is a $n \times n$ matrix with $0-1$ entries. Prove that the determinant of $X = nJ+B+B^*+2AA^T$ is divisible by $2^{n-1}$ where $B=(i-1)AJ$ and $J$ is the all ones matrix.
I've reduced a tricky tournament problem to this simpler problem, but I'm not sure how to proceed. The biggest observation so far is that $X$ is Hermitian because it is the sum of $3$ Hermitian matrices. A hint rather than a full answer would be fine since I'm trying to do as much of this problem by myself as possible.
Edit: I forgot one detail. Why is the determinant non-negative?