Searching for long faint astronomical high energy transients: a data driven approach