Magneto-optical study of flux penetration and critical current densities in