Hey Hasan Sahin!
There is nothing wrong with your script, but I have redone the calculation with GGA,
and I get pretty good results, so I suppose GGA is better for Titanium, but properly the
default pseudopotential for LDA Titanium is not the best for wire calculations.
I also made the calculation spin-polarized, but it is not needed to get good results,
I just like to include spin always
I have attached my results and a slightly modified version of your script - where I have improved the
performance slightly by restarting using the old density.
I hope you can use this