/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 6 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7656 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_daily_bin702 RA = 55.1477, Dec = -21.3158 tmin = 421286401, tmax = 421545601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='748608', job_status='RUN', time_executed='2021-08-18 22:53:16.503327', time_epoch_executed='1629352396.5' WHERE source_name='4FGL J0340.5-2118' and cadence='daily' and bin_id='702' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/748608 Creating custom pfile directory: /scratch/kocevski/748608/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=421286401.0 && nMetStart<421545601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=421286401.0 && nMetStart<421545601.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/748608/ft1_4FGL_J0340.5-2118_daily_bin702.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=421286401.0 && nMetStart<421545601.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/748608/ft1_4FGL_J0340.5-2118_daily_bin702.fits outfile=/scratch/kocevski/748608/ft1_filteredMKT_4FGL_J0340.5-2118_daily_bin702.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=421286401.0 tmax=421545601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 12.36 user 3.42 sys 8.88 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/748608/ft1_filteredMKT_4FGL_J0340.5-2118_daily_bin702.fits evtable="EVENTS" outfile="/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 8.41 user 0.35 sys 7.96 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits" evtable="EVENTS" scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits sctable="SC_DATA" outfile=/scratch/kocevski/748608/ltcube_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits .....................! real 21.86 user 11.72 sys 10.07 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/748608/ltcube_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits outfile=/scratch/kocevski/748608/expmap_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/748608/ltcube_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits .....................! real 200.99 user 185.67 sys 14.88 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits outfile=/scratch/kocevski/748608/cmap_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=55.1477 yref=-21.3158 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 9.06 user 0.36 sys 8.65 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits outfile=/scratch/kocevski/748608/cmap_HighResolution_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=55.1477 yref=-21.3158 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 8.20 user 0.38 sys 7.80 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/748608/Model_4FGL_J0340.5-2118_daily_bin702.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source Fornax A adding source GAL_V02 Working on... /scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits.....................! real 112.14 user 99.31 sys 12.52 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits', '/scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits', expMap='/scratch/kocevski/748608/expmap_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits', expCube='/scratch/kocevski/748608/ltcube_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/748608/Model_4FGL_J0340.5-2118_daily_bin702.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/748608/ft1_filtered_4FGL_J0340.5-2118_daily_bin702.fits Spacecraft file(s): /scratch/kocevski/748608/ft2_4FGL_J0340.5-2118_daily_bin702.fits Exposure map: /scratch/kocevski/748608/expmap_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits Exposure cube: /scratch/kocevski/748608/ltcube_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/748608/Model_4FGL_J0340.5-2118_daily_bin702.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4280.00393496 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4279.99316438 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.4037 1.0000 .10000E-03 10000. 2 'Prefactor ' 240.05 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.0446 1.0000 .10000E-03 10000. 4 'norm ' 4.1456 1.0000 .10000E-03 10000. 5 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .76783E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .45221E-01 1.0000 .10000E-03 10000. 8 'Prefactor ' .10147E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10044E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.3006 1.0000 .10000E-03 10000. 14 'Prefactor ' .11453E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.0749 1.0000 .10000E-03 10000. 16 'norm ' .10003E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 5.3460 1.0000 .10000E-03 10000. 18 'norm ' .33696E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 165.83 1.0000 .10000E-03 10000. 20 'Prefactor ' .10118E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 22 'norm ' .10071E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 19.528 1.0000 .10000E-03 10000. 24 'Prefactor ' 5.0674 1.0000 .10000E-03 10000. 25 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 26 'Normalizat' 1.0396 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.1613 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4279.993 FROM MIGRAD STATUS=CONVERGED 661 CALLS 3343 TOTAL EDM= .64E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.4038 2.9863 .10065E-05 .20069E-03 2 Prefactor 240.06 122.93 .16935E-06 -.23633E-04 3 Prefactor 5.0463 16.021 .93667E-06 -.17785E-05 4 norm 4.1453 3.9104 -.55401E-07 -.15794E-03 5 Prefactor .10000E-03 5.8455 .12125E-06** at limit ** 6 Prefactor .10000E-03 245.43 .10164E-05** at limit ** 7 Prefactor .40005E-01 206.76 -.86194E-05 .18839E-04 8 Prefactor .10000E-03 25.578 .58167E-06** at limit ** 9 Prefactor .10000E-03 9.5006 .40382E-06** at limit ** 10 Prefactor .10000E-03 17.573 .16277E-06** at limit ** 11 Prefactor .10000E-03 21.164 .17653E-06** at limit ** 12 Prefactor .10000E-03 58.514 .27309E-06** at limit ** 13 Prefactor 4.2955 3.6778 .10440E-06 -.68639E-03 14 Prefactor .10000E-03 6.7088 .17081E-05** at limit ** 15 Prefactor 2.0780 6.2904 .51950E-06 -.26265E-03 16 norm .10000E-03 .45501 -.15748E-06** at limit ** 17 Prefactor 5.3388 60.520 .22847E-05 -.24700E-04 18 norm .10001E-03 2.3010 .13794E-05** at limit ** 19 Prefactor 165.85 148.10 .54357E-06 .27873E-05 20 Prefactor .10000E-03 16.898 -.22769E-06** at limit ** 21 Prefactor .10000E-03 .90414 -.22589E-06** at limit ** 22 norm .10000E-03 6.7010 -.75411E-06** at limit ** 23 Prefactor 19.490 46.035 .15099E-05 -.82491E-04 24 Prefactor 5.0723 11.329 .99630E-06 -.46211E-05 25 Prefactor .10000E-03 1.5518 -.44511E-07** at limit ** 26 Normalizat 1.0394 .26459 -.55228E-05 -.45284E-03 27 Prefactor 1.1613 .23282 .24950E-05 -.33105E-03 ERR DEF= .500 Final values: norm = 1.40376 Prefactor = 240.06 Prefactor = 5.04629 norm = 4.14529 Prefactor = 0.0001 Prefactor = 0.000100002 Prefactor = 0.0400048 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.29553 Prefactor = 0.0001 Prefactor = 2.07797 norm = 0.0001 Prefactor = 5.33881 norm = 0.000100007 Prefactor = 165.852 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 19.4905 Prefactor = 5.07232 Prefactor = 0.0001 Normalizat = 1.03937 Prefactor = 1.16133 ********** ** 18 **HESSE ********** FCN= 4279.993 FROM HESSE STATUS=OK 490 CALLS 3833 TOTAL EDM= .25E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.4038 3.0045 .15732E-03 -1.5471 2 Prefactor 240.06 122.97 .13066E-03 -1.2597 3 Prefactor 5.0463 16.029 .17903E-03 -1.5259 4 norm 4.1453 3.8978 .12007E-03 -1.5301 5 Prefactor .10000E-03 5.8472 .15450E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 245.74 .20926E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .40005E-01 9.2519 .42735E-01 -1.5668 8 Prefactor .10000E-03 25.729 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 9.5699 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 17.579 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 21.170 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 58.616 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.2955 3.6016 .10549E-03 -1.5293 14 Prefactor .10000E-03 6.9788 .33255E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 2.0780 6.3554 .25915E-03 -1.5420 16 norm .10000E-03 .65230 .84352E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 5.3388 60.426 .17382E-03 -1.5246 18 norm .10001E-03 4.3140 .15490E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 165.85 148.14 .15661E-03 -1.3125 20 Prefactor .10000E-03 16.915 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 .90583 .60728E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .10000E-03 6.7055 .16538E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 19.490 46.051 .90635E-04 -1.4825 24 Prefactor 5.0723 11.359 .17862E-03 -1.5257 25 Prefactor .10000E-03 1.5547 .79566E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.0394 .27520 .27459E-03 -.91723 27 Prefactor 1.1613 .23572 .23639E-03 -.87530 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.45927e-09 Minuit parameter uncertainties: 1 3.00479 2 123.103 3 16.0428 4 3.89805 5 7.5064e-06 6 0.00134573 7 1.21542 8 6.68993e-05 9 3.4823e-05 10 2.1978e-05 11 5.06916e-06 12 0.000138411 13 3.60183 14 1.54998e-05 15 6.35743 16 7.29881e-06 17 35.9678 18 0.000343831 19 148.477 20 1.38008e-05 21 3.72171e-06 22 3.27884e-05 23 46.1346 24 11.3634 25 1.15294e-06 26 0.275576 27 0.235932 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4279.99313119 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.296e+00 3.602e+00 1.000e-04 1.000e+04 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 1.161e+00 2.359e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 1.039e+00 2.756e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.22 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.34e-08 +/- 5.31e-08 Energy Flux (Fixed Index): 2.55e-05 +/- 2.14e-05 TS (Fixed Index): 2.22 Ra Dec: 55.148 -21.316 Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.35e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/748608/likelihoodResults_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4278.76411802 delta logL = 1.22901317057 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4278.73622721 delta logL = 1.25690397725 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.2819 1.0000 .10000E-03 10000. 2 'Index ' 3.4689 1.0000 .0000 10.000 3 'Normalizat' .94217 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2145 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4278.736 FROM MIGRAD STATUS=CONVERGED 51 CALLS 249 TOTAL EDM= .22E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2803 11.574 .88343E-02 .30901E-03 2 Index 3.4696 2.8182 .91437E-01 .10758E-03 3 Normalizat .94225 .81110E-01 .45438E-01 .58426E-05 4 Prefactor 1.2144 .70800E-01 .52406E-01 -.85830E-05 ERR DEF= .500 Final values: Prefactor = 1.28032 Index = 3.46957 Normalizat = 0.942254 Prefactor = 1.21438 ********** ** 18 **HESSE ********** FCN= 4278.736 FROM HESSE STATUS=OK 33 CALLS 282 TOTAL EDM= .13E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.2803 2.7991 .39579E-04 -1.5482 2 Index 3.4696 1.2226 .36786E-02 -.31108 3 Normalizat .94225 .26627 .28603E-03 -.94991 4 Prefactor 1.2144 .23564 .23169E-03 -.85890 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.34362e-08 Minuit parameter uncertainties: 1 2.79936 2 1.23641 3 0.266647 4 0.235849 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/748608': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4278.73622655 delta logL = 1.256904642 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.280e+00 2.799e+00 1.000e-04 1.000e+04 ( 1.000e-12) 268 Index: 3.470e+00 1.236e+00 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 1.214e+00 2.358e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 9.423e-01 2.666e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.93 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 3.47 +/- 1.24 Photon Flux (Free Index): 1.58e-07 +/- 9.75e-08 Energy Flux (Free Index): 2.65e-05 +/- 1.53e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/748608/cmap_HighResolution_421286401_421545601_4FGL_J0340.5-2118_daily_bin702.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/748608 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', comment='SUCCESS', photon_flux='6.34e-08', energy_flux2='2.65e-05', photon_flux_error='5.31e-08', dlogl='1.26e+00', energy_flux='2.55e-05', photon_flux2='1.58e-07', job_status='DONE', time_completed='2021-08-18 23:05:55.022948', photon_index_error2='1.24', photon_index2='3.47', ts='2.22', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.53e-05', EG='1.04', time_epoch_completed='1629353155.02', return_code='0', job_id='748608', GAL2='1.21', EG2='0.94', return_code2='0', energy_flux_error='2.14e-05', photon_flux_error2='9.75e-08', ts2='4.93', photon_index='2.26' WHERE bin_id='702' AND source_name='4FGL J0340.5-2118' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Aug 18 23:05:55 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 748608: <4FGL_J0340.5-2118_daily_bin702> in cluster Done Job <4FGL_J0340.5-2118_daily_bin702> was submitted from host by user in cluster at Wed Aug 18 22:50:36 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Aug 18 22:50:38 2021 was used as the home directory. was used as the working directory. Started at Wed Aug 18 22:50:38 2021 Terminated at Wed Aug 18 23:05:57 2021 Results reported at Wed Aug 18 23:05:57 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0340.5-2118_daily_bin702 55.1477 -21.3158 421286401 421545601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0340.5-2118 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 893.00 sec. Max Memory : 617 MB Average Memory : 259.27 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 918 sec. Turnaround time : 921 sec. The output (if any) is above this job summary.