Statistical field theory of a nonadditive system