Very unlikely the power cord or its connections at each end.
You can check it out by giving the cord a good shake and then let it go. If your shaking alters the flickering then it may well be to do with the cord or one of its connectors.
But I very much doubt that it is.
Peccavi
February 2013