Hi Salman,
Welcome to the community!
You didn’t specify which edition you’re using. Community Edition is always free. If you got a trial license for a commercial edition, then that does necessarily expire. With an invalid license, analysis does fail (everything else keeps working), but I would expect a different error message.
Where are you seeing this Authentication Failed error? Is it happening during analysis? If so, can you provide the analysis log?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
This guide will help you find them.
Ann