Effects of size and surface anisotropy on thermal magnetization and hysteresis in the magnetic clusters