New modular invariants in $$ \mathcal{N} $$ = 4 Super-Yang-Mills theory