Sender: LSF System <lsf@bullet0105>
Subject: Job 264724: <4FGL_J0059.4-5654_daily_bin397> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin397> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 07:51:31 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:54:28 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:54:28 2021
Terminated at Fri Aug 13 08:32:53 2021
Results reported at Fri Aug 13 08:32:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin397 14.8643 -56.9089 342230401 342489601 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 :                                   2219.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             497.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2304 sec.
    Turnaround time :                            2482 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 69 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 = 7561
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin397
RA = 14.8643, Dec = -56.9089
tmin = 342230401, tmax = 342489601
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='264724', job_status='RUN', time_executed='2021-08-13 07:55:58.260606', time_epoch_executed='1628866558.26' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='397'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264724

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264724/ft1_4FGL_J0059.4-5654_daily_bin397.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264724/ft1_4FGL_J0059.4-5654_daily_bin397.fits outfile=/scratch/kocevski/264724/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin397.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=342230401.0 tmax=342489601.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 4.39
user 3.35
sys 0.94

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.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/264724/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin397.fits evtable="EVENTS" outfile="/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.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.23
user 0.33
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits" evtable="EVENTS" scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits sctable="SC_DATA" outfile=/scratch/kocevski/264724/ltcube_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.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/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits
.....................!
real 14.10
user 13.00
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits evtable="EVENTS" scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits sctable="SC_DATA" expcube=/scratch/kocevski/264724/ltcube_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits outfile=/scratch/kocevski/264724/expmap_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.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/264724/ltcube_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits
.....................!
real 192.64
user 185.01
sys 6.77

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/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits outfile=/scratch/kocevski/264724/cmap_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.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 1.30
user 0.39
sys 0.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits outfile=/scratch/kocevski/264724/cmap_HighResolution_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.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 1.26
user 0.39
sys 0.86

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits evtable="EVENTS" scfile=/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264724/Model_4FGL_J0059.4-5654_daily_bin397.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/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits.....................!
real 1521.67
user 1514.97
sys 2.72

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits', '/scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits', expMap='/scratch/kocevski/264724/expmap_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits', expCube='/scratch/kocevski/264724/ltcube_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264724/Model_4FGL_J0059.4-5654_daily_bin397.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/264724/ft1_filtered_4FGL_J0059.4-5654_daily_bin397.fits
Spacecraft file(s): /scratch/kocevski/264724/ft2_4FGL_J0059.4-5654_daily_bin397.fits
Exposure map: /scratch/kocevski/264724/expmap_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits
Exposure cube: /scratch/kocevski/264724/ltcube_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264724/Model_4FGL_J0059.4-5654_daily_bin397.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) = 5886.63307334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5726       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23345E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.284       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.269       1.0000         .10000E-03   10000.    
    13 'norm      '    .72796       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    33.908       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.9556       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.5038       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73954       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0921       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=   5886.630     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2738 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5518        34.961        .41351E-05    .15227E-03
   2  Prefactor     .10000E-03    2.9025        .10731E-07** at limit **
   3  Prefactor     .10000E-03    10.449       -.70696E-05** at limit **
   4  Prefactor     .10000E-03    2.0957       -.18367E-06** at limit **
   5  norm          .10000E-03    12.728        .51146E-07** at limit **
   6  Prefactor     .10000E-03    2.4305        .27930E-06** at limit **
   7  norm          4.7082        4.5962       -.32100E-07    .76664E-05
   8  Prefactor     11.283        77.372        .12982E-06    .38814E-04
   9  norm          2.4724        3.3479       -.47595E-07   -.81007E-04
  10  Prefactor     2.6184        5.3200        .37063E-05   -.45138E-03
  11  Prefactor     .10000E-03    51.818        .21271E-06** at limit **
  12  Prefactor     18.273        20.655       -.33329E-06    .17434E-04
  13  norm          .72277        4.3325       -.27382E-06   -.25681E-04
  14  Prefactor     .10000E-03    3.7147        .12021E-06** at limit **
  15  norm          33.913        35.771        .14815E-06    .11623E-03
  16  Prefactor     .10000E-03    1.5814        .42534E-07** at limit **
  17  norm          1.9557        1.5883       -.23968E-07   -.31645E-04
  18  Prefactor     .10000E-03    21.372        .27323E-06** at limit **
  19  Prefactor     .10000E-03    6.2400        .27874E-07** at limit **
  20  Prefactor     .10000E-03    3.3118       -.12826E-05** at limit **
  21  norm          .10000E-03    7.3663       -.13898E-06** at limit **
  22  Prefactor     3.5042        3.3968       -.28442E-07    .22026E-03
  23  Normalizat    .73951        .15972        .22106E-05    .10090E-02
  24  Prefactor     1.0921        .16661       -.18032E-05    .79437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.55176
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.70817
  Prefactor  = 11.2835
  norm       = 2.47242
  Prefactor  = 2.61836
  Prefactor  = 0.0001
  Prefactor  = 18.2727
  norm       = 0.722773
  Prefactor  = 0.0001
  norm       = 33.9128
  Prefactor  = 0.0001
  norm       = 1.95569
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 3.50421
  Normalizat = 0.739509
  Prefactor  = 1.09211
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.630     FROM HESSE     STATUS=OK           397 CALLS     3135 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5518        35.779        .14573E-03   -1.5158    
   2  Prefactor     .10000E-03    2.9141        .12764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.556        .35342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1052        .10853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    12.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.2624        .22140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7082        4.6025        .15864E-03   -1.5274    
   8  Prefactor     11.283        77.749        .11926E-03   -1.5036    
   9  norm          2.4724        3.2458        .15278E-03   -1.5393    
  10  Prefactor     2.6184        6.2196        .12604E-02   -1.5384    
  11  Prefactor     .10000E-03    51.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.273        20.693        .93704E-04   -1.4853    
  13  norm          .72277        17.560        .30067E-02   -1.5538    
  14  Prefactor     .10000E-03    3.7879        .14434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          33.913        35.763        .68817E-04   -1.4543    
  16  Prefactor     .10000E-03    1.5888        .94186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9557        1.5832        .84423E-04   -1.5428    
  18  Prefactor     .10000E-03    21.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5307        .27712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.3700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.5042        3.3861        .13321E-03   -1.5334    
  23  Normalizat    .73951        .18817        .23664E-03   -1.0235    
  24  Prefactor     1.0921        .19443        .21289E-03   -.89719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60595e-08
Minuit parameter uncertainties:
  1  32.9071
  2  9.81285e-07
  3  0.000274191
  4  1.62925e-05
  5  3.78886e-05
  6  8.09427e-06
  7  4.60287
  8  59.3484
  9  3.24605
  10  6.22118
  11  0.00013101
  12  20.7012
  13  7.127
  14  1.04275e-05
  15  35.7859
  16  3.42091e-06
  17  1.58328
  18  0.000267465
  19  6.83758e-06
  20  0.000151485
  21  3.02625e-05
  22  3.38626
  23  0.188335
  24  0.194556
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.472e+00  3.246e+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:  1.092e+00  1.946e-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:  7.395e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264724/likelihoodResults_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.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) = 5886.6287107
delta logL = 0.00177779650403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5886.62824347
delta logL = 0.00224502360379

Fit tolerance = 1e-08

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

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

 FCN=   5886.628     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      197 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3723        110.20        .66502E-02   -.32299E-03
   2  alpha         2.5716        3.6639        .41173       -.20284E-04
   3  Normalizat    .73692        .66423E-01    .42780E-01   -.45423E-03
   4  Prefactor     1.0938        .52304E-01    .37821E-01    .13051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.37235
  alpha      = 2.57161
  Normalizat = 0.736921
  Prefactor  = 1.09379
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.628     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3723        3.8744        .14712E-03   -1.5400    
   2  alpha         2.5716        1.7441        .31002E-01    .28649E-01
   3  Normalizat    .73692        .18421        .23702E-03   -1.0245    
   4  Prefactor     1.0938        .19499        .21275E-03   -.89665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45763e-09
Minuit parameter uncertainties:
  1  3.87477
  2  1.93045
  3  0.184363
  4  0.195112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264724': 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) = 5886.62824308
delta logL = 0.00224541493571

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.372e+00  3.875e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.572e+00  1.930e+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:  1.094e+00  1.951e-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:  7.369e-01  1.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.86
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/264724/cmap_HighResolution_342230401_342489601_4FGL_J0059.4-5654_daily_bin397.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='6.79e-08', time_completed='2021-08-13 08:32:52.165890', job_id='264724', GAL2='1.09', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1628868772.17', return_code2='0', ts='0.86', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.25e-03', ts2='0.87', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='397' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:32:52 PDT 2021

