Inconsistent fuel supply could be the problem. It's possible the fuel pump is going out. It could also be an ignition problem but the fact it will run up over 3000 rpm without incident makes me think fuel, not ignition.