Preheat the oven to 350F. Grease a 9x9" baking pan and set it aside. Heat the butter in a medium pan over medium heat. Once it's melted, add the onion, celery, mushrooms and garlic and cook, stirring often, until the veggies are softened, about 5 minutes. Then sprinkle the flour over and stir it in well. Cook and stir another minute or so. Increase the heat to med-high.