Sender: LSF System <lsf@bullet0216>
Subject: Job 264482: <4FGL_J0059.4-5654_daily_bin303> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin303> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 07:51:00 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:53:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 07:53:00 2021
Terminated at Fri Aug 13 08:35:51 2021
Results reported at Fri Aug 13 08:35:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin303 14.8643 -56.9089 317865601 318124801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0059.4-5654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2503.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             487.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2570 sec.
    Turnaround time :                            2691 sec.

The output (if any) follows:

/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 40 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 = 7475
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin303
RA = 14.8643, Dec = -56.9089
tmin = 317865601, tmax = 318124801
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='264482', job_status='RUN', time_executed='2021-08-13 07:55:37.562211', time_epoch_executed='1628866537.56' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264482/ft1_4FGL_J0059.4-5654_daily_bin303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264482/ft1_4FGL_J0059.4-5654_daily_bin303.fits outfile=/scratch/kocevski/264482/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin303.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=317865601.0 tmax=318124801.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 9.93
user 3.13
sys 6.66

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.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/264482/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin303.fits evtable="EVENTS" outfile="/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.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 7.02
user 0.36
sys 6.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits" evtable="EVENTS" scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits sctable="SC_DATA" outfile=/scratch/kocevski/264482/ltcube_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.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/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits
.....................!
real 22.16
user 14.50
sys 7.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits evtable="EVENTS" scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits sctable="SC_DATA" expcube=/scratch/kocevski/264482/ltcube_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits outfile=/scratch/kocevski/264482/expmap_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.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/264482/ltcube_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits
.....................!
real 201.69
user 187.73
sys 13.17

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 196 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 J0059.4-5654 @ 14.8643 -56.9089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits outfile=/scratch/kocevski/264482/cmap_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.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=14.8643 yref=-56.9089 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 6.90
user 0.39
sys 6.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits outfile=/scratch/kocevski/264482/cmap_HighResolution_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.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=14.8643 yref=-56.9089 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 6.94
user 0.40
sys 6.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits evtable="EVENTS" scfile=/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264482/Model_4FGL_J0059.4-5654_daily_bin303.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 GAL_V02
adding source SMC-Galaxy
Working on...
/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits.....................!
real 1627.59
user 1609.57
sys 11.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits', '/scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits', expMap='/scratch/kocevski/264482/expmap_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits', expCube='/scratch/kocevski/264482/ltcube_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264482/Model_4FGL_J0059.4-5654_daily_bin303.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0059.4-5654'

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.069e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.454e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
158         beta:  2.009e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
159           Eb:  7.467e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/264482/ft1_filtered_4FGL_J0059.4-5654_daily_bin303.fits
Spacecraft file(s): /scratch/kocevski/264482/ft2_4FGL_J0059.4-5654_daily_bin303.fits
Exposure map: /scratch/kocevski/264482/expmap_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits
Exposure cube: /scratch/kocevski/264482/ltcube_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264482/Model_4FGL_J0059.4-5654_daily_bin303.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) = 5966.79702476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.532       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8876       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10880E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8351       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3207       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.984       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.0664       1.0000         .10000E-03   10000.    
    13 'norm      '    4.4815       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1697       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0983       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1810       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12449       1.0000         .10000E-03   10000.    
    21 'norm      '    25.530       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.7876       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2231       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .55080       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5966.769     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2757 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.490        27.466       -.17040E-05   -.37790E-04
   2  Prefactor     .10000E-03    5.8938        .52590E-07** at limit **
   3  Prefactor     2.8885        5.4532        .42415E-05    .68470E-03
   4  Prefactor     .10000E-03    3.4373        .43744E-07** at limit **
   5  norm          .10000E-03    53.473       -.15953E-05** at limit **
   6  Prefactor     1.8329        4.0419        .18220E-06    .11475E-03
   7  norm          .10000E-03    3.7615       -.10098E-07** at limit **
   8  Prefactor     .10000E-03    16.704        .51902E-07** at limit **
   9  norm          1.2592        4.7370        .29517E-06    .36719E-04
  10  Prefactor     4.3229        6.0723       -.40268E-06    .35480E-04
  11  Prefactor     19.981        33.748        .18487E-06    .27105E-05
  12  Prefactor     9.0703        14.079        .55037E-07    .81055E-05
  13  norm          4.4850        8.1248        .29103E-06    .18492E-04
  14  Prefactor     2.1703        3.0751        .45326E-07    .23778E-04
  15  norm          .10000E-03    20.976        .31944E-06** at limit **
  16  Prefactor     2.0984        2.5067       -.28033E-08   -.26758E-06
  17  norm          1.1813        1.2285        .10886E-07   -.14228E-04
  18  Prefactor     .10000E-03    35.274       -.20737E-05** at limit **
  19  Prefactor     .10000E-03    9.7931        .12074E-06** at limit **
  20  Prefactor     .24111        4.9516        .27230E-05   -.10211E-02
  21  norm          25.468        41.001        .34647E-05   -.14294E-03
  22  Prefactor     9.7638        7.7695       -.48531E-06   -.22645E-03
  23  Normalizat    1.2228        .16611       -.13311E-05   -.97524E-04
  24  Prefactor     .55084        .16357        .15023E-05    .51739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.4898
  Prefactor  = 0.0001
  Prefactor  = 2.88854
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.83294
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.25916
  Prefactor  = 4.3229
  Prefactor  = 19.9808
  Prefactor  = 9.07033
  norm       = 4.48503
  Prefactor  = 2.17029
  norm       = 0.0001
  Prefactor  = 2.09844
  norm       = 1.18132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.241106
  norm       = 25.4679
  Prefactor  = 9.76381
  Normalizat = 1.22284
  Prefactor  = 0.550836
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.769     FROM HESSE     STATUS=OK           401 CALLS     3158 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.490        27.446        .70252E-04   -1.4567    
   2  Prefactor     .10000E-03    5.9409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8885        5.5409        .11958E-02   -1.5368    
   4  Prefactor     .10000E-03    3.4750        .13984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    54.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8329        3.7319        .17283E-03   -1.5437    
   7  norm          .10000E-03    3.8160        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2592        4.3932        .24514E-03   -1.5484    
  10  Prefactor     4.3229        6.0727        .19380E-03   -1.5292    
  11  Prefactor     19.981        33.744        .89596E-04   -1.4814    
  12  Prefactor     9.0703        14.094        .13311E-03   -1.5106    
  13  norm          4.4850        8.1152        .19020E-03   -1.5284    
  14  Prefactor     2.1703        3.0591        .15643E-03   -1.5413    
  15  norm          .10000E-03    20.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0984        2.4994        .12951E-03   -1.5418    
  17  norm          1.1813        1.2284        .84284E-04   -1.5491    
  18  Prefactor     .10000E-03    35.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.8946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .24111        39.391        .25581E-02   -1.5610    
  21  norm          25.468        41.610        .79282E-04   -1.4698    
  22  Prefactor     9.7638        7.8219        .12809E-03   -1.5083    
  23  Normalizat    1.2228        .19202        .19536E-03   -.85900    
  24  Prefactor     .55084        .18889        .28404E-03   -1.0970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48778e-08
Minuit parameter uncertainties:
  1  27.4569
  2  2.90721e-06
  3  5.5419
  4  1.3938e-06
  5  9.45673e-05
  6  3.73237
  7  1.15746e-06
  8  4.39216e-06
  9  4.39434
  10  6.07356
  11  33.7764
  12  14.0987
  13  8.11717
  14  3.05928
  15  9.19514e-06
  16  2.49952
  17  1.2284
  18  8.95829e-05
  19  1.20099e-05
  20  6.16646
  21  41.657
  22  7.82276
  23  0.192135
  24  0.189103
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.259e+00  4.394e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.454e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
158         beta:  2.009e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
159           Eb:  7.467e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  5.508e-01  1.891e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.223e+00  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 14.864 -56.909
Photon Flux Upper Limit: 6.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/264482/likelihoodResults_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.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) = 5966.76862082
delta logL = 0.000739962528314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5966.76854243
delta logL = 0.000818356057607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2138       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5102       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55106       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+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.

 FCN=   5966.769     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      238 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2140        4.0739        .23901E-03   -.45078E-03
   2  alpha         2.5103        1.4012        .33631E-01   -.27442E-04
   3  Normalizat    1.2225        .18398        .19538E-03    .13248E-03
   4  Prefactor     .55106        .18649        .28398E-03    .10445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21404
  alpha      = 2.51032
  Normalizat = 1.22252
  Prefactor  = 0.551056
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.769     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2140        3.8086        .95604E-05   -1.5488    
   2  alpha         2.5103        1.3209        .13452E-02    .41292E-02
   3  Normalizat    1.2225        .18413        .39076E-04   -.85910    
   4  Prefactor     .55106        .18657        .11359E-04   -1.0969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06985e-10
Minuit parameter uncertainties:
  1  3.80939
  2  1.39167
  3  0.184229
  4  0.186779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264482': 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) = 5966.76854241
delta logL = 0.000818372095637

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.214e+00  3.809e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.510e+00  1.392e+00  0.000e+00  5.000e+00 ( 1.000e+00)
158         beta:  2.009e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
159           Eb:  7.467e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  5.511e-01  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.223e+00  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 14.864 -56.909

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/264482/cmap_HighResolution_317865601_318124801_4FGL_J0059.4-5654_daily_bin303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2021-08-13 08:35:49.581076', job_id='264482', GAL2='0.55', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1628868949.58', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='8.18e-04', ts2='0.13', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='303' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:35:49 PDT 2021

