diff --git a/code_new/Sumit/config_files/config_fixed_m_af.ini b/code_new/Sumit/config_files/config_fixed_m_af.ini
new file mode 100644
index 0000000000000000000000000000000000000000..cca7dd1afb20bb5ff3045e28227da8bf20cccbff
--- /dev/null
+++ b/code_new/Sumit/config_files/config_fixed_m_af.ini
@@ -0,0 +1,151 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+
+[rd-model]
+model = w-tau-fixed-m-af
+error_str = True
+;error_val = 0
+;sumit change this line!
+error_val = 0.0002
+;end of the change.
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 0
+
+[n-live-points]
+npoints=4000
+
+[prior-mass]
+mass_min = 0.5
+mass_max = 1.5
+
+[prior-spin]
+spin_min = 0
+spin_max = 0.95
+
+[prior-w0]
+w0_min = 0.4
+w0_max = 0.6
+
+[prior-w1]
+w1_min = 0.35
+w1_max = 0.7
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-w4]
+w4_min = 0.35
+w4_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 0
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 2.35
+tau2_max = 3.05
+
+[prior-tau3]
+tau3_min = 1.8
+tau3_max = 2.35
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 1.8
+
+[prior-q0]
+q0_min = 12
+q0_max = 30
+
+[prior-q1]
+q1_min = 0
+q1_max = 15
+
+[prior-q2]
+q2_min = 0
+q2_max = 15
+
+[prior-q3]
+q3_min = 0
+q3_max = 15
+
+[prior-q4]
+q4_min = 0
+q4_max = 15
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 3
diff --git a/code_new/Sumit/config_files/config_fixed_n6_m_af.ini b/code_new/Sumit/config_files/config_fixed_n6_m_af.ini
new file mode 100644
index 0000000000000000000000000000000000000000..88c891f364e3441d9e839cb4e23eca4f97aac179
--- /dev/null
+++ b/code_new/Sumit/config_files/config_fixed_n6_m_af.ini
@@ -0,0 +1,190 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_No_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 8
+
+[rd-model]
+model = w-tau-fixed-m-af
+error_str = True
+error_val = 0.02
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 6
+
+[n-live-points]
+npoints=8000
+
+[prior-mass]
+mass_min = 0.5
+mass_max = 1.5
+
+[prior-spin]
+spin_min = 0
+spin_max = 0.95
+
+[prior-w0]
+w0_min = 0.4
+w0_max = 0.6
+
+[prior-w1]
+w1_min = 0.35
+w1_max = 0.7
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-w4]
+w4_min = 0.35
+w4_max = 0.7
+
+[prior-w5]
+w5_min = 0.35
+w5_max = 0.7
+
+[prior-w6]
+w6_min = 0.35
+w6_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.4
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 3.35
+
+[prior-tau3]
+tau3_min = 1.8
+tau3_max = 2.35
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 1.8
+
+[prior-tau5]
+tau5_min = 0
+tau5_max = 1.8
+
+[prior-tau6]
+tau6_min = 0
+tau6_max = 1.8
+
+[prior-q0]
+q0_min = 12
+q0_max = 30
+
+[prior-q1]
+q1_min = 0
+q1_max = 15
+
+[prior-q2]
+q2_min = 0
+q2_max = 15
+
+[prior-q3]
+q3_min = 0
+q3_max = 15
+
+[prior-q4]
+q4_min = 0
+q4_max = 15
+
+[prior-q5]
+q5_min = 0
+q5_max = 15
+
+[prior-q6]
+q6_min = 0
+q6_max = 15
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 50
+
+[prior-amp6]
+amp6_min = 0
+amp6_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-phase6]
+phase6_min = 0
+phase6_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 3
+
diff --git a/code_new/Sumit/config_files/config_n0.ini b/code_new/Sumit/config_files/config_n0.ini
new file mode 100644
index 0000000000000000000000000000000000000000..faab5ae3e654a0e3cb4310631078fc6b618c2c4a
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n0.ini
@@ -0,0 +1,57 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 1
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0.2
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 0
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.4
+w0_max = 0.6
+
+[prior-tau0]
+tau0_min = 0
+tau0_max = 16
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n0_to_0_mock.ini b/code_new/Sumit/config_files/config_n0_to_0_mock.ini
new file mode 100644
index 0000000000000000000000000000000000000000..0fd113e530787f13808cc7dfb8264f6b22046bd3
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n0_to_0_mock.ini
@@ -0,0 +1,114 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = Mock-data
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 2
+
+[rd-model]
+model = w-tau
+error_str = False
+error_val = 0
+phase_alignment = True
+fit_noise = False
+
+[n-tones]
+nmax = 0
+
+[rd-mock-parameters]
+af = 0.6861
+mf = 0.9515
+nm_mock = 0
+w0 = 0.5534
+tau0 = 11.7034
+amp0 = 0.974383
+phase0 = 0
+w1 = 0.5409
+tau1 = 3.8702
+amp1 = 2.4351
+phase1 = 2.45945
+w2 = 0.5179
+tau2 = 2.2916
+amp2 = 1.46825
+phase2 = 5.32
+ 
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-live-points]
+npoints = 1000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 0
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n0_to_1_mock.ini b/code_new/Sumit/config_files/config_n0_to_1_mock.ini
new file mode 100644
index 0000000000000000000000000000000000000000..899a0ac8a32a668014a366d6824824269610ebf8
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n0_to_1_mock.ini
@@ -0,0 +1,114 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/Mock_data
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = Mock-data
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 1
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0.002
+phase_alignment = True
+fit_noise = False
+
+[n-tones]
+nmax = 0
+
+[rd-mock-parameters]
+af = 0.6861
+mf = 0.9515
+nm_mock = 1
+w0 = 0.5534
+tau0 = 11.7034
+amp0 = 0.974383
+phase0 = 0
+w1 = 0.5409
+tau1 = 3.8702
+amp1 = 2.4351
+phase1 = 2.45945
+w2 = 0.5179
+tau2 = 2.2916
+amp2 = 1.46825
+phase2 = 5.32
+ 
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 0
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n1.ini b/code_new/Sumit/config_files/config_n1.ini
new file mode 100644
index 0000000000000000000000000000000000000000..8095cb1b44b5e3f389a18ec6e04ebbd2c013b878
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n1.ini
@@ -0,0 +1,89 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 1
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0.2
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 1
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 0
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 6
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n1_to_2_mock.ini b/code_new/Sumit/config_files/config_n1_to_2_mock.ini
new file mode 100644
index 0000000000000000000000000000000000000000..972917c54bcd5deec3b2752f0e1bc141dcadc678
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n1_to_2_mock.ini
@@ -0,0 +1,114 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/Mock_data
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = Mock-data
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 1
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0.002
+phase_alignment = True
+fit_noise = False
+
+[n-tones]
+nmax = 1
+
+[rd-mock-parameters]
+af = 0.6861
+mf = 0.9515
+nm_mock = 2
+w0 = 0.5534
+tau0 = 11.7034
+amp0 = 0.974383
+phase0 = 0
+w1 = 0.5409
+tau1 = 3.8702
+amp1 = 2.4351
+phase1 = 2.45945
+w2 = 0.5179
+tau2 = 2.2916
+amp2 = 1.46825
+phase2 = 5.32
+ 
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 0
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n2.ini b/code_new/Sumit/config_files/config_n2.ini
new file mode 100644
index 0000000000000000000000000000000000000000..ef734b3a5d29d37e4b2dcedad6725a923d31290f
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n2.ini
@@ -0,0 +1,97 @@
+[nr-paths]  2
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 1
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 2
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 0
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n3.ini b/code_new/Sumit/config_files/config_n3.ini
new file mode 100644
index 0000000000000000000000000000000000000000..56c230ecbe6f0ab8d146260c780544a1658072ec
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n3.ini
@@ -0,0 +1,121 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 2
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 10
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 3
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.7
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 1
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 2.5
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n4.ini b/code_new/Sumit/config_files/config_n4.ini
new file mode 100644
index 0000000000000000000000000000000000000000..e8e6edd14a80dac4fe4477205c4ea710815741ad
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n4.ini
@@ -0,0 +1,144 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 2
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 4
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.35
+w3_max = 0.6
+
+[prior-w4]
+w4_min = 0.2
+w4_max = 0.5
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 1
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 2.5
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 2
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 50
+
+[prior-amp6]
+amp6_min = 0
+amp6_max = 50
+
+[prior-amp7]
+amp7_min = 0
+amp7_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-phase6]
+phase6_min = 0
+phase6_max = 1
+
+[prior-phase7]
+phase7_min = 0
+phase7_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n5.ini b/code_new/Sumit/config_files/config_n5.ini
new file mode 100644
index 0000000000000000000000000000000000000000..610bc168f1f48dfd18a0b01f1a1bed7882ea06a5
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n5.ini
@@ -0,0 +1,136 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 4
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 5
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.2
+w3_max = 0.5
+
+[prior-w4]
+w4_min = 0.2
+w4_max = 0.5
+
+[prior-w5]
+w5_min = 0.2
+w5_max = 0.5
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 1
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 2.5
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 2
+
+[prior-tau5]
+tau5_min = 0
+tau5_max = 1.7
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n6.ini b/code_new/Sumit/config_files/config_n6.ini
new file mode 100644
index 0000000000000000000000000000000000000000..3e567c371ce9ba1f2f043498d811b027f926d7cd
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n6.ini
@@ -0,0 +1,161 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+export = True
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 8
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 6
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.2
+w3_max = 0.5
+
+[prior-w4]
+w4_min = 0.2
+w4_max = 0.5
+
+[prior-w5]
+w5_min = 0.2
+w5_max = 0.5
+
+[prior-w6]
+w6_min = 0.2
+w6_max = 0.5
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 1
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 2.5
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 2
+
+[prior-tau5]
+tau5_min = 0
+tau5_max = 1.7
+
+[prior-tau6]
+tau6_min = 0
+tau6_max = 1.5
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 100
+
+[prior-amp6]
+amp6_min = 0
+amp6_max = 100
+
+[prior-amp7]
+amp7_min = 0
+amp7_max = 100
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-phase6]
+phase6_min = 0
+phase6_max = 1
+
+[prior-phase7]
+phase7_min = 0
+phase7_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10
diff --git a/code_new/Sumit/config_files/config_n7.ini b/code_new/Sumit/config_files/config_n7.ini
new file mode 100644
index 0000000000000000000000000000000000000000..07450a0384c658130a3744381d204e1f6e087302
--- /dev/null
+++ b/code_new/Sumit/config_files/config_n7.ini
@@ -0,0 +1,168 @@
+[nr-paths]
+rootpath = /work/francisco.jimenez/sio/git/rdstackingproject
+simulation_path_1 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+simulation_path_2 = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5
+metadata_json = /work/francisco.jimenez/sio/git/rdstackingproject/SXS/BBH_SKS_d14.3_q1.22_sA_0_0_0.330_sB_0_0_-0.440/Lev6/metadata.json 
+simulation_number = 0305
+
+[output-folder]
+output-folder = /work/francisco.jimenez/sio/git/rdstackingproject/results_new/0305/NR_Model_Noise
+
+[setup]
+overwrite = False
+plot_down_factor = 100
+sampler = rwalk
+nr_code = SXS
+dlogz = 0.01
+qnm_model = berti
+nb_cores = 8
+
+[rd-model]
+model = w-tau
+error_str = True
+error_val = 0
+phase_alignment = True
+fit_noise = True
+
+[time-setup]
+tshift = 0
+tend = 90
+t_align = 0
+
+[n-tones]
+nmax = 7
+
+[n-live-points]
+npoints = 4000
+
+[prior-w0]
+w0_min = 0.2
+w0_max = 0.8
+
+[prior-w1]
+w1_min = 0.15
+w1_max = 0.8
+
+[prior-w2]
+w2_min = 0.35
+w2_max = 0.7
+
+[prior-w3]
+w3_min = 0.2
+w3_max = 0.5
+
+[prior-w4]
+w4_min = 0.2
+w4_max = 0.5
+
+[prior-w5]
+w5_min = 0.2
+w5_max = 0.5
+
+[prior-w6]
+w6_min = 0.2
+w6_max = 0.5
+
+[prior-w7]
+w7_min = 0.2
+w7_max = 0.5
+
+[prior-tau0]
+tau0_min = 8
+tau0_max = 16
+
+[prior-tau1]
+tau1_min = 3.5
+tau1_max = 7.7
+
+[prior-tau2]
+tau2_min = 1
+tau2_max = 4
+
+[prior-tau3]
+tau3_min = 0
+tau3_max = 2.5
+
+[prior-tau4]
+tau4_min = 0
+tau4_max = 2
+
+[prior-tau5]
+tau5_min = 0
+tau5_max = 1.7
+
+[prior-tau6]
+tau6_min = 0
+tau6_max = 1.5
+
+[prior-tau7]
+tau7_min = 0
+tau7_max = 1.1
+
+[prior-amp0]
+amp0_min = 0
+amp0_max = 3
+
+[prior-amp1]
+amp1_min = 0 
+amp1_max = 15
+
+[prior-amp2]
+amp2_min = 0
+amp2_max = 30
+
+[prior-amp3]
+amp3_min = 0
+amp3_max = 30
+
+[prior-amp4]
+amp4_min = 0
+amp4_max = 50
+
+[prior-amp5]
+amp5_min = 0
+amp5_max = 50
+
+[prior-amp6]
+amp6_min = 0
+amp6_max = 50
+
+[prior-amp7]
+amp7_min = 0
+amp7_max = 50
+
+[prior-phase0]
+phase0_min = 0
+phase0_max = 1
+
+[prior-phase1]
+phase1_min = 0
+phase1_max = 1
+
+[prior-phase2]
+phase2_min = 0
+phase2_max = 1
+
+[prior-phase3]
+phase3_min = 0
+phase3_max = 1
+
+[prior-phase4]
+phase4_min = 0
+phase4_max = 1
+
+[prior-phase5]
+phase5_min = 0
+phase5_max = 1
+
+[prior-phase6]
+phase6_min = 0
+phase6_max = 1
+
+[prior-phase7]
+phase7_min = 0
+phase7_max = 1
+
+[prior-noise]
+noise_min = -30
+noise_max = 10