Study of the influence of magnetic field profile on plasma parameters in a simple mirror trap