Photoelectron ionization spectra in a system interacting with a neighbor atom