I check the file. I will commend you some things by steps:
1) With freq calculation you obtain the IR, it is not required to perform it in order to obtain the UV-vis spectra.
2)This input comes from a previous optimization I suppose. I recommend you to refresh the input by deleting all "automatic" commands and checking step by step you new input.
3)In scrf, do you have any modification in solvent or specific change? I say, if you do not have any specific input for solvation in your chk, it is better that do not activate it.
4)In order to obtain the UV-vis spectra, you must require the calculation of excitation states. Check the image. In this case, as it is DFT, you must include TD-dft and select the excitations that you are interested in.
I attach your input with the these points changed. (Check about the .chk file for scrf).
PD: Also, I recommend you to change the number of cpu and RAM memory. It is a way to optimize the time of calculation.
Thank you for your suggestions. I need to verify in different solvents so I need to change the solvation models, so which one can I select? if you have any papers regarding that please upload it.
I am sorry but I do not have any special bibliography about it now. I suggest you to see the keywords of gaussian and follow their bibliography. There, if you follow the names in blue, you will have all information related to search the papers about every specific method and theory.