Programming an Atmega328 using an Arduino Uno

hiduino:
First thing, never connect a LED directly to an output pin and power or ground. You should always have at least a 220 ohm or higher resistor in series with the LED. Even though it may seem to work with no harm, you could be damaging the ATmega328P chip by drawing too much current through the port.

Which method of programming are you using? Are you removing the m328p from the Uno, or have a separate m328p to program with?

Oh, I didn't realize it really mattered that much to put the led directly to the pin. I usually do use a resistor but I guess I didn't realize it was this important. I'll do that from now on, thank you!
As for your question, this was a chip taken directly out of my current Uno.