Difference between revisions of "OP313 MVA"

From my_wiki
Jump to: navigation, search
(DL2 to DL3)
(IRF)
Line 54: Line 54:
 
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_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
  
./launch_irf_creation.sh $DL2MC/TestingDataset/dec_3476 ./irf_dl3_tool_config_thetamax_025.json gh_eff_0.7_th_cont_0.7_thetamax025
+
# 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
  
 
</pre>
 
</pre>

Revision as of 11:13, 14 March 2024

OP313

Source

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

Data Selection

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

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

#### 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

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



DL3

mamba install -n lstchain-v0.10.7 brokenaxes