Yes, and ran the terminal script as suggested, which displays:
"To use this tool, you must download the macOS installer application on a Mac with 10.12.5 or later, or El Capitan 10.11.6. For more information, please see the following: https://support.apple.com/kb/HT201372."
I then tried using Disk Drill, and it also failed, with "Installer disk creation failed with this error "To use this tool, you must download the macOS installer application on a Mac with 10.12.5 or later, or El Capitan 10.11.6. For more information, please see the following: https://support.apple.com/kb/HT201372". Please try selecting another installer app."
I am running MacOS 10.4.6. The downloaded installer in my Applications folder is called:
"Install macOS Mojave.app"