Sender: LSF System <lsf@bullet0211>
Subject: Job 264858: <4FGL_J0059.4-5654_daily_bin447> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin447> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 07:51:49 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:55:19 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:55:19 2021
Terminated at Fri Aug 13 08:40:25 2021
Results reported at Fri Aug 13 08:40:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin447 14.8643 -56.9089 355190401 355449601 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 :                                   2536.04 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             472.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2705 sec.
    Turnaround time :                            2916 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 149 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 = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin447
RA = 14.8643, Dec = -56.9089
tmin = 355190401, tmax = 355449601
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='264858', job_status='RUN', time_executed='2021-08-13 07:59:18.632885', time_epoch_executed='1628866758.63' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264858/ft1_4FGL_J0059.4-5654_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264858/ft1_4FGL_J0059.4-5654_daily_bin447.fits outfile=/scratch/kocevski/264858/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin447.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=355190401.0 tmax=355449601.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 8.63
user 3.19
sys 5.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.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/264858/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin447.fits evtable="EVENTS" outfile="/scratch/kocevski/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.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 5.72
user 0.35
sys 5.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits" evtable="EVENTS" scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits sctable="SC_DATA" outfile=/scratch/kocevski/264858/ltcube_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.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/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits
.....................!
real 19.81
user 13.62
sys 6.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/264858/ltcube_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.fits outfile=/scratch/kocevski/264858/expmap_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.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/264858/ltcube_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.fits
.....................!
real 198.41
user 186.12
sys 11.67

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/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits outfile=/scratch/kocevski/264858/cmap_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.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 5.64
user 0.38
sys 5.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits outfile=/scratch/kocevski/264858/cmap_HighResolution_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.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 5.64
user 0.38
sys 5.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/264858/ft2_4FGL_J0059.4-5654_daily_bin447.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264858/Model_4FGL_J0059.4-5654_daily_bin447.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/264858/ft1_filtered_4FGL_J0059.4-5654_daily_bin447.fits.....................!
real 1752.10
user 1737.17
sys 7.97

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4997       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-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 '    .30558E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.872       1.0000         .10000E-03   10000.    
     9 'norm      '    9.3516       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4062       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .34613E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7855       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9789       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5464       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 '    2.2960       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11509E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1467       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86629       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=   6742.039     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2698 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.458       -.23045E-05** at limit **
   2  Prefactor     2.5000        8.4663       -.11671E-05   -.36197E-03
   3  Prefactor     .10000E-03    6.9032       -.27514E-05** at limit **
   4  Prefactor     .10000E-03    2.2299       -.18191E-07** at limit **
   5  norm          .10000E-03    10.282       -.10535E-05** at limit **
   6  Prefactor     .10001E-03    1.5972        .23991E-06** at limit **
   7  norm          .10000E-03    1.6200       -.64618E-07** at limit **
   8  Prefactor     34.862        46.177       -.14061E-04   -.13253E-04
   9  norm          9.3517        4.8532        .22000E-06   -.31599E-03
  10  Prefactor     8.4074        9.8439       -.33394E-06   -.97931E-04
  11  Prefactor     .10000E-03    39.849       -.18720E-05** at limit **
  12  Prefactor     .10000E-03    4.7531        .99644E-07** at limit **
  13  norm          .10001E-03    5.4149        .72954E-06** at limit **
  14  Prefactor     2.7857        2.6455        .45553E-07    .17192E-03
  15  norm          .10000E-03    14.595       -.47698E-05** at limit **
  16  Prefactor     3.9789        2.8250       -.18449E-06    .16956E-03
  17  norm          2.5464        1.6135       -.48843E-08   -.21429E-03
  18  Prefactor     .10000E-03    15.900        .59064E-05** at limit **
  19  Prefactor     .10000E-03    8.5530        .58523E-05** at limit **
  20  Prefactor     2.2952        3.8157        .22702E-05   -.56228E-03
  21  norm          .10000E-03    10.291       -.12853E-05** at limit **
  22  Prefactor     .10000E-03    5.7018        .32703E-06** at limit **
  23  Normalizat    1.1466        .16085        .37485E-06   -.22252E-03
  24  Prefactor     .86635        .16160        .82643E-07   -.12208E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.49999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 34.8621
  norm       = 9.35173
  Prefactor  = 8.40741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100012
  Prefactor  = 2.78565
  norm       = 0.0001
  Prefactor  = 3.9789
  norm       = 2.54644
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.29519
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14662
  Prefactor  = 0.866349
 **********
 **   18 **HESSE 
 **********

 FCN=   6742.039     FROM HESSE     STATUS=OK           395 CALLS     3093 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5000        8.5061        .25849E-03   -1.5392    
   3  Prefactor     .10000E-03    7.1203        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2389        .11974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    10.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    22.523        .18955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6201        .10206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.862        46.349        .67862E-04   -1.4526    
   9  norm          9.3517        4.6456        .11935E-03   -1.5096    
  10  Prefactor     8.4074        9.8390        .13827E-03   -1.5128    
  11  Prefactor     .10000E-03    39.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.7566        .17483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    23.221        .36545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7857        2.6544        .12675E-03   -1.5374    
  15  norm          .10000E-03    14.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9789        2.8280        .11245E-03   -1.5309    
  17  norm          2.5464        1.6099        .79863E-04   -1.5389    
  18  Prefactor     .10000E-03    15.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.5788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2952        3.7269        .19638E-03   -1.5405    
  21  norm          .10000E-03    10.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.9247        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1466        .18325        .21898E-03   -.88269    
  24  Prefactor     .86635        .18554        .25606E-03   -.97327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30827e-09
Minuit parameter uncertainties:
  1  8.5249e-06
  2  8.51024
  3  2.11816e-05
  4  4.00391e-07
  5  6.79421e-06
  6  0.000681697
  7  8.80904e-08
  8  46.3965
  9  4.64583
  10  9.84087
  11  5.84961e-06
  12  9.18305e-08
  13  0.00103922
  14  2.65455
  15  4.55455e-07
  16  2.82812
  17  1.60997
  18  3.37253e-06
  19  1.81605e-05
  20  3.72725
  21  1.59177e-05
  22  6.03346e-05
  23  0.183349
  24  0.185678
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  9.352e+00  4.646e+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:  8.663e-01  1.857e-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.147e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.14
Ra Dec: 14.864 -56.909
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 5.91e-08 +/- 2.94e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 9.42e-06

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) = 6740.66093864
delta logL = 1.37778555088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6740.63902543
delta logL = 1.39969876681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.433       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5527       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84309       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=   6740.639     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.427        5.4379        .31011E-02   -.13168E-03
   2  alpha         1.5521        .43481        .36475       -.24429E-04
   3  Normalizat    1.1863        .15670        .35240E-01    .15859E-04
   4  Prefactor     .84281        .16179        .44275E-01    .26558E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.427
  alpha      = 1.55214
  Normalizat = 1.18634
  Prefactor  = 0.84281
 **********
 **   18 **HESSE 
 **********

 FCN=   6740.639     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.427        5.9650        .62022E-03   -1.5062    
   2  alpha         1.5521        .51372        .14864E-01   -.38887    
   3  Normalizat    1.1863        .17914        .21586E-03   -.87026    
   4  Prefactor     .84281        .18519        .25908E-03   -.98169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99814e-10
Minuit parameter uncertainties:
  1  5.96532
  2  0.518042
  3  0.179233
  4  0.185325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264858': 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) = 6740.6390231
delta logL = 1.3997010935

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.043e+01  5.965e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  1.552e+00  5.180e-01  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:  8.428e-01  1.853e-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.186e+00  1.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.01
Ra Dec: 14.864 -56.909
Photon Index (Free Index): 1.55 +/- 0.52
Photon Flux (Free Index): 2.95e-08 +/- 2.13e-08
Energy Flux (Free Index): 2.86e-05 +/- 1.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/264858/cmap_HighResolution_355190401_355449601_4FGL_J0059.4-5654_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.91e-08', energy_flux2='2.86e-05', photon_flux_error='2.94e-08', dlogl='1.40e+00', energy_flux='1.90e-05', photon_flux2='2.95e-08', job_status='DONE', time_completed='2021-08-13 08:40:23.999505', photon_index_error2='0.52', photon_index2='1.55', ts='10.14', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='1.15', time_epoch_completed='1628869224.0', return_code='0', job_id='264858', GAL2='0.84', EG2='1.19', return_code2='0', energy_flux_error='9.42e-06', photon_flux_error2='2.13e-08', ts2='13.01', photon_index='2.45' WHERE bin_id='447' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:40:24 PDT 2021

