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


Performing analysis on: 4FGL_J0453.1-2806_daily_bin1303
RA = 73.2887, Dec = -28.1144
tmin = 577065601, tmax = 577324801
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='820196', job_status='RUN', time_executed='2021-08-21 12:27:24.953855', time_epoch_executed='1629574044.95' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='1303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820196/ft1_4FGL_J0453.1-2806_daily_bin1303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820196/ft1_4FGL_J0453.1-2806_daily_bin1303.fits outfile=/scratch/kocevski/820196/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin1303.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=577065601.0 tmax=577324801.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.99
user 2.87
sys 1.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits" evtable="EVENTS" scfile=/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits sctable="SC_DATA" outfile=/scratch/kocevski/820196/ltcube_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.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/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits
.....................!
real 13.47
user 12.05
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits sctable="SC_DATA" expcube=/scratch/kocevski/820196/ltcube_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.fits outfile=/scratch/kocevski/820196/expmap_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.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/820196/ltcube_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.fits
.....................!
real 192.31
user 185.98
sys 5.93

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/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits scfile=/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits outfile=/scratch/kocevski/820196/cmap_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.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.39
user 0.37
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits scfile=/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits outfile=/scratch/kocevski/820196/cmap_HighResolution_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.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.44
user 0.39
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/820196/ft2_4FGL_J0453.1-2806_daily_bin1303.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820196/Model_4FGL_J0453.1-2806_daily_bin1303.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/820196/ft1_filtered_4FGL_J0453.1-2806_daily_bin1303.fits.....................!
real 176.76
user 173.65
sys 2.71

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9794       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1239       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5308       1.0000         .10000E-03   10000.    
     4 'norm      '    .72989       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11341E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13511E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0641       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4251       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    26.398       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6836       1.0000         .10000E-03   10000.    
    18 'norm      '    .33229       1.0000         .10000E-03   10000.    
    19 'norm      '    .92143       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5443       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75872       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=   7749.888     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     1955 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9997        13.749       -.63070E-06   -.41080E-04
   2  Prefactor     6.0876        61.479        .21928E-05   -.58224E-05
   3  Prefactor     8.5295        11.310        .10016E-06    .70438E-05
   4  norm          .72988        .45925        .28465E-07    .10366E-03
   5  Prefactor     .10000E-03    5.1291        .64874E-08** at limit **
   6  norm          .10000E-03    80.236        .72957E-06** at limit **
   7  Prefactor     .10000E-03    3.4149        .31944E-06** at limit **
   8  Prefactor     .10000E-03    139.44       -.33160E-05** at limit **
   9  norm          .10000E-03    2.4301        .16432E-06** at limit **
  10  Prefactor     2.0641        4.2105        .10913E-05    .28565E-03
  11  norm          1.4252        .26899       -.43566E-07   -.33725E-02
  12  Prefactor     .10000E-03    11.835        .37933E-07** at limit **
  13  Prefactor     .10000E-03    30.892        .71622E-06** at limit **
  14  norm          .10000E-03    39.529       -.75399E-07** at limit **
  15  norm          26.396        3.9443       -.32137E-07    .46246E-03
  16  Prefactor     .10000E-03    36.892       -.19267E-06** at limit **
  17  Prefactor     1.6345        22.029        .38098E-05    .24030E-03
  18  norm          .36146        5.0957       -.21094E-05    .12013E-02
  19  norm          .92078        1.5778        .66147E-06    .10189E-02
  20  Normalizat    1.5444        .19161        .33560E-07   -.23231E-03
  21  Prefactor     .75869        .17342       -.19312E-05   -.19304E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99967
  Prefactor  = 6.0876
  Prefactor  = 8.52949
  norm       = 0.729877
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 2.06414
  norm       = 1.42521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 26.3956
  Prefactor  = 0.0001
  Prefactor  = 1.6345
  norm       = 0.361462
  norm       = 0.920782
  Normalizat = 1.54441
  Prefactor  = 0.758692
 **********
 **   18 **HESSE 
 **********

 FCN=   7749.888     FROM HESSE     STATUS=OK           319 CALLS     2274 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9997        13.594        .20219E-03   -1.5308    
   2  Prefactor     6.0876        60.993        .16224E-03   -1.5214    
   3  Prefactor     8.5295        11.308        .13725E-03   -1.5124    
   4  norm          .72988        .45146        .45318E-04   -1.5537    
   5  Prefactor     .10000E-03    5.1359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    80.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.7426        .31625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    140.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4934        .26792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0641        4.2167        .24852E-03   -1.5421    
  11  norm          1.4252        .26838        .18847E-04   -1.5469    
  12  Prefactor     .10000E-03    11.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    39.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.396        3.9524        .64210E-04   -1.4680    
  16  Prefactor     .10000E-03    37.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6345        50.919        .32458E-03   -1.5452    
  18  norm          .36146        43.008        .25366E-02   -1.5588    
  19  norm          .92078        1.5353        .14441E-02   -1.5516    
  20  Normalizat    1.5444        .23053        .25453E-03   -.76538    
  21  Prefactor     .75869        .20305        .31307E-03   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0628e-08
Minuit parameter uncertainties:
  1  13.605
  2  38.5891
  3  11.3113
  4  0.451464
  5  3.2835e-06
  6  0.0006225
  7  1.49358e-05
  8  0.00131041
  9  1.02702e-05
  10  4.21729
  11  0.268382
  12  5.58591e-06
  13  0.00020881
  14  7.47094e-05
  15  3.95248
  16  8.29417e-05
  17  18.2623
  18  7.89037
  19  1.5354
  20  0.23069
  21  0.203254
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.000e-04  1.027e-05  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.587e-01  2.033e-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.544e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 73.289 -28.114
Photon Flux Upper Limit: 8.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820196/likelihoodResults_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.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): 102
logL (Free Index) = 7749.88952827
delta logL = -0.00190989992007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7749.53455018
delta logL = 0.353068195587

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51500       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79004       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7749.535     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      337 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51487        .69216        .82455E-03    .71006E-02
   2  alpha         5.0000        3.6061        .11475    ** at limit **
   3  Normalizat    1.4910        .23023        .25812E-03   -.14358E-04
   4  Prefactor     .79023        .20357        .30739E-03   -.84695E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.514874
  alpha      = 5
  Normalizat = 1.49105
  Prefactor  = 0.790225
 **********
 **   18 **HESSE 
 **********

 FCN=   7749.535     FROM HESSE     STATUS=OK            25 CALLS      362 TOTAL
                     EDM=   .64E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51487        .68634        .16491E-03   -1.5564    
   2  alpha         5.0000        3.6052        .22951E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4910        .23027        .10325E-04   -.78030    
   4  Prefactor     .79023        .20371        .12296E-04   -1.0009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36701e-13
Minuit parameter uncertainties:
  1  0.686346
  2  2.08244e-06
  3  0.230432
  4  0.203905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820196': 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) = 7749.53454766
delta logL = 0.35307071785

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  5.149e-01  6.863e-01  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  5.000e+00  2.082e-06  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.902e-01  2.039e-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.491e+00  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 73.289 -28.114

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/820196/cmap_HighResolution_577065601_577324801_4FGL_J0453.1-2806_daily_bin1303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-08-21 12:40:52.222524', job_id='820196', GAL2='0.79', fit_tolerance='1e-08', EG2='1.49', EG='1.54', time_epoch_completed='1629574852.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.53e-01', ts2='0.75', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1303' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:40:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 820196: <4FGL_J0453.1-2806_daily_bin1303> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin1303 73.2887 -28.1144 577065601 577324801 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 :                                   820.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

