Full characterization and optimization of a femtosecond ultraviolet laser source for time and angle-resolved photoemission on solid surfaces.