Entropy production and large deviation function for systems with microscopically irreversible transitions. (26th January 2016)