Hi Demirhan,
The RAPL units of Intel processors count on a per-socket basis, so you get energy/power data only for the whole socket. The temperature or cycle count (with performance event) can be read per hardware thread. Counter documentation for Intel IcelakeSP:
https://github.com/RRZE-HPC/likwid/wiki/IcelakeSP
When you do a perfmon_init(), LIKWID selects one hardware thread per socket from the list to measure the socket counters, in your case 0 and 24. If you run likwid-perfctr -C <hwt_list>, you limit the set of usable hw threads and the selector uses these hardware threads for the socket counters.
The reason for only half the energy consumption is unclear to me. There should be no difference as likwid-perfctr uses the LIKWID API under the hood. Of course you have to measure both CPU sockets with likwid-perfctr and sum the results of the LIKWID API to get comparable counts.
Best,
Thomas