it could be mecanical, electrical, or fuel related. Have you tried the troubleshooting procedures in the service manual?
Since you just did all the general maintenance, did the bike do the same thing before you messed with it? If not, it is probably something you did. Valve too tight? Carb boot not tight? Plug wire not all the way down? Plug wire pulled loose from coil?