Yepp. Youre on the wrong ignition wire then.
There are two sides for the ignition, pending on which side of the plug you are on.
Green is ignition on the 98 impreza. Pink wire is the ignition wire off your Viper unit.
Hope this fixes it for you my friend!