Sender: LSF System <lsf@bullet0252>
Subject: Job 263215: <4FGL_J0059.4-5654_daily_bin106> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin106> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 07:46:23 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:49:50 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:49:50 2021
Terminated at Fri Aug 13 08:31:24 2021
Results reported at Fri Aug 13 08:31:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin106 14.8643 -56.9089 266803201 267062401 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 :                                   2234.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             415.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2493 sec.
    Turnaround time :                            2701 sec.

The output (if any) follows:

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 215 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 = 7395
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin106
RA = 14.8643, Dec = -56.9089
tmin = 266803201, tmax = 267062401
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='263215', job_status='RUN', time_executed='2021-08-13 07:56:12.972270', time_epoch_executed='1628866572.97' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263215

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263215/ft1_4FGL_J0059.4-5654_daily_bin106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263215/ft1_4FGL_J0059.4-5654_daily_bin106.fits outfile=/scratch/kocevski/263215/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin106.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=266803201.0 tmax=267062401.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 10.82
user 1.82
sys 8.95

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.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/263215/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin106.fits evtable="EVENTS" outfile="/scratch/kocevski/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.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.32
user 0.34
sys 8.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits" evtable="EVENTS" scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits sctable="SC_DATA" outfile=/scratch/kocevski/263215/ltcube_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.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/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits
.....................!
real 24.17
user 13.76
sys 10.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits sctable="SC_DATA" expcube=/scratch/kocevski/263215/ltcube_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.fits outfile=/scratch/kocevski/263215/expmap_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.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/263215/ltcube_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.fits
.....................!
real 203.45
user 186.62
sys 16.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/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits outfile=/scratch/kocevski/263215/cmap_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.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 9.03
user 0.37
sys 8.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits outfile=/scratch/kocevski/263215/cmap_HighResolution_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.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 9.13
user 0.39
sys 8.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/263215/ft2_4FGL_J0059.4-5654_daily_bin106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263215/Model_4FGL_J0059.4-5654_daily_bin106.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/263215/ft1_filtered_4FGL_J0059.4-5654_daily_bin106.fits.....................!
real 1353.61
user 1332.37
sys 13.00

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.839       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41949E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2784       1.0000         .10000E-03   10000.    
     5 'norm      '    35.535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13314E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.4193       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11104E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.450       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9008       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8406       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2240       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6520       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.4654       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4322       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .43704       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=   5169.580     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2767 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.041        .28206E-05** at limit **
   2  Prefactor     18.837        11.196        .12106E-06    .16104E-04
   3  Prefactor     .10001E-03    51.527        .13593E-04** at limit **
   4  Prefactor     3.2780        4.2634       -.53462E-07   -.64835E-05
   5  norm          35.533        29.674       -.56158E-07    .30306E-05
   6  Prefactor     .10000E-03    1.7509        .52963E-06** at limit **
   7  norm          .10000E-03    5.3646        .27175E-07** at limit **
   8  Prefactor     .10000E-03    92.942       -.15516E-04** at limit **
   9  norm          3.4195        4.3967       -.80712E-06   -.98946E-04
  10  Prefactor     .10483E-03    10.640       -.41927E-05** at limit **
  11  Prefactor     .10000E-03    57.042        .46373E-05** at limit **
  12  Prefactor     20.447        17.371       -.13181E-06    .59217E-05
  13  norm          .10000E-03    5.7312        .23676E-07** at limit **
  14  Prefactor     4.9011        4.3829       -.16191E-06    .18236E-06
  15  norm          .10000E-03    28.114       -.11037E-05** at limit **
  16  Prefactor     5.8406        3.9835        .98514E-07    .17111E-04
  17  norm          2.1443        1.8073       -.60970E-07   -.87827E-05
  18  Prefactor     .10000E-03    71.523        .10232E-04** at limit **
  19  Prefactor     8.2219        16.650        .16592E-06    .12119E-04
  20  Prefactor     6.6498        7.0136       -.74962E-07    .98756E-05
  21  norm          .10000E-03    9.6423        .34654E-06** at limit **
  22  Prefactor     4.4641        7.9123       -.12302E-05   -.71273E-04
  23  Normalizat    1.4325        .19273        .29339E-06    .78004E-04
  24  Prefactor     .43672        .18424        .22438E-06    .84861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.8372
  Prefactor  = 0.000100008
  Prefactor  = 3.27797
  norm       = 35.5326
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.41948
  Prefactor  = 0.000104828
  Prefactor  = 0.0001
  Prefactor  = 20.4468
  norm       = 0.0001
  Prefactor  = 4.90109
  norm       = 0.0001
  Prefactor  = 5.84059
  norm       = 2.14432
  Prefactor  = 0.0001
  Prefactor  = 8.22195
  Prefactor  = 6.64981
  norm       = 0.0001
  Prefactor  = 4.46406
  Normalizat = 1.43253
  Prefactor  = 0.436718
 **********
 **   18 **HESSE 
 **********

 FCN=   5169.580     FROM HESSE     STATUS=OK           409 CALLS     3176 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.837        11.201        .92278E-04   -1.4840    
   3  Prefactor     .10001E-03    50.498        .35852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2780        4.2573        .16494E-03   -1.5346    
   5  norm          35.533        29.673        .67228E-04   -1.4515    
   6  Prefactor     .10000E-03    1.7811        .93001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.4006        .16263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    93.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4195        4.4126        .16443E-03   -1.5338    
  10  Prefactor     .10483E-03    15.945        .53387E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    57.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.447        17.425        .88571E-04   -1.4803    
  13  norm          .10000E-03    5.7826        .16805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9011        4.3853        .13802E-03   -1.5265    
  15  norm          .10000E-03    28.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8406        3.9846        .11444E-03   -1.5225    
  17  norm          2.1443        1.8075        .85210E-04   -1.5415    
  18  Prefactor     .10000E-03    71.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.2219        16.648        .13980E-03   -1.5134    
  20  Prefactor     6.6498        6.9610        .15559E-03   -1.5192    
  21  norm          .10000E-03    9.6501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.4641        7.9082        .19055E-03   -1.5285    
  23  Normalizat    1.4325        .22505        .19749E-03   -.79692    
  24  Prefactor     .43672        .21101        .33360E-03   -1.1497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98036e-10
Minuit parameter uncertainties:
  1  6.88098e-05
  2  11.2027
  3  0.00127534
  4  4.25768
  5  29.6855
  6  1.04367e-05
  7  2.33589e-08
  8  0.000204179
  9  4.41303
  10  0.0175535
  11  4.83185e-05
  12  17.4297
  13  1.28711e-06
  14  4.38561
  15  6.31331e-06
  16  3.98474
  17  1.80755
  18  1.0257e-06
  19  16.6575
  20  6.96185
  21  2.30673e-05
  22  7.91004
  23  0.225211
  24  0.211388
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  3.419e+00  4.413e+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:  4.367e-01  2.114e-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.433e+00  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263215/likelihoodResults_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.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) = 5169.5798011
delta logL = 0.00025901373192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5169.57974973
delta logL = 0.000310385211378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3764       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4824       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43702       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=   5169.580     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      268 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3690        5.0390        .81482E-03   -.62019E-03
   2  alpha         2.4797        1.0196        .20841E-01   -.45992E-04
   3  Normalizat    1.4320        .21317        .19752E-03   -.58812E-03
   4  Prefactor     .43708        .20943        .33347E-03   -.11448E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.36897
  alpha      = 2.47971
  Normalizat = 1.43202
  Prefactor  = 0.437076
 **********
 **   18 **HESSE 
 **********

 FCN=   5169.580     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3690        4.8085        .32593E-04   -1.5341    
   2  alpha         2.4797        .97558        .83364E-03   -.81169E-02
   3  Normalizat    1.4320        .21322        .39503E-04   -.79707    
   4  Prefactor     .43708        .20943        .13339E-04   -1.1496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35775e-10
Minuit parameter uncertainties:
  1  4.80902
  2  1.00221
  3  0.213351
  4  0.209801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263215': 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) = 5169.57974113
delta logL = 0.000318990809319

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  3.369e+00  4.809e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.480e+00  1.002e+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:  4.371e-01  2.098e-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.432e+00  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
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/263215/cmap_HighResolution_266803201_267062401_4FGL_J0059.4-5654_daily_bin106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-05', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2021-08-13 08:31:21.668529', job_id='263215', GAL2='0.44', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1628868681.67', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='3.19e-04', ts2='0.81', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='106' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:31:21 PDT 2021

