After Log Import visits still do not show up for my site

When I run the Log importer tool I don’t see any visits for any of my sites. If I manually run the archive command ( shown below) then the visits show up. I wrote a plugin that performs a log import and then runs a scheduled archive (as shown below) in this situation the visits do not show up. What is going on?

./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url=http://mysite.com