/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 4 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 = 7543
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0453.1-2806_daily_bin242
RA = 73.2887, Dec = -28.1144
tmin = 302054401, tmax = 302313601
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='812914', job_status='RUN', time_executed='2021-08-21 12:01:18.205240', time_epoch_executed='1629572478.21' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812914

Creating custom pfile directory:
/scratch/kocevski/812914/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=302054401.0 && nMetStart<302313601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=302054401.0 && nMetStart<302313601.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812914/ft1_4FGL_J0453.1-2806_daily_bin242.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=302054401.0 && nMetStart<302313601.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812914/ft1_4FGL_J0453.1-2806_daily_bin242.fits outfile=/scratch/kocevski/812914/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin242.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=302054401.0 tmax=302313601.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 4.19
user 3.34
sys 0.77

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.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/812914/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin242.fits evtable="EVENTS" outfile="/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.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 1.05
user 0.33
sys 0.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits" evtable="EVENTS" scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits sctable="SC_DATA" outfile=/scratch/kocevski/812914/ltcube_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.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/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits
.....................!
real 12.94
user 11.91
sys 0.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits sctable="SC_DATA" expcube=/scratch/kocevski/812914/ltcube_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits outfile=/scratch/kocevski/812914/expmap_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.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/812914/ltcube_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits
.....................!
real 191.62
user 185.35
sys 5.85

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 171 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 J0453.1-2806 @ 73.2887 -28.1144

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits outfile=/scratch/kocevski/812914/cmap_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.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=73.2887 yref=-28.1144 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 1.11
user 0.37
sys 0.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits outfile=/scratch/kocevski/812914/cmap_HighResolution_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.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=73.2887 yref=-28.1144 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 1.06
user 0.38
sys 0.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812914/Model_4FGL_J0453.1-2806_daily_bin242.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/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits.....................!
real 114.44
user 112.32
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits', '/scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits', expMap='/scratch/kocevski/812914/expmap_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits', expCube='/scratch/kocevski/812914/ltcube_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/812914/Model_4FGL_J0453.1-2806_daily_bin242.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0453.1-2806'

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  4.593e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.539e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/812914/ft1_filtered_4FGL_J0453.1-2806_daily_bin242.fits
Spacecraft file(s): /scratch/kocevski/812914/ft2_4FGL_J0453.1-2806_daily_bin242.fits
Exposure map: /scratch/kocevski/812914/expmap_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits
Exposure cube: /scratch/kocevski/812914/ltcube_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/812914/Model_4FGL_J0453.1-2806_daily_bin242.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) = 4868.44946239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4868.44339451

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0108       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.725       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.683       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .30587       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.962       1.0000         .10000E-03   10000.    
    14 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.922       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.5048       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4319       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70851       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4868.443     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2169 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5350       -.43641E-06** at limit **
   2  Prefactor     .10000E-03    16.221       -.43486E-05** at limit **
   3  Prefactor     .10000E-03    56.748        .40070E-04** at limit **
   4  norm          2.0105        .76462       -.83319E-07   -.14666E-02
   5  Prefactor     17.725        22.954       -.55859E-06   -.37844E-04
   6  norm          .10000E-03    62.478        .46382E-04** at limit **
   7  Prefactor     .10000E-03    5.8110        .62645E-06** at limit **
   8  Prefactor     .10000E-03    54.965        .34367E-04** at limit **
   9  norm          12.683        5.2726       -.77368E-07    .38937E-05
  10  Prefactor     .10000E-03    3.3632       -.16559E-06** at limit **
  11  norm          .30587        .23666       -.29845E-07   -.13869E-02
  12  Prefactor     .10000E-03    19.774        .10441E-04** at limit **
  13  Prefactor     16.951        40.164       -.13440E-04    .80536E-04
  14  norm          .10000E-03    104.15       -.11072E-03** at limit **
  15  norm          10.922        3.5466       -.86171E-07   -.76087E-05
  16  Prefactor     .10000E-03    39.326       -.55415E-04** at limit **
  17  Prefactor     .10000E-03    4.7107        .49014E-07** at limit **
  18  norm          4.5048        4.1737        .21821E-06    .73498E-04
  19  norm          .10000E-03    1.3049        .31913E-07** at limit **
  20  Normalizat    1.4319        .22989        .10336E-06    .45730E-04
  21  Prefactor     .70845        .19600        .17900E-05   -.82432E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.01048
  Prefactor  = 17.725
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6835
  Prefactor  = 0.0001
  norm       = 0.305865
  Prefactor  = 0.0001
  Prefactor  = 16.9508
  norm       = 0.000100001
  norm       = 10.9219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.50482
  norm       = 0.0001
  Normalizat = 1.43191
  Prefactor  = 0.708446
 **********
 **   18 **HESSE 
 **********

 FCN=   4868.443     FROM HESSE     STATUS=OK           315 CALLS     2484 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5356        .16033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    57.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0105        .76647        .36552E-04   -1.5424    
   5  Prefactor     17.725        22.961        .95131E-04   -1.4866    
   6  norm          .10000E-03    62.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8563        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    55.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.683        5.2935        .98412E-04   -1.4996    
  10  Prefactor     .10000E-03    3.3796        .12492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .30587        .22913        .28114E-03   -1.5597    
  12  Prefactor     .10000E-03    19.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.951        40.163        .97249E-04   -1.4884    
  14  norm          .10000E-03    104.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.922        3.5482        .71705E-04   -1.5047    
  16  Prefactor     .10000E-03    39.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7138        .14774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.5048        4.1735        .13244E-03   -1.5283    
  19  norm          .10000E-03    2.0739        .15416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4319        .27561        .24793E-03   -.79710    
  21  Prefactor     .70845        .23431        .29216E-03   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3255e-10
Minuit parameter uncertainties:
  1  1.08275e-06
  2  5.30162e-06
  3  0.000725145
  4  0.766469
  5  22.9722
  6  5.8703e-07
  7  3.70244e-07
  8  6.0472e-05
  9  5.29373
  10  3.42952e-06
  11  0.229134
  12  8.31475e-06
  13  40.2271
  14  0.000533393
  15  3.54825
  16  0.000149345
  17  5.84677e-06
  18  4.17376
  19  4.16493e-06
  20  0.275895
  21  0.234638
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4868.44339421

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.268e+01  5.294e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.539e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  7.084e-01  2.346e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  1.432e+00  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.06
Ra Dec: 73.289 -28.114
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 1.46e-07 +/- 6.09e-08
Energy Flux (Fixed Index): 3.67e-05 +/- 1.53e-05

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) = 4867.70447803
delta logL = 0.738916185604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4867.57151609
delta logL = 0.871878122857

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5301       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9147       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5032       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66869       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4867.572     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      211 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5301        4.5910        .32453E-02   -.52308E-02
   2  alpha         1.9147        .35860        .22309       -.48623E-04
   3  Normalizat    1.5033        .22601        .54986E-01    .42543E-04
   4  Prefactor     .66872        .19390        .67770E-01   -.66174E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.53014
  alpha      = 1.91472
  Normalizat = 1.50328
  Prefactor  = 0.668715
 **********
 **   18 **HESSE 
 **********

 FCN=   4867.572     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5301        5.6552        .93701E-04   -1.5090    
   2  alpha         1.9147        .46216        .94077E-02   -.23631    
   3  Normalizat    1.5033        .27253        .24312E-03   -.77686    
   4  Prefactor     .66872        .23157        .29989E-03   -1.0477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85027e-09
Minuit parameter uncertainties:
  1  5.65554
  2  0.464988
  3  0.272794
  4  0.2319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812914': 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) = 4867.57151595
delta logL = 0.871878256351

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  9.530e+00  5.656e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  1.915e+00  4.650e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  9.636e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.180e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.687e-01  2.319e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  1.503e+00  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.74
Ra Dec: 73.289 -28.114
Photon Index (Free Index): 1.91 +/- 0.46
Photon Flux (Free Index): 8.73e-08 +/- 5.69e-08
Energy Flux (Free Index): 4.20e-05 +/- 2.11e-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/812914/cmap_HighResolution_302054401_302313601_4FGL_J0453.1-2806_daily_bin242.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/812914

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-07', energy_flux2='4.20e-05', photon_flux_error='6.09e-08', dlogl='8.72e-01', energy_flux='3.67e-05', photon_flux2='8.73e-08', job_status='DONE', time_completed='2021-08-21 12:10:57.667424', photon_index_error2='0.46', photon_index2='1.91', ts='17.06', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='2.11e-05', EG='1.43', time_epoch_completed='1629573057.67', return_code='0', job_id='812914', GAL2='0.67', EG2='1.50', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.69e-08', ts2='18.74', photon_index='2.54' WHERE bin_id='242' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:10:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 812914: <4FGL_J0453.1-2806_daily_bin242> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin242> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 21 12:00:52 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:00:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 12:00:53 2021
Terminated at Sat Aug 21 12:10:59 2021
Results reported at Sat Aug 21 12:10:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin242 73.2887 -28.1144 302054401 302313601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0453.1-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   582.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            607 sec.

The output (if any) is above this job summary.

