IR beam and laser intensity measurement