Heat the oven to 350F.
In a large bowl, stir together the refried beans, sour cream, green chiles, salsa, cumin, chili powder and garlic powder until smooth.
Mix the cheddar and Monterey Jack together in a small bowl.
Stir 1/2 cup of the cheese into the bean mixture.
Spread the bean mixture into an 8x8 baking dish in an even layer.
Sprinkle the rest of the cheese evenly over the top.
Bake for 20 to 25 minutes. Hint: the cheese should be melted and bubbly around the edges.
For golden cheese, switch the oven to broil for 1 to 2 minutes and watch it closely so it doesn't burn.
Let it cool for 5 minutes, then serve with tortilla chips.