Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Portland, Maine to Azerbaijan as you normally would.
Due to multiple factors, expect to potentially pay more when booking in June. For low rates, April can be a great choice for travel to Azerbaijan. Flights to Azerbaijan from Portland, Maine in April are about $1,041 on average during April, but can be found for as low as $613.