/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 4 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7357
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0453.1-2806_daily_bin803
RA = 73.2887, Dec = -28.1144
tmin = 447465601, tmax = 447724801
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='817182', job_status='RUN', time_executed='2021-08-21 12:18:27.152238', time_epoch_executed='1629573507.15' WHERE source_name='4FGL J0453.1-2806' and cadence='daily' and bin_id='803'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817182

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817182/ft1_4FGL_J0453.1-2806_daily_bin803.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817182/ft1_4FGL_J0453.1-2806_daily_bin803.fits outfile=/scratch/kocevski/817182/ft1_filteredMKT_4FGL_J0453.1-2806_daily_bin803.fits ra=73.2887 dec=-28.1144 rad=12.0 tmin=447465601.0 tmax=447724801.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 12.06
user 3.15
sys 8.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits" evtable="EVENTS" scfile=/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits sctable="SC_DATA" outfile=/scratch/kocevski/817182/ltcube_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.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/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits
.....................!
real 22.82
user 11.74
sys 10.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits evtable="EVENTS" scfile=/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits sctable="SC_DATA" expcube=/scratch/kocevski/817182/ltcube_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.fits outfile=/scratch/kocevski/817182/expmap_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.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/817182/ltcube_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.fits
.....................!
real 203.04
user 184.80
sys 15.45

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/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits scfile=/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits outfile=/scratch/kocevski/817182/cmap_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.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 8.97
user 0.38
sys 8.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits scfile=/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits outfile=/scratch/kocevski/817182/cmap_HighResolution_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.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 9.19
user 0.38
sys 8.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits evtable="EVENTS" scfile=/scratch/kocevski/817182/ft2_4FGL_J0453.1-2806_daily_bin803.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817182/Model_4FGL_J0453.1-2806_daily_bin803.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/817182/ft1_filtered_4FGL_J0453.1-2806_daily_bin803.fits.....................!
real 145.41
user 132.45
sys 12.59

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4629       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.174       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3605       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9765       1.0000         .10000E-03   10000.    
     6 'norm      '    .29965E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3646       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6540       1.0000         .10000E-03   10000.    
     9 'norm      '    .11534       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .99882       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12675E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .37225       1.0000         .10000E-03   10000.    
    14 'norm      '    .10546E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.3987       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.674       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.0098       1.0000         .10000E-03   10000.    
    19 'norm      '    5.5671       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95848       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0706       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=   5916.310     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     1994 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4643        13.784        .17467E-04    .34122E-03
   2  Prefactor     .10000E-03    23.379       -.80490E-07** at limit **
   3  Prefactor     27.166        21.396        .42833E-07   -.37890E-05
   4  norm          2.3603        .82841        .12461E-07    .16329E-04
   5  Prefactor     7.9711        10.873       -.70332E-08    .25301E-04
   6  norm          .10001E-03    231.00       -.52142E-05** at limit **
   7  Prefactor     4.3655        4.8023        .58066E-07    .49238E-04
   8  Prefactor     8.6515        56.495        .29750E-06    .10323E-04
   9  norm          .10717        2.7748        .40204E-05   -.13337E-02
  10  Prefactor     .10000E-03    1.8227       -.25733E-07** at limit **
  11  norm          .99890        .24536        .99638E-08    .10265E-03
  12  Prefactor     .10000E-03    127.08       -.11326E-05** at limit **
  13  Prefactor     .10420E-03    28.978       -.30352E-05** at limit **
  14  norm          .10000E-03    20.816       -.66500E-07** at limit **
  15  norm          5.3974        2.7391        .62352E-07    .10819E-03
  16  Prefactor     11.684        19.689       -.20273E-05    .14007E-03
  17  Prefactor     .10000E-03    6.1533       -.11577E-08** at limit **
  18  norm          4.0085        4.6015        .10450E-06    .37819E-04
  19  norm          5.5658        2.9821        .13632E-06    .17423E-03
  20  Normalizat    .95860        .20156       -.49563E-06    .43256E-05
  21  Prefactor     1.0707        .18207       -.13857E-06    .15025E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4643
  Prefactor  = 0.0001
  Prefactor  = 27.1662
  norm       = 2.36032
  Prefactor  = 7.97114
  norm       = 0.000100006
  Prefactor  = 4.3655
  Prefactor  = 8.65148
  norm       = 0.107168
  Prefactor  = 0.0001
  norm       = 0.998897
  Prefactor  = 0.0001
  Prefactor  = 0.000104203
  norm       = 0.0001
  norm       = 5.39744
  Prefactor  = 11.684
  Prefactor  = 0.0001
  norm       = 4.00853
  norm       = 5.56581
  Normalizat = 0.958605
  Prefactor  = 1.07073
 **********
 **   18 **HESSE 
 **********

 FCN=   5916.310     FROM HESSE     STATUS=OK           333 CALLS     2327 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4643        14.021        .17782E-02   -1.5466    
   2  Prefactor     .10000E-03    23.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.166        21.525        .76850E-04   -1.4665    
   4  norm          2.3603        .83190        .38098E-04   -1.5401    
   5  Prefactor     7.9711        10.869        .14197E-03   -1.5143    
   6  norm          .10001E-03    231.46        .21390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3655        4.8001        .17193E-03   -1.5290    
   8  Prefactor     8.6515        56.497        .13626E-03   -1.5120    
   9  norm          .10717        32.913        .19571E-02   -1.5643    
  10  Prefactor     .10000E-03    1.8277        .10138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .99890        .24560        .17815E-04   -1.5508    
  12  Prefactor     .10000E-03    128.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10420E-03    35.739        .11231       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3974        2.7379        .86422E-04   -1.5243    
  16  Prefactor     11.684        19.711        .11725E-03   -1.5024    
  17  Prefactor     .10000E-03    6.1581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.0085        4.5855        .16914E-03   -1.5308    
  19  norm          5.5658        2.9839        .92092E-04   -1.5236    
  20  Normalizat    .95860        .23156        .27612E-03   -.94430    
  21  Prefactor     1.0707        .20833        .24492E-03   -.90408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24621e-08
Minuit parameter uncertainties:
  1  9.06482
  2  0.000111649
  3  21.5315
  4  0.831909
  5  10.8715
  6  0.0023665
  7  4.80057
  8  44.2775
  9  3.7565
  10  5.10396e-06
  11  0.245602
  12  0.0002201
  13  0.0245275
  14  5.84201e-06
  15  2.73794
  16  19.7223
  17  2.06498e-06
  18  4.58589
  19  2.98396
  20  0.231799
  21  0.208487
Done.

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

Extracting fit parameters...

4FGL J0453.1-2806
   Spectrum: LogParabola
274         norm:  1.072e-01  3.757e+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:  1.071e+00  2.085e-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.586e-01  2.318e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817182/likelihoodResults_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.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) = 5916.28827554
delta logL = 0.0213634704187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5916.268053
delta logL = 0.0415860129579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68373       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5971       1.0000          .0000       5.0000    
     3 'Normalizat'    .94021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0798       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5916.268     FROM MIGRAD    STATUS=FAILED        93 CALLS      460 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68307        312.34        .20136E-03   -.12489E-03
   2  alpha         3.5980        2.5662        .48928        .12257E-03
   3  Normalizat    .94023        .99343E-01    .27859E-03    .24811E-04
   4  Prefactor     1.0798        .95131E-01    .24414E-03    .21513E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5916.268     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      550 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68307        312.34        .19168E-03   -.12489E-03
   2  alpha         3.5980        2.5662        .54626E-02    .12257E-03
   3  Normalizat    .94023        .99343E-01    .17008E-03    .24811E-04
   4  Prefactor     1.0798        .95131E-01    .10931E-03    .21513E-04
                               ERR DEF=  .500    

 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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5916.268     FROM MIGRAD    STATUS=FAILED        74 CALLS      624 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68307        315.75        .16109E-05   -.12763E-03
   2  alpha         3.5980        2.6710        .48793        .12267E-03
   3  Normalizat    .94023        .10070        .22287E-05    .24485E-04
   4  Prefactor     1.0798        .96650E-01    .19531E-05    .22119E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.68307
  alpha      = 3.59795
  Normalizat = 0.940233
  Prefactor  = 1.07979
 **********
 **   18 **HESSE 
 **********

 FCN=   5916.268     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      651 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68307        316.36        .37057E-06   -1.5543    
   2  alpha         3.5980        2.6900        .48790        .45469    
   3  Normalizat    .94023        .97740E-01    .44575E-06   -.95060    
   4  Prefactor     1.0798        .97122E-01    .39063E-06   -.90115    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.437e-06
Minuit parameter uncertainties:
  1  29.5567
  2  37.7219
  3  0.0977586
  4  0.0971382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817182': 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): 1
logL (Free Index) = 5916.26805296
delta logL = 0.0415860462372

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.080e+00  9.714e-02  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.402e-01  9.776e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/817182/cmap_HighResolution_447465601_447724801_4FGL_J0453.1-2806_daily_bin803.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-08-21 12:31:59.167310', job_id='817182', GAL2='1.08', fit_tolerance='1e-08', EG2='0.94', EG='0.96', time_epoch_completed='1629574319.17', return_code2='1', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.16e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='803' AND source_name='4FGL J0453.1-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 12:31:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 817182: <4FGL_J0453.1-2806_daily_bin803> in cluster <slac> Done

Job <4FGL_J0453.1-2806_daily_bin803> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 12:15:58 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 12:15:59 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:15:59 2021
Terminated at Sat Aug 21 12:32:01 2021
Results reported at Sat Aug 21 12:32:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.1-2806_daily_bin803 73.2887 -28.1144 447465601 447724801 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 :                                   942.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            963 sec.

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

