Problems with TFITSHDU

Your “Double_t Array[4146][2160];” is more than 68MB long -> see, for example: [url]No error when macro crashes