Cannot format SSD to OS X Extended (Journaled) in order to restore
If trying one more time to format HFS non journaled fails, you may want to use the erase and install steps from:


https://support.apple.com/en-us/HT204904


Hopefully it's not a hardware error and you can just fix this with a clean erase. Installing to an external dive may also help you determine if it's an issue with procedure or your installer vs the ssd.