Let $$ f(x) = x^3 - 6x^2 + 9x + 1 $$. Determine the value of $$ x $$ at which the function attains its maximum. Then, evaluate the function at this maximum point to find $$ f(x) $$.