Difference between revisions of "OP313 MVA"

From my_wiki
Jump to: navigation, search
(IRF)
 
(22 intermediate revisions by the same user not shown)
Line 26: Line 26:
  
 
[[File:OP313_20231212_Run16046_dRdIRate_MVA.png | 400px ]]
 
[[File:OP313_20231212_Run16046_dRdIRate_MVA.png | 400px ]]
 +
  
 
== DL1 to DL2 ==
 
== DL1 to DL2 ==
Line 32: Line 33:
 
conda activate lstchain-v0.10.7
 
conda activate lstchain-v0.10.7
  
 +
# NOTE: home quota is limited, put output in workspace
 +
ln -s /fefs/aswg/workspace/monica.vazquez/DL2/ .
 +
 +
#### MC SAMPLE 1
 
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476 /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476/lstchain_config_2023-09-01.json
 
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476 /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476/lstchain_config_2023-09-01.json
 
mkdir DL2/OP313_202312
 
mkdir DL2/OP313_202312
 
mv DL2/*h5 DL2/OP313_202312
 
mv DL2/*h5 DL2/OP313_202312
  
 
+
#### MC SAMPLE 2
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476 /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476/lstchain_config_2024-01-31.json
+
### STRANGE NAMING CONVENTION JSON
 
+
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476 /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476/lstchain_config_2024-02-05.json
 +
mkdir DL2/OP313_202312_v2
 +
mv DL2/*h5 DL2/OP313_202312_v2
 
</pre>
 
</pre>
  
 
== IRF ==
 
== IRF ==
 
<pre>
 
<pre>
 +
#### MC SAMPLE 1
 
DL2MC=/fefs/aswg/data/mc/DL2/AllSky/20230901_v0.10.4_allsky_base_prod
 
DL2MC=/fefs/aswg/data/mc/DL2/AllSky/20230901_v0.10.4_allsky_base_prod
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_tool_config.json gh_eff_0.7_th_cont_0.7
+
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_tool_config.json gh_eff_0.7_th_cont_0.7
  
 
+
# REDUCE thetamax cut to 0.2
DL2MC=/fefs/aswg/data/mc/DL2/AllSky/20240131_allsky_v0.10.5_all_dec_base
+
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_tool_config_thetamax_020.json gh_eff_0.7_th_cont_0.7_thetamax020
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_tool_config.json gh_eff_0.7_th_cont_0.7
 
  
 
</pre>
 
</pre>
Line 56: Line 63:
 
source /fefs/aswg/software/conda/etc/profile.d/conda.sh
 
source /fefs/aswg/software/conda/etc/profile.d/conda.sh
 
conda activate lstchain-v0.10.7
 
conda activate lstchain-v0.10.7
 +
  
 
IRFDIR=IRF/20230901_v0.10.4_allsky_base_prod/dec_3476/gh_eff_0.7_th_cont_0.7
 
IRFDIR=IRF/20230901_v0.10.4_allsky_base_prod/dec_3476/gh_eff_0.7_th_cont_0.7
./launch_dl2_dl3.sh irf_dl3_tool_config.json ./DL2/OP313_202312 $IRFDIR OP313
+
./launch_dl2_dl3.sh ./irf_dl3_tool_config.json ./DL2/OP313_202312 $IRFDIR OP313
 
mkdir DL3/OP313_202312
 
mkdir DL3/OP313_202312
 
mv DL3/*fits* DL3/OP313_202312
 
mv DL3/*fits* DL3/OP313_202312
  
gzip -d ./DL3/OP313_202312/dl3\*.fits.gz
+
gzip -d ./DL3/OP313_202312/dl3*.fits.gz
 
lstchain_create_dl3_index_files -d ./DL3/OP313_202312 -p dl3\*.fits
 
lstchain_create_dl3_index_files -d ./DL3/OP313_202312 -p dl3\*.fits
  
 +
 +
# CHANGE THETAMAX CUT TO 0.2
 +
 +
IRFDIR=IRF/20230901_v0.10.4_allsky_base_prod/dec_3476/gh_eff_0.7_th_cont_0.7_thetamax020
 +
./launch_dl2_dl3.sh ./irf_dl3_tool_config_thetamax_020.json ./DL2/OP313_202312 $IRFDIR OP313
 +
mkdir DL3/OP313_202312_thetamax_020
 +
mv DL3/*fits* DL3/OP313_202312_thetamax_020
 +
 +
gzip -d ./DL3/OP313_202312_thetamax_020/dl3*.fits.gz
 +
lstchain_create_dl3_index_files -d ./DL3/OP313_202312_thetamax_020 -p dl3\*.fits
 +
 +
 +
</pre>
 +
 +
== DL3 ==
 +
<pre>
 +
mamba install -n lstchain-v0.10.7 brokenaxes
 
</pre>
 
</pre>

Latest revision as of 11:17, 14 March 2024

OP313[edit]

Source[edit]

Source coordinates: <SkyCoord (ICRS): (ra, dec) in deg: (197.61943273, 32.34549523)

Data Selection[edit]

Good run list:

/fefs/aswg/data/real/DL1/20231210/v0.10/tailcut84/dl1_LST-1.Run15978.h5
/fefs/aswg/data/real/DL1/20231213/v0.10/tailcut84/dl1_LST-1.Run16083.h5
/fefs/aswg/data/real/DL1/20231214/v0.10/tailcut84/dl1_LST-1.Run16119.h5
/fefs/aswg/data/real/DL1/20231215/v0.10/tailcut84/dl1_LST-1.Run16155.h5
/fefs/aswg/data/real/DL1/20231215/v0.10/tailcut84/dl1_LST-1.Run16156.h5
/fefs/aswg/data/real/DL1/20231216/v0.10/tailcut84/dl1_LST-1.Run16192.h5
/fefs/aswg/data/real/DL1/20231216/v0.10/tailcut84/dl1_LST-1.Run16193.h5
/fefs/aswg/data/real/DL1/20231217/v0.10/tailcut84/dl1_LST-1.Run16224.h5
/fefs/aswg/data/real/DL1/20231217/v0.10/tailcut84/dl1_LST-1.Run16225.h5
/fefs/aswg/data/real/DL1/20231218/v0.10/tailcut84/dl1_LST-1.Run16244.h5
/fefs/aswg/data/real/DL1/20231218/v0.10/tailcut84/dl1_LST-1.Run16246.h5

Pass all cuts except the dR/dI rate selection:

/fefs/aswg/data/real/DL1/20231212/v0.10/tailcut84/dl1_LST-1.Run16046.h5

OP313 20231212 Run16046 dRdIRate MVA.png


DL1 to DL2[edit]

source /fefs/aswg/software/conda/etc/profile.d/conda.sh
conda activate lstchain-v0.10.7

# NOTE: home quota is limited, put output in workspace
ln -s /fefs/aswg/workspace/monica.vazquez/DL2/ .

#### MC SAMPLE 1
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476 /fefs/aswg/data/models/AllSky/20230901_v0.10.4_allsky_base_prod/dec_3476/lstchain_config_2023-09-01.json
mkdir DL2/OP313_202312
mv DL2/*h5 DL2/OP313_202312

#### MC SAMPLE 2
### STRANGE NAMING CONVENTION JSON
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476 /fefs/aswg/data/models/AllSky/20240131_allsky_v0.10.5_all_dec_base/dec_3476/lstchain_config_2024-02-05.json
mkdir DL2/OP313_202312_v2
mv DL2/*h5 DL2/OP313_202312_v2

IRF[edit]

#### MC SAMPLE 1
DL2MC=/fefs/aswg/data/mc/DL2/AllSky/20230901_v0.10.4_allsky_base_prod
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_tool_config.json gh_eff_0.7_th_cont_0.7

# REDUCE thetamax cut to 0.2
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_tool_config_thetamax_020.json gh_eff_0.7_th_cont_0.7_thetamax020

DL2 to DL3[edit]

source /fefs/aswg/software/conda/etc/profile.d/conda.sh
conda activate lstchain-v0.10.7


IRFDIR=IRF/20230901_v0.10.4_allsky_base_prod/dec_3476/gh_eff_0.7_th_cont_0.7
./launch_dl2_dl3.sh ./irf_dl3_tool_config.json ./DL2/OP313_202312 $IRFDIR OP313
mkdir DL3/OP313_202312
mv DL3/*fits* DL3/OP313_202312

gzip -d ./DL3/OP313_202312/dl3*.fits.gz
lstchain_create_dl3_index_files -d ./DL3/OP313_202312 -p dl3\*.fits


# CHANGE THETAMAX CUT TO 0.2

IRFDIR=IRF/20230901_v0.10.4_allsky_base_prod/dec_3476/gh_eff_0.7_th_cont_0.7_thetamax020
./launch_dl2_dl3.sh ./irf_dl3_tool_config_thetamax_020.json ./DL2/OP313_202312 $IRFDIR OP313
mkdir DL3/OP313_202312_thetamax_020
mv DL3/*fits* DL3/OP313_202312_thetamax_020

gzip -d ./DL3/OP313_202312_thetamax_020/dl3*.fits.gz
lstchain_create_dl3_index_files -d ./DL3/OP313_202312_thetamax_020 -p dl3\*.fits


DL3[edit]

mamba install -n lstchain-v0.10.7 brokenaxes