Move creation and filling of analysis parameters from LocalInit to Terminate