FERMI&Elettra Accelerator Technical Optimization Final Report