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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1409
RA = 73.2887, Dec = -28.1144
tmin = 604540801, tmax = 604800001
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='820363', job_status='RUN', time_executed='2021-08-21 12:27:23.971564', time_epoch_executed='1629574043.97' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820363/ft1_4FGL_J0453.1-2806_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820363/ft1_4FGL_J0453.1-2806_daily_bin1409.fits outfile=/scratch/kocevski/820363/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1409.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=604540801.0 tmax=604800001.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 7.06
user 3.45
sys 3.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.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/820363/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1409.fits evtable="EVENTS" outfile="/scratch/kocevski/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.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 3.86
user 0.34
sys 3.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/820363/ltcube_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.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/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits
.....................!
real 15.71
user 11.54
sys 4.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/820363/ltcube_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.fits outfile=/scratch/kocevski/820363/expmap_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.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/820363/ltcube_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.fits
.....................!
real 195.91
user 185.19
sys 9.31

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/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits outfile=/scratch/kocevski/820363/cmap_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.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 3.81
user 0.37
sys 3.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits outfile=/scratch/kocevski/820363/cmap_HighResolution_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.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 3.76
user 0.38
sys 3.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/820363/ft2_4FGL_J0453.1-2806_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820363/Model_4FGL_J0453.1-2806_daily_bin1409.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/820363/ft1_filtered_4FGL_J0453.1-2806_daily_bin1409.fits.....................!
real 118.22
user 111.86
sys 5.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    73.293       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .49901E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.3251       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2407       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.4004       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14385E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .64961E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .75265       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7024       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .59633       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=   4889.424     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2196 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9382        .12427E-06** at limit **
   2  Prefactor     73.301        62.848       -.37506E-06   -.46764E-05
   3  Prefactor     .10000E-03    7.1144        .76001E-07** at limit **
   4  norm          1.7333        .74576        .14891E-07   -.17277E-04
   5  Prefactor     .10000E-03    11.628        .16326E-06** at limit **
   6  norm          .10000E-03    113.80       -.89533E-05** at limit **
   7  Prefactor     .10000E-03    4.0549       -.40503E-07** at limit **
   8  Prefactor     .10000E-03    18.810        .95114E-06** at limit **
   9  norm          5.3209        5.9309        .19239E-05    .38759E-03
  10  Prefactor     .10000E-03    5.7456        .23700E-08** at limit **
  11  norm          1.2407        .30997       -.15176E-07   -.26421E-03
  12  Prefactor     .10000E-03    15.976       -.82201E-06** at limit **
  13  Prefactor     .10000E-03    7.1274       -.40899E-08** at limit **
  14  norm          .10000E-03    23.254       -.23937E-06** at limit **
  15  norm          6.4015        2.9695        .75781E-07   -.20166E-03
  16  Prefactor     .10000E-03    207.13        .78307E-05** at limit **
  17  Prefactor     .10000E-03    4.2047        .83750E-08** at limit **
  18  norm          .10001E-03    3.9170        .16571E-05** at limit **
  19  norm          .74795        2.5690        .20739E-06   -.11479E-03
  20  Normalizat    1.7021        .24995       -.17634E-05   -.13738E-03
  21  Prefactor     .59653        .20112        .11974E-05   -.11496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 73.3012
  Prefactor  = 0.0001
  norm       = 1.73328
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.32093
  Prefactor  = 0.0001
  norm       = 1.24071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.40155
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.000100009
  norm       = 0.747952
  Normalizat = 1.70205
  Prefactor  = 0.596531
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.424     FROM HESSE     STATUS=OK           309 CALLS     2505 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.9426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     73.301        63.162        .46896E-04   -1.3994    
   3  Prefactor     .10000E-03    7.1169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7333        .74755        .38500E-04   -1.5445    
   5  Prefactor     .10000E-03    11.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    114.98        .21158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0753        .13751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.3209        6.1074        .85382E-03   -1.5247    
  10  Prefactor     .10000E-03    5.8614        .16362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2407        .31026        .18579E-04   -1.5485    
  12  Prefactor     .10000E-03    15.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.1281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    23.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.4015        2.9584        .78802E-04   -1.5202    
  16  Prefactor     .10000E-03    211.59        .41007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.2080        .14001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    10.651        .23230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .74795        2.5769        .19542E-03   -1.5535    
  20  Normalizat    1.7021        .28863        .24643E-03   -.72248    
  21  Prefactor     .59653        .23209        .33066E-03   -1.0773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79436e-10
Minuit parameter uncertainties:
  1  1.2932e-05
  2  63.2202
  3  3.41646e-07
  4  0.747549
  5  1.03919e-06
  6  1.55064e-05
  7  1.34953e-06
  8  2.61266e-06
  9  6.10815
  10  5.0289e-06
  11  0.310259
  12  3.8287e-08
  13  4.98744e-07
  14  3.75762e-07
  15  2.95848
  16  0.00154882
  17  3.55712e-06
  18  0.000603221
  19  2.57733
  20  0.288918
  21  0.232459
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  5.321e+00  6.108e+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:  5.965e-01  2.325e-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.702e+00  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.94
Ra Dec: 73.289 -28.114
Photon Flux Upper Limit: 2.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820363/likelihoodResults_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.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) = 4888.87038074
delta logL = 0.553938641671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4888.86917162
delta logL = 0.555147760659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7290       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1540       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65453       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=   4888.869     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      265 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7352        80.235        .52276E-02    .28066E-03
   2  alpha         4.1527        2.7486        .50000        .99393E-05
   3  Normalizat    1.6131        .11247        .56877E-01   -.14529E-04
   4  Prefactor     .65445        .98415E-01    .71619E-01    .27095E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.73524
  alpha      = 4.15274
  Normalizat = 1.61315
  Prefactor  = 0.654454
 **********
 **   18 **HESSE 
 **********

 FCN=   4888.869     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7352        9.7000        .95827E-04   -1.5321    
   2  alpha         4.1527        4.3114        .34998E-01    .72228    
   3  Normalizat    1.6131        .29100        .25149E-03   -.74647    
   4  Prefactor     .65445        .23958        .31701E-03   -1.0534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.715e-09
Minuit parameter uncertainties:
  1  9.70409
  2  3.05727
  3  0.291311
  4  0.239957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820363': 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) = 4888.86917086
delta logL = 0.555148521673

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  3.735e+00  9.704e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  4.153e+00  3.057e+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:  6.545e-01  2.400e-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.613e+00  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 73.289 -28.114
Photon Index (Free Index): 4.15 +/- 3.06
Photon Flux (Free Index): 1.34e-07 +/- 1.05e-07
Energy Flux (Free Index): 1.98e-05 +/- 1.73e-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/820363/cmap_HighResolution_604540801_604800001_4FGL_J0453.1-2806_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-05', comment='SUCCESS', energy_flux2='1.98e-05', dlogl='5.55e-01', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-08-21 12:38:25.580077', photon_index_error2='3.06', photon_index2='4.15', ts='0.94', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='2.03e-07', energy_flux_error2='1.73e-05', EG='1.70', time_epoch_completed='1629574705.58', return_code='0', job_id='820363', GAL2='0.65', EG2='1.61', return_code2='0', photon_flux_error2='1.05e-07', ts2='2.19', photon_index='2.54' WHERE bin_id='1409' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:38:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 820363: <4FGL_J0453.1-2806_daily_bin1409> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1409> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 12:25:54 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:25:56 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:25:56 2021
Terminated at Sat Aug 21 12:38:26 2021
Results reported at Sat Aug 21 12:38:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1409 73.2887 -28.1144 604540801 604800001 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 :                                   700.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

