A distributed active patch antenna model of a Josephson oscillator