ionization chamber with internal gas source