James1549.
The ones in my car were permanently attached . I can see the bulb lead welded to the contacts. You are not getting those bulbs out.
Since these are the same type of panel sockets in my 1974 Dodge Dart ( my first car) dash I found replacement parts at Auto zone
Cost me $25.00 total and about 5 minutes time.
The panel sockets were $1.00 each and the 1 watt LED bulbs were $22.00 for 2. I could have used the .5 watt bulbs - they were $16.00 for 2, but look for another $5.00 I have the 1 watt bulbs and I can now replace them whenever - and get them cheaper - and look how nice they look.
Be careful removing the lens . There is a small black clip at the front (glass side) of the lens - dead center make sure you don't pull the lens assembly down from the back on an angle - You will snap off this clip. Pull it down until it is slightly loose and then un-clip the front tab one. It falls right down. There are two screws holding the upper assembly area. Remove those and this two will have to be carefully pryed down . Remove the old panel sockets if your bulbs are permanently attached Install the new sockets with twist. You may have to push down a bit till it clicks or seats itself. Once done I check the polarity with a meter and marked the positive side on the opposite (bulb side) of the board so that you can make sure you get the polarity right - install the bulbs and check for lights and then re-assembly.
I used a wooden cuticle stick so that it will not scratch anything.