Gamma-ray flux variation studies from the blazar B2 1215+30 with the Fermi-LAT and the Crab Nebula with the H. E. S. S. experiment