As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DEPARTED KBIL ENROUTE KMSO. AFTER TAKEOFF THE CREW REPORTED THAT THE FLAPS WOULD NOT RETRACT BEYOND THE APPROACH POSITION. THEY THEN RETURNED TO KBIL WITHOUT INCIDENT. MAINTENANCE REPLACED THE FLAP MOTOR AND THE FLAPS OPS CHECKED GOOD.