The bike is fooked, there is nothing you can do... You better send it to me and I will take care of it.
Just kiding(if you are willing to send it to me then Im not). Get rid of the optimate, if everything is oke with the bike charging system, you dont need it. Get a 12Ah or 14Ah battery and a diferent starter solenoid(but it doesnt realy need it)
I dont know why people have so many problems with the batery and complicate with optimate-like chargers, I never charge it, only remove it during winter and the bike is always oke, fires up like a rocket. You only need to charge the batery if the bike hasnt been started for more than 10-14 days.
For now the best thing is, if you can(need a V meter), mesure the voltage on the battery to make sure its not empty, should be around 12.x V - 13v. If you hear the clicking noise you have to seperate what you hear, the pump or the solenoid, it is posible that the starter solenoid has gone puf, if thats the case, hit it with something hard
a few times, should work, but usualy on bikes this new it doesnt die that easily.
If you do manage to start the bike mesure the voltage on the batery again, should be above 13v(with the bike running), that is how you know your charging system works.