Incoherent radiation spectroscopy based on AC Josephson effect