Self-organization and entropy production in a living cell