Very cool old photo!
Given the ornate railings I'd say that is a passenger car, not a US freight train caboose. Cabooses were more plain and functional. And the lamp and what little we can see of the coupling apparatus makes me think this is not in the US (although I have been wrong before
)
If you go to "Board Index" and scroll down you'll find "Worldwide Railfan" section. I'd suggest you also post there. I believe the lettering in that end rail will be the answer to the puzzle - I don't recognize it but I'm sure somebody will.