The correlation of thermospheric densities with charged particle precipitation through the magnetospheric cleft