As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
TWENTY MINUTES NORTH OF IAH CREW REPORTED LT GEAR GREEN LIGHT STAYING ILLUM AFTER PULLING THE GEAR UP DURING CLIMB. F/A REPORTED THAT GEAR WAS UP BY LOOKING OUTSIDE. THE CREW REFERENCED THE QRH AND RETURNED TO IAH. AN EMERGENCY WAS DECLARED, THE CABIN WAS PREPAIRED FOR AN EMERGENCY AND THE FLIGHT LANDED WITH NO FURTHER INCIDENT. A/C TOWED TO THE GATE. MX CHANGED LANDING GEAR SELECTOR PANEL, AND PERFORMED GEAR SWINGS. OPS CHECKED GOOD.