Mode gain and junction current in GaAs under lasing conditions | Synapse