PORTA.4 is an open drain type. so you can't really drive it like that... you can drive it low but not high... well not directly.

BTW you really need to a resistor in serie with your LEDs to limit the current.