Check your battery voltage, then start the bike and check the battery voltage. It should go up while its running.
Any other symptoms? Like FI light is blinking, smell gas, idles funny.... You said it dies out, can you rev it up at all while its running?