Entropy optimized radiative flow of viscous nanomaterial subject to induced magnetic field