The question of flying with a Maine driver license, since Maine driver license are not Real ID compliant, can you do it?

In a word...yep!

According to the Maine BMV Real ID page at Maine.gov:

Can I board a plane with the driver's license or identification card I have now?
Yes. Current Maine issued driver's licenses and identification cards will remain acceptable as identification for boarding domestic commercial flights as long as an extension is in place.
How long is Maine's current extension and what does that mean?
Maine’s current extension is until October 10, 2018 and continues to allow Maine issued driver’s licenses and identifications cards to be used to enter secure federal facilities and board domestic commercial flights.
What happens when the current extension expires?
Maine expects to be granted another extension to allow the continued use of the current driver's licenses and identification cards while BMV is in process of updating its system to allow the ability to create REAL ID compliant driver's licenses and identification cards by July 1, 2019.
What happens after October 1, 2020?
Beginning October 1, 2020, you will need a REAL-ID compliant driver's license, identification card or an acceptable alternative form of identification as approved by TSA https://www.tsa.gov/travel/security-screening/identification, to board domestic commercial flights or enter a federal facility without a secondary form of Department of Homeland Security (DHS) approved identification.
The page had a lot of information. Here is the link to the Bureau of Motor Vehicles FAQ website for Real ID.
And you can always get your US Passport! Here is the info on that!
Happy Flying.