OK I need help, I been riding and fixing sense 1972 but I got a problem with my 03 YZ450F
Here's the story it was running great and we took it to the desert about 4000-5000 above sea level, this also is the same altitude I live at, my buddy was riding my YZ450F when he passed me an I noticed blue smoke coming off the engine on both sides..( Presumed oil leak) I stopped him and yes a small pin hole had developed in the steel oil line letting oil run on most the back side of the engine. I sent another friend to camp for a quart of oil we filled it and rode back to camp carefully,, It still ran great but was done for the trip.
I installed a new line an changed oil and filter than took a ride with my daughter up in the mountains, The idle was rough but other than that it ran great, but soon developed a problem when getting into technical stuff with throttle closed and clutching it up some trails as soon as I opened the throttle it would die. 0 to 1/4 throttle than it would rough idle for any where from 3 seconds to 1 minute than just die. Also it was very hard starting and would only start with no throttle which is normal but sometimes I would have to use the hotstart than it would fire and rough idle but as soon as I touched the throttle it would just die, one time I got it running and ran it down the fire road at high RPM an it was missing like crap, I came back up it died, started it again and ran great at high rpm's but still rough idle and would die if I barely blipped the gas. I thought maybe the altitude but when I got home it ran the same.
I took the carb apart and completely cleaned everything and adjusted the accelerator pump but still no different. I'm thinking something electrical but it came on so quick.... I personally don't think the oil leak caused it as it ran fine back to camp just smoked a lot from the leak.
I have no mechanics I trust and in fact I have received many dirtbikes and ATV's from neighbors to fix an repair because the dealers couldn't find the problems.
But this is stumping me almost seems like a carb/electrical problem but it came on like instantly......
Any help or ideas would be appreciated