diff --git a/src/include/Commons.h b/src/include/Commons.h
index 7e4d2520719a82fbebcee2198797bb11ad335562..8d49d06f3936142554855d9e5b413d0d77ba3230 100644
--- a/src/include/Commons.h
+++ b/src/include/Commons.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file Commons.h
diff --git a/src/include/Configuration.h b/src/include/Configuration.h
index 6ac9417969c84928f7fa51959d3a014b46f07eac..f51e8529c18a95e1e6969543b51f0dda41daaf22 100644
--- a/src/include/Configuration.h
+++ b/src/include/Configuration.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file Configuration.h
diff --git a/src/include/TransitionMatrix.h b/src/include/TransitionMatrix.h
index b5a093bb745c7f125652cecd2ce5261c26ec6ff4..a0be4c77475a685a8efbcf676acf76c787a50cb9 100644
--- a/src/include/TransitionMatrix.h
+++ b/src/include/TransitionMatrix.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file TransitionMatrix.h
diff --git a/src/include/algebraic.h b/src/include/algebraic.h
index fe06bbaf2d8748673740f5669f0edf7795c48b5b..accdf8188139ea955e2409c4b0fe067413c49859 100644
--- a/src/include/algebraic.h
+++ b/src/include/algebraic.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file algebraic.h
diff --git a/src/include/clu_subs.h b/src/include/clu_subs.h
index 3a94928ff5002170ddfa4447d7df74396c6c6fa8..295eed61d01dc6ed03180374951c6b61f469b47d 100644
--- a/src/include/clu_subs.h
+++ b/src/include/clu_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file clu_subs.h
diff --git a/src/include/lapack_calls.h b/src/include/lapack_calls.h
index 0abfd747d43da0a427c65c8ea7ad3376bcef4a0c..e90aacf36e9900701a1c8b3241e32107dabcc086 100644
--- a/src/include/lapack_calls.h
+++ b/src/include/lapack_calls.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file lapack_calls.h
diff --git a/src/include/logging.h b/src/include/logging.h
index 31a89025da07520789bdfc1b83ca1da03e78e755..e58522a1ceddb3137228e02ae7385e57b45e98d0 100644
--- a/src/include/logging.h
+++ b/src/include/logging.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file logging.h
diff --git a/src/include/magma_calls.h b/src/include/magma_calls.h
index 4ee244c52cb5e1da253e83e1f684d59dd10db2cc..bf39c3a5c736b859d5311b16a2d6509f8238eafd 100644
--- a/src/include/magma_calls.h
+++ b/src/include/magma_calls.h
@@ -1,16 +1,17 @@
-/* Copyright 2004 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file magma_calls.h
diff --git a/src/include/sph_subs.h b/src/include/sph_subs.h
index 4fef0bd5c8933c60ff5b2f9cced0b556899e71dd..aafd6f5eed7326e385388a0d6ceb178fde89051a 100644
--- a/src/include/sph_subs.h
+++ b/src/include/sph_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file sph_subs.h
diff --git a/src/include/tfrfme.h b/src/include/tfrfme.h
index d6ef0cbfde1232ec68184d592efa924649236fec..be6ac56252d6f7b63241af2b8a60119fe0b00cbf 100644
--- a/src/include/tfrfme.h
+++ b/src/include/tfrfme.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file tfrfme.h
diff --git a/src/include/tra_subs.h b/src/include/tra_subs.h
index 132d0fd8d16a595f54f47ffcf54cbc7b17f73640..5ac6c1f5e2c98c8a5b3e017c45405fca8c2c86e2 100644
--- a/src/include/tra_subs.h
+++ b/src/include/tra_subs.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file tra_subs.h
diff --git a/src/include/types.h b/src/include/types.h
index 0ac02c192f1787e065af58b4553150c5583e3ecb..93a1bfea1f5fcc54d64b334fc3acab705469e24c 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -1,16 +1,17 @@
-/* Copyright 2024 INAF - Osservatorio Astronomico di Cagliari
+/* Copyright (C) 2024   INAF - Osservatorio Astronomico di Cagliari
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   A copy of the GNU General Public License is distributed along with
+   this program in the COPYING file. If not, see: <https://www.gnu.org/licenses/>.
  */
 
 /*! \file types.h