/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 86 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 = 7426
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1102
RA = 73.2887, Dec = -28.1144
tmin = 524966401, tmax = 525225601
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='818687', job_status='RUN', time_executed='2021-08-21 12:23:43.183345', time_epoch_executed='1629573823.18' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1102'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/818687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/818687/ft1_4FGL_J0453.1-2806_daily_bin1102.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/818687/ft1_4FGL_J0453.1-2806_daily_bin1102.fits outfile=/scratch/kocevski/818687/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1102.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=524966401.0 tmax=525225601.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 8.16
user 3.20
sys 4.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.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/818687/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1102.fits evtable="EVENTS" outfile="/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.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 5.17
user 0.32
sys 4.78

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits" evtable="EVENTS" scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits sctable="SC_DATA" outfile=/scratch/kocevski/818687/ltcube_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.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/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits
.....................!
real 16.93
user 11.34
sys 5.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits evtable="EVENTS" scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits sctable="SC_DATA" expcube=/scratch/kocevski/818687/ltcube_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits outfile=/scratch/kocevski/818687/expmap_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.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/818687/ltcube_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits
.....................!
real 196.94
user 185.97
sys 10.57

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/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits outfile=/scratch/kocevski/818687/cmap_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.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 5.08
user 0.35
sys 4.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits outfile=/scratch/kocevski/818687/cmap_HighResolution_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.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 5.05
user 0.35
sys 4.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits evtable="EVENTS" scfile=/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/818687/Model_4FGL_J0453.1-2806_daily_bin1102.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/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits.....................!
real 174.68
user 166.48
sys 7.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits', '/scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits', expMap='/scratch/kocevski/818687/expmap_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits', expCube='/scratch/kocevski/818687/ltcube_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/818687/Model_4FGL_J0453.1-2806_daily_bin1102.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/818687/ft1_filtered_4FGL_J0453.1-2806_daily_bin1102.fits
Spacecraft file(s): /scratch/kocevski/818687/ft2_4FGL_J0453.1-2806_daily_bin1102.fits
Exposure map: /scratch/kocevski/818687/expmap_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits
Exposure cube: /scratch/kocevski/818687/ltcube_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/818687/Model_4FGL_J0453.1-2806_daily_bin1102.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) = 7508.442635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32100       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7320       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.628       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1101       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.0071       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .47352       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.011       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.543       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.228       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.833       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0204       1.0000         .10000E-03   10000.    
    19 'norm      '    1.4027       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0375       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89514       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=   7508.433     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2236 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.731       -.26234E-06** at limit **
   2  Prefactor     .10000E-03    9.0151       -.23032E-06** at limit **
   3  Prefactor     .21949        10.899       -.17432E-07   -.42523E-05
   4  norm          4.7330        .89523       -.15229E-07    .43317E-04
   5  Prefactor     11.627        12.628        .14108E-06    .16607E-04
   6  norm          .10000E-03    62.217       -.12672E-06** at limit **
   7  Prefactor     5.1100        4.7496        .59879E-06    .45480E-03
   8  Prefactor     .10000E-03    9.4243        .42975E-06** at limit **
   9  norm          8.0060        3.5604        .64820E-06   -.11505E-02
  10  Prefactor     .10000E-03    3.9746       -.52663E-07** at limit **
  11  norm          .47351        .16608       -.49552E-08   -.13158E-03
  12  Prefactor     .10000E-03    13.491        .20974E-06** at limit **
  13  Prefactor     22.009        25.992       -.38363E-06   -.68607E-04
  14  norm          .10000E-03    18.724       -.73711E-07** at limit **
  15  norm          11.543        2.9855       -.32951E-07   -.53878E-04
  16  Prefactor     12.209        30.929       -.40577E-05   -.19312E-03
  17  Prefactor     11.835        11.600       -.49238E-06    .19235E-04
  18  norm          2.0188        5.7553        .12419E-05   -.19557E-03
  19  norm          1.4034        1.8349        .22496E-06   -.98079E-04
  20  Normalizat    1.0376        .17633        .76610E-07   -.42639E-04
  21  Prefactor     .89513        .15583       -.46980E-06    .37092E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.21949
  norm       = 4.73296
  Prefactor  = 11.6273
  norm       = 0.0001
  Prefactor  = 5.11003
  Prefactor  = 0.0001
  norm       = 8.00598
  Prefactor  = 0.0001
  norm       = 0.473512
  Prefactor  = 0.0001
  Prefactor  = 22.0089
  norm       = 0.0001
  norm       = 11.543
  Prefactor  = 12.2093
  Prefactor  = 11.8352
  norm       = 2.01885
  norm       = 1.40336
  Normalizat = 1.03759
  Prefactor  = 0.895128
 **********
 **   18 **HESSE 
 **********

 FCN=   7508.433     FROM HESSE     STATUS=OK           329 CALLS     2565 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.0478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21949        12.550        .93355E-01   -1.5614    
   4  norm          4.7330        .89889        .33529E-04   -1.5273    
   5  Prefactor     11.627        12.632        .11748E-03   -1.5026    
   6  norm          .10000E-03    62.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1100        4.8230        .17786E-03   -1.5256    
   8  Prefactor     .10000E-03    9.4533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0060        3.7667        .53889E-03   -1.5142    
  10  Prefactor     .10000E-03    4.0729        .33709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .47351        .16570        .19973E-04   -1.5570    
  12  Prefactor     .10000E-03    13.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.009        26.140        .85375E-04   -1.4769    
  14  norm          .10000E-03    18.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.543        2.9819        .72350E-04   -1.5028    
  16  Prefactor     12.209        32.924        .11455E-03   -1.5009    
  17  Prefactor     11.835        11.480        .11645E-03   -1.5020    
  18  norm          2.0188        5.7585        .27911E-03   -1.5424    
  19  norm          1.4034        1.8109        .12640E-03   -1.5471    
  20  Normalizat    1.0376        .20415        .26132E-03   -.91782    
  21  Prefactor     .89513        .17861        .25635E-03   -.96312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07227e-09
Minuit parameter uncertainties:
  1  3.148e-05
  2  3.14354e-05
  3  3.31943
  4  0.898891
  5  12.6352
  6  4.06378e-05
  7  4.8234
  8  5.02781e-05
  9  3.7668
  10  6.57245e-06
  11  0.165699
  12  2.95013e-05
  13  26.1538
  14  9.16953e-06
  15  2.98195
  16  32.9734
  17  11.4823
  18  5.7601
  19  1.81102
  20  0.204301
  21  0.178728
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  8.006e+00  3.767e+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:  8.951e-01  1.787e-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.038e+00  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.54
Ra Dec: 73.289 -28.114
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 9.22e-08 +/- 4.34e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.09e-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) = 7507.41018821
delta logL = 1.02271991376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7507.38688778
delta logL = 1.04602034954

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7721       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6181       1.0000          .0000       5.0000    
     3 'Normalizat'    .96428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94836       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=   7507.387     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      254 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7696        36.848        .41793E-02    .20904E-02
   2  alpha         3.6177        3.8614        .42229        .11834E-03
   3  Normalizat    .96429        .80198E-01    .45718E-01    .28026E-04
   4  Prefactor     .94845        .80901E-01    .45618E-01    .27274E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.76962
  alpha      = 3.61769
  Normalizat = 0.964288
  Prefactor  = 0.948445
 **********
 **   18 **HESSE 
 **********

 FCN=   7507.387     FROM HESSE     STATUS=OK            31 CALLS      285 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7696        4.6352        .78826E-04   -1.5228    
   2  alpha         3.6177        .99132        .18896E-02    .46349    
   3  Normalizat    .96429        .20173        .26967E-03   -.94237    
   4  Prefactor     .94845        .18258        .25010E-03   -.94468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02067e-10
Minuit parameter uncertainties:
  1  4.63553
  2  1.02705
  3  0.201889
  4  0.182696
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/818687': 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) = 7507.38688568
delta logL = 1.04602244375

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  5.770e+00  4.636e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  3.618e+00  1.027e+00  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:  9.484e-01  1.827e-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:  9.643e-01  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.95
Ra Dec: 73.289 -28.114
Photon Index (Free Index): 3.62 +/- 1.03
Photon Flux (Free Index): 1.35e-07 +/- 5.65e-08
Energy Flux (Free Index): 2.20e-05 +/- 9.49e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/818687/cmap_HighResolution_524966401_525225601_4FGL_J0453.1-2806_daily_bin1102.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.22e-08', energy_flux2='2.20e-05', photon_flux_error='4.34e-08', dlogl='1.05e+00', energy_flux='2.31e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-08-21 12:36:56.907245', photon_index_error2='1.03', photon_index2='3.62', ts='7.54', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='9.49e-06', EG='1.04', time_epoch_completed='1629574616.91', return_code='0', job_id='818687', GAL2='0.95', EG2='0.96', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='5.65e-08', ts2='9.95', photon_index='2.54' WHERE bin_id='1102' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:36:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0131>
Subject: Job 818687: <4FGL_J0453.1-2806_daily_bin1102> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1102> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 21 12:20:39 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:20:40 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:20:40 2021
Terminated at Sat Aug 21 12:36:58 2021
Results reported at Sat Aug 21 12:36:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1102 73.2887 -28.1144 524966401 525225601 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 :                                   865.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

