TORONTO The fringe festival concept dates back to the 1947 International Festival in Edinburgh , Scotland , when eight independent theater companies -- having been rejected from the official program -- set up shop for themselves .