Fundamental and harmonic submillimeter-wave emission from parallel Josephson junction arrays