Add NEC logs and optimization directory to gitignore