I want to optimize it using Gaussian 09, however its giving error #2070. What parameters should we chose for optimizing using DFT? The image of crystal structure is attached below.
Your compound is not a discrete molecule, as you must know and as seen in the 3x3x3 packing attached. So, this implies that you should model it using periodic boundary conditions (PBC). For PBC, you can find the syntax and an example here https://gaussian.com/pbc/, the parameters that you can tweak are also shown in the same page.
To make it easier, I'll try to use a generic example to create a gaussian input file for PBC. You'll have to input the keywords line with the theory level, and some parameters for checkpoint file, memory, processors, etc. Something like, for example:
After the coordinates, you have to put a translation vector (TV) that tells gaussian the distance to repeat your unit cell following that vector, for a 3D case you'll need 3 TV for 3 directions: