In an electric skillet, saute onions and celery in butter until tender and starting to turn brown. Add corn and peas mix well and heat together for 10 minutes on low. Add cream cheese and sour cream, stir until well blended. Add salt and pepper to taste. Pour into a 2 qt casserole dish (oven safe) and bake at 350 degrees for 30 minutes.