Can I ask why you tried reflashing the firmware because of a pattern lock? That seems an extreme - and risky - solution.
Anyway, you are where you are. So if it still has a working recovery you could try going into that and resetting - maybe the tool didn't wipe the phone and the data were incompatible with the version of the software you flashed, in which case a reset will help. I don't know how to access recovery on this phone, but usually rebooting while pressing some combination of buttons is the answer. Or you could use fastboot to erase cache and erase data, which is equivalent to a factory reset. This sp flash tool is presumably just a GUI for fastboot, and may even be able to do those things for you - I prefer to to use fastboot directly, so don't know what this tool can do.
The alternative is to flash again with some software that's more compatible with the handset, if you can find any. Did you check that you had a good download of the stuff you flashed (e.g. checking an md5 sum to make sure it had downloaded correctly)?