Wavelength dependent phase locking in quantum cascade laser Y-junctions