Study of penetrating energetic electrons and generation of bremsstrahlung X-Ray in the lower ionosphere