If you store your cream cheese in the fridge, take it out and allow it to sit at room temperature for an hour.
When the cream cheese is softened, combine it with sweetener and sour cream. Fold the ingredients thoroughly to mix well.
Crack the eggs into this mixture one by one then stir again to incorporate.
Add melted butter into the mix, but make sure it is cooled to room temperature.
Incorporate the xanthan gum and baking powder into the batter as well. Blend with a handheld mixer.
Pour batter into a baking pan covered with parchment paper or silicone cake form.
Gently drop a cup of berries into the mix, plopping them one by one. Distribute them evenly on all sides.
Bake in the oven (preheated at 350°F) for 45 minutes to an hour. Wait until it sets.
Allow cooling for a couple of minutes after removing from the oven. Chill it in the fridge for 4-6 hours until it sets completely or leave it overnight if possible.