DIRAC framework evaluation for the Fermi-LAT and CTA experiments