I think this is an error. Thee are Latin adverbs ending in -tim, but "legitim" is not one.
That would be "legitime". I can remember "statim", 'seriatim", "verbatim".
How many others can you remember?