SetLogy issue

{
  TFile *f = new TFile("test.root");
  TCanvas* c1 = new TCanvas("c1", "  ");
  TGraphErrors* hist1 = (TGraphErrors*)f->Get("gTally14");
  hist1->Draw("ap");
  hist1->SetMinimum(1E-12);
  c1->SetLogy(1);
}

Gives me: