Sender: LSF System <lsf@bullet0176>
Subject: Job 263388: <4FGL_J0059.4-5654_daily_bin170> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin170 14.8643 -56.9089 283392001 283651201 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 :                                   2096.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             431.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2192 sec.
    Turnaround time :                            2440 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 26 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 = 7258
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin170
RA = 14.8643, Dec = -56.9089
tmin = 283392001, tmax = 283651201
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='263388', job_status='RUN', time_executed='2021-08-13 07:54:29.911992', time_epoch_executed='1628866469.91' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263388

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263388/ft1_4FGL_J0059.4-5654_daily_bin170.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263388/ft1_4FGL_J0059.4-5654_daily_bin170.fits outfile=/scratch/kocevski/263388/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin170.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=283392001.0 tmax=283651201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 12.24
user 3.42
sys 8.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/263388/ltcube_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.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/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits
.....................!
real 24.97
user 15.13
sys 9.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/263388/ltcube_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.fits outfile=/scratch/kocevski/263388/expmap_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.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/263388/ltcube_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.fits
.....................!
real 206.45
user 190.45
sys 15.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source 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/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits scfile=/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits outfile=/scratch/kocevski/263388/cmap_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.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 8.05
user 0.39
sys 7.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits scfile=/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits outfile=/scratch/kocevski/263388/cmap_HighResolution_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.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 8.85
user 0.40
sys 8.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/263388/ft2_4FGL_J0059.4-5654_daily_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263388/Model_4FGL_J0059.4-5654_daily_bin170.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/263388/ft1_filtered_4FGL_J0059.4-5654_daily_bin170.fits.....................!
real 1239.44
user 1222.43
sys 12.69

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.885       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.421       1.0000         .10000E-03   10000.    
     5 'norm      '    28.188       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2162       1.0000         .10000E-03   10000.    
     7 'norm      '    14.644       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8872       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1204       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22637E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13209E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3793       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7080       1.0000         .10000E-03   10000.    
    15 'norm      '    42.048       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1674       1.0000         .10000E-03   10000.    
    17 'norm      '    .84563       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.0167       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .17489E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2594       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67008       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=   4757.996     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2808 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.852        54.243       -.55691E-06    .95049E-05
   2  Prefactor     .10000E-03    19.878        .59631E-06** at limit **
   3  Prefactor     .10000E-03    2.8009        .15918E-06** at limit **
   4  Prefactor     12.419        10.503        .34335E-07   -.58134E-06
   5  norm          28.185        51.641        .34714E-06    .15336E-05
   6  Prefactor     5.2158        4.9180       -.25271E-06    .12057E-04
   7  norm          14.644        9.4404        .20065E-07   -.18276E-04
   8  Prefactor     6.8790        271.87       -.64106E-06    .45533E-05
   9  norm          3.1200        5.5436       -.44614E-06   -.27917E-04
  10  Prefactor     .10000E-03    413.85       -.31138E-05** at limit **
  11  Prefactor     .10001E-03    226.59        .15171E-05** at limit **
  12  Prefactor     7.3835        27.305       -.14698E-05    .11365E-04
  13  norm          .10000E-03    3.6368        .34446E-07** at limit **
  14  Prefactor     3.7077        3.7586        .83741E-06    .19621E-05
  15  norm          42.065        79.740        .19438E-06   -.80555E-05
  16  Prefactor     4.1672        4.2191       -.38872E-07   -.20567E-04
  17  norm          .84556        1.9704        .57088E-06    .95921E-05
  18  Prefactor     .10000E-03    13.277       -.49425E-07** at limit **
  19  Prefactor     .10000E-03    4.8557        .32004E-07** at limit **
  20  Prefactor     .10000E-03    4.8726        .51441E-06** at limit **
  21  norm          2.9732        17.129        .21604E-05    .33690E-04
  22  Prefactor     .10000E-03    9.3378        .27353E-05** at limit **
  23  Normalizat    1.2595        .24817        .41397E-05   -.13553E-03
  24  Prefactor     .67002        .23729       -.64186E-05   -.89179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.8515
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4189
  norm       = 28.1854
  Prefactor  = 5.21581
  norm       = 14.6441
  Prefactor  = 6.87898
  norm       = 3.12001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 7.3835
  norm       = 0.0001
  Prefactor  = 3.70772
  norm       = 42.0647
  Prefactor  = 4.16717
  norm       = 0.845564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.97323
  Prefactor  = 0.0001
  Normalizat = 1.25951
  Prefactor  = 0.670016
 **********
 **   18 **HESSE 
 **********

 FCN=   4757.996     FROM HESSE     STATUS=OK           413 CALLS     3221 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.852        54.194        .55152E-04   -1.4253    
   2  Prefactor     .10000E-03    20.384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.8034        .11275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.419        10.502        .11366E-03   -1.5003    
   5  norm          28.185        51.552        .75458E-04   -1.4646    
   6  Prefactor     5.2158        4.8868        .13385E-03   -1.5251    
   7  norm          14.644        9.4409        .10466E-03   -1.4942    
   8  Prefactor     6.8790        271.53        .15288E-03   -1.5183    
   9  norm          3.1200        5.4921        .19750E-03   -1.5355    
  10  Prefactor     .10000E-03    16.735        .49162E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    225.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3835        27.327        .14765E-03   -1.5164    
  13  norm          .10000E-03    3.6428        .12846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7077        3.7550        .65343E-03   -1.5323    
  15  norm          42.065        79.791        .61820E-04   -1.4410    
  16  Prefactor     4.1672        4.2251        .13460E-03   -1.5300    
  17  norm          .84556        1.9686        .14957E-02   -1.5524    
  18  Prefactor     .10000E-03    13.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.8628        .14845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0199        .29706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.9732        17.201        .23366E-03   -1.5363    
  22  Prefactor     .10000E-03    9.3240        .25458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2595        .25195        .21227E-03   -.84783    
  24  Prefactor     .67002        .23731        .28202E-03   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07556e-10
Minuit parameter uncertainties:
  1  54.2447
  2  5.45643e-05
  3  2.38414e-06
  4  10.5039
  5  51.6339
  6  4.88722
  7  9.44185
  8  86.8626
  9  5.493
  10  8.78132e-05
  11  0.00271892
  12  27.3731
  13  5.1289e-06
  14  3.7552
  15  79.9941
  16  4.22537
  17  1.96879
  18  4.29139e-07
  19  2.59603e-06
  20  2.82932e-06
  21  14.3089
  22  2.31144e-05
  23  0.252193
  24  0.237666
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  3.120e+00  5.493e+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:  6.700e-01  2.377e-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.260e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 14.864 -56.909
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/263388/likelihoodResults_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.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) = 4757.9186923
delta logL = 0.0769343479187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4757.90868111
delta logL = 0.0869455366892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4364       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5613       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66102       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=   4757.909     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      212 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4365        3.9882        .65534E-02    .93302E-03
   2  alpha         1.5612        1.1801        .45600       -.30217E-04
   3  Normalizat    1.2760        .19179        .47753E-01    .15381E-05
   4  Prefactor     .66101        .19236        .64137E-01    .18641E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43646
  alpha      = 1.56119
  Normalizat = 1.27604
  Prefactor  = 0.661014
 **********
 **   18 **HESSE 
 **********

 FCN=   4757.909     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4365        4.6695        .17028E-03   -1.5396    
   2  alpha         1.5612        1.4842        .35560E-01   -.38496    
   3  Normalizat    1.2760        .23113        .21110E-03   -.84285    
   4  Prefactor     .66101        .23186        .28376E-03   -1.0508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95731e-09
Minuit parameter uncertainties:
  1  4.67017
  2  1.61089
  3  0.231318
  4  0.232194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263388': 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) = 4757.90868111
delta logL = 0.0869455410866

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.436e+00  4.670e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  1.561e+00  1.611e+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:  6.610e-01  2.322e-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.276e+00  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
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/263388/cmap_HighResolution_283392001_283651201_4FGL_J0059.4-5654_daily_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-08-13 08:27:23.092747', job_id='263388', GAL2='0.66', fit_tolerance='1e-08', EG2='1.28', EG='1.26', time_epoch_completed='1628868443.09', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='8.69e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='170' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:27:23 PDT 2021

