The H1N1 swine flu pandemic of 2009 originated from pigs in a small region in Central Mexico, scientists have discovered.