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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1503
RA = 73.2887, Dec = -28.1144
tmin = 628905601, tmax = 629164801
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='820473', job_status='RUN', time_executed='2021-08-21 12:26:24.211162', time_epoch_executed='1629573984.21' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820473

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820473/ft1_4FGL_J0453.1-2806_daily_bin1503.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820473/ft1_4FGL_J0453.1-2806_daily_bin1503.fits outfile=/scratch/kocevski/820473/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1503.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=628905601.0 tmax=629164801.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 3.56
user 3.36
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits" evtable="EVENTS" scfile=/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits sctable="SC_DATA" outfile=/scratch/kocevski/820473/ltcube_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.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/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits
.....................!
real 15.98
user 15.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits sctable="SC_DATA" expcube=/scratch/kocevski/820473/ltcube_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.fits outfile=/scratch/kocevski/820473/expmap_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.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/820473/ltcube_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.fits
.....................!
real 192.22
user 186.61
sys 5.25

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/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits scfile=/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits outfile=/scratch/kocevski/820473/cmap_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.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 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits scfile=/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits outfile=/scratch/kocevski/820473/cmap_HighResolution_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.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 0.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/820473/ft2_4FGL_J0453.1-2806_daily_bin1503.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820473/Model_4FGL_J0453.1-2806_daily_bin1503.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/820473/ft1_filtered_4FGL_J0453.1-2806_daily_bin1503.fits.....................!
real 181.42
user 179.97
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.2044       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2742       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.018       1.0000         .10000E-03   10000.    
     6 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7645       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6619       1.0000         .10000E-03   10000.    
     9 'norm      '    3.5593       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6750       1.0000         .10000E-03   10000.    
    11 'norm      '    .80835       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.693       1.0000         .10000E-03   10000.    
    14 'norm      '    .96939E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    1.5939       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.617       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6617       1.0000         .10000E-03   10000.    
    18 'norm      '    .14543E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8325       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1003       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70176       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=   8110.385     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2240 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.1332       -.31081E-07** at limit **
   2  Prefactor     .10000E-03    7.1175       -.96796E-08** at limit **
   3  Prefactor     4.2055        5.6574        .45740E-07   -.56971E-05
   4  norm          1.2742        .41367        .96944E-09   -.39008E-04
   5  Prefactor     11.019        12.724        .87106E-07   -.27117E-04
   6  norm          .10000E-03    39.414        .40796E-07** at limit **
   7  Prefactor     2.7647        4.3281        .38104E-06   -.67513E-04
   8  Prefactor     2.6564        34.139       -.99735E-06   -.45180E-04
   9  norm          3.5597        2.6607        .57405E-07   -.99199E-04
  10  Prefactor     7.6729        4.0107        .66210E-06   -.44743E-03
  11  norm          .80833        .16713        .46461E-08   -.22043E-03
  12  Prefactor     .10000E-03    7.3718       -.21653E-07** at limit **
  13  Prefactor     31.744        22.397        .33131E-06    .61358E-04
  14  norm          .10000E-03    367.27       -.32856E-05** at limit **
  15  norm          1.5940        1.4481        .82624E-07   -.13971E-03
  16  Prefactor     20.586        27.522        .23891E-05    .15908E-03
  17  Prefactor     5.6628        5.1654       -.70180E-06    .77538E-04
  18  norm          .10000E-03    1.3662        .22846E-06** at limit **
  19  norm          1.8337        1.4964        .44404E-07   -.20415E-03
  20  Normalizat    1.1004        .15497       -.10909E-05    .12181E-04
  21  Prefactor     .70175        .13687        .45177E-06   -.94962E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.20553
  norm       = 1.2742
  Prefactor  = 11.0191
  norm       = 0.0001
  Prefactor  = 2.76471
  Prefactor  = 2.65638
  norm       = 3.55971
  Prefactor  = 7.67293
  norm       = 0.808331
  Prefactor  = 0.0001
  Prefactor  = 31.7441
  norm       = 0.000100002
  norm       = 1.59397
  Prefactor  = 20.5862
  Prefactor  = 5.66282
  norm       = 0.0001
  norm       = 1.83368
  Normalizat = 1.10036
  Prefactor  = 0.701749
 **********
 **   18 **HESSE 
 **********

 FCN=   8110.385     FROM HESSE     STATUS=OK           325 CALLS     2565 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.1239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2055        5.6530        .19654E-03   -1.5298    
   4  norm          1.2742        .41456        .32117E-04   -1.5482    
   5  Prefactor     11.019        12.722        .12070E-03   -1.5044    
   6  norm          .10000E-03    39.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7647        4.3296        .22717E-03   -1.5375    
   8  Prefactor     2.6564        34.925        .24982E-03   -1.5382    
   9  norm          3.5597        2.6588        .11987E-03   -1.5331    
  10  Prefactor     7.6729        4.0708        .63183E-03   -1.5154    
  11  norm          .80833        .16718        .16013E-04   -1.5528    
  12  Prefactor     .10000E-03    7.3732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.744        22.459        .71174E-04   -1.4581    
  14  norm          .10000E-03    379.28        .36286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5940        1.4325        .98749E-04   -1.5455    
  16  Prefactor     20.586        28.809        .88210E-04   -1.4800    
  17  Prefactor     5.6628        5.1407        .84411E-03   -1.5232    
  18  norm          .10000E-03    6.0817        .19796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8337        1.4891        .93669E-04   -1.5437    
  20  Normalizat    1.1004        .17447        .22743E-03   -.89740    
  21  Prefactor     .70175        .15521        .25720E-03   -1.0346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35179e-10
Minuit parameter uncertainties:
  1  7.52168e-07
  2  3.16562e-06
  3  5.65374
  4  0.414562
  5  12.7247
  6  7.54743e-06
  7  4.33004
  8  19.2774
  9  2.65893
  10  4.0709
  11  0.167177
  12  5.33954e-07
  13  22.4649
  14  0.00192398
  15  1.43257
  16  28.8283
  17  5.14109
  18  1.26877e-05
  19  1.48917
  20  0.174563
  21  0.155304
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  3.560e+00  2.659e+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.017e-01  1.553e-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.100e+00  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 73.289 -28.114
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 7.69e-06

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

Saving results to:
/scratch/kocevski/820473/likelihoodResults_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.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) = 8109.97451377
delta logL = 0.410585334984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8109.9650205
delta logL = 0.420078608831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1802       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4425       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72749       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=   8109.965     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1798        43.529        .56810E-02    .56075E-03
   2  alpha         3.4426        2.7047        .45644        .30862E-04
   3  Normalizat    1.0619        .63825E-01    .39819E-01    .10763E-04
   4  Prefactor     .72751        .61536E-01    .42766E-01    .22691E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.17977
  alpha      = 3.44262
  Normalizat = 1.06192
  Prefactor  = 0.727508
 **********
 **   18 **HESSE 
 **********

 FCN=   8109.965     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1798        3.0409        .92459E-04   -1.5351    
   2  alpha         3.4426        1.2271        .28695E-01    .38661    
   3  Normalizat    1.0619        .17305        .23086E-03   -.90984    
   4  Prefactor     .72751        .15684        .25310E-03   -1.0246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51286e-12
Minuit parameter uncertainties:
  1  3.04109
  2  1.29327
  3  0.173142
  4  0.156937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820473': 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) = 8109.96502047
delta logL = 0.420078636716

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  3.180e+00  3.041e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  3.443e+00  1.293e+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:  7.275e-01  1.569e-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.062e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 73.289 -28.114
Photon Index (Free Index): 3.44 +/- 1.29
Photon Flux (Free Index): 6.53e-08 +/- 4.26e-08
Energy Flux (Free Index): 1.11e-05 +/- 6.95e-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/820473/cmap_HighResolution_628905601_629164801_4FGL_J0453.1-2806_daily_bin1503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.60e-05', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='1.11e-05', photon_flux_error='3.06e-08', dlogl='4.20e-01', energy_flux='1.03e-05', photon_flux2='6.53e-08', job_status='DONE', time_completed='2021-08-21 12:40:15.686419', photon_index_error2='1.29', photon_index2='3.44', ts='2.78', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='6.95e-06', EG='1.10', time_epoch_completed='1629574815.69', return_code='0', job_id='820473', GAL2='0.73', EG2='1.06', return_code2='0', energy_flux_error='7.69e-06', photon_flux_error2='4.26e-08', ts2='3.73', photon_index='2.54' WHERE bin_id='1503' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:40:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 820473: <4FGL_J0453.1-2806_daily_bin1503> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin1503> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 12:26:05 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:26:07 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:26:07 2021
Terminated at Sat Aug 21 12:40:18 2021
Results reported at Sat Aug 21 12:40:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1503 73.2887 -28.1144 628905601 629164801 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 :                                   829.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             385.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            853 sec.

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

