Finding the source spreadsheet ID
The ID is the long alphanumeric string in the file's URL, between /d/ and /edit. Open the source sheet, copy everything between those two path segments, and paste it as SOURCE_ID. That string is stable — it doesn't change when the file is renamed or moved between folders.
SpreadsheetApp.openById will throw a permissions error if the account running the script doesn't have at least viewer access on the source file. The first time you run a script that calls openById, Google will prompt for the broader 'See, edit, create, and delete all your Google Sheets spreadsheets' scope — that's expected, and unavoidable when reaching outside the bound spreadsheet.