Sender: LSF System <lsf@bullet0076>
Subject: Job 264490: <4FGL_J0059.4-5654_daily_bin311> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin311 14.8643 -56.9089 319939201 320198401 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 :                                   2224.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             472.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2391 sec.
    Turnaround time :                            2520 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 145 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin311
RA = 14.8643, Dec = -56.9089
tmin = 319939201, tmax = 320198401
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='264490', job_status='RUN', time_executed='2021-08-13 07:56:47.160279', time_epoch_executed='1628866607.16' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264490/ft1_4FGL_J0059.4-5654_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264490/ft1_4FGL_J0059.4-5654_daily_bin311.fits outfile=/scratch/kocevski/264490/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin311.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=319939201.0 tmax=320198401.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 7.41
user 3.28
sys 4.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/264490/ltcube_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.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/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits
.....................!
real 18.39
user 13.66
sys 4.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/264490/ltcube_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.fits outfile=/scratch/kocevski/264490/expmap_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.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/264490/ltcube_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.fits
.....................!
real 196.84
user 186.32
sys 9.68

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/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits scfile=/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits outfile=/scratch/kocevski/264490/cmap_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.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 4.45
user 0.40
sys 3.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits scfile=/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits outfile=/scratch/kocevski/264490/cmap_HighResolution_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.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 4.44
user 0.41
sys 4.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/264490/ft2_4FGL_J0059.4-5654_daily_bin311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264490/Model_4FGL_J0059.4-5654_daily_bin311.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/264490/ft1_filtered_4FGL_J0059.4-5654_daily_bin311.fits.....................!
real 1466.17
user 1453.14
sys 7.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42863E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    13.117       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14984E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2713       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.463       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0894       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11922E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5888       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0038       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2903       1.0000         .10000E-03   10000.    
    15 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7580       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    15.245       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.289       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6208       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56772       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=   5458.658     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2709 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.185       -.38407E-06** at limit **
   2  Prefactor     .10002E-03    5.2880       -.83643E-06** at limit **
   3  Prefactor     .10000E-03    3.7858        .40848E-07** at limit **
   4  Prefactor     .10000E-03    3.5079        .44052E-07** at limit **
   5  norm          13.115        22.295        .10708E-06    .90139E-05
   6  Prefactor     .10000E-03    2.8164        .16760E-06** at limit **
   7  norm          2.2715        7.4656        .10890E-05    .50086E-05
   8  Prefactor     15.394        45.134       -.19197E-05   -.15962E-03
   9  norm          2.4886        3.7685        .25177E-06   -.36170E-04
  10  Prefactor     3.0894        4.3475        .15847E-06   -.72903E-05
  11  Prefactor     .10000E-03    102.46        .20276E-06** at limit **
  12  Prefactor     3.5862        34.017        .13910E-04   -.72418E-05
  13  norm          1.0042        8.1413        .31812E-05   -.15941E-04
  14  Prefactor     5.2900        4.8235        .49766E-07   -.12581E-03
  15  norm          .10000E-03    67.578        .11343E-05** at limit **
  16  Prefactor     4.7580        3.7254       -.93565E-08   -.31721E-04
  17  norm          .10000E-03    .80386        .34213E-07** at limit **
  18  Prefactor     .10000E-03    17.796        .83416E-07** at limit **
  19  Prefactor     .10000E-03    9.9358        .15969E-06** at limit **
  20  Prefactor     .10000E-03    3.6305        .69752E-07** at limit **
  21  norm          15.243        28.920       -.61677E-07   -.38952E-06
  22  Prefactor     10.288        8.5053        .16089E-06    .40194E-04
  23  Normalizat    1.6209        .20036       -.76308E-06   -.51517E-04
  24  Prefactor     .56755        .19620       -.81395E-06   -.68786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.1153
  Prefactor  = 0.0001
  norm       = 2.27154
  Prefactor  = 15.3938
  norm       = 2.48865
  Prefactor  = 3.08943
  Prefactor  = 0.0001
  Prefactor  = 3.58624
  norm       = 1.00419
  Prefactor  = 5.29001
  norm       = 0.000100002
  Prefactor  = 4.758
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2426
  Prefactor  = 10.2879
  Normalizat = 1.6209
  Prefactor  = 0.567554
 **********
 **   18 **HESSE 
 **********

 FCN=   5458.658     FROM HESSE     STATUS=OK           401 CALLS     3110 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    19.900        .32407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.7983        .14039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5144        .13514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.115        22.266        .11060E-03   -1.4984    
   6  Prefactor     .10000E-03    6.2341        .23594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2715        7.4483        .27250E-03   -1.5407    
   8  Prefactor     15.394        45.136        .10185E-03   -1.4923    
   9  norm          2.4886        3.6977        .16798E-03   -1.5392    
  10  Prefactor     3.0894        4.3374        .17772E-03   -1.5356    
  11  Prefactor     .10000E-03    103.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.5862        34.044        .10666E-02   -1.5329    
  13  norm          1.0042        8.0840        .40604E-03   -1.5508    
  14  Prefactor     5.2900        4.8217        .15023E-03   -1.5248    
  15  norm          .10000E-03    67.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7580        3.7264        .12310E-03   -1.5272    
  17  norm          .10000E-03    .81401        .64677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.9963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.6577        .13732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          15.243        29.050        .10258E-03   -1.4927    
  22  Prefactor     10.288        8.5716        .12492E-03   -1.5066    
  23  Normalizat    1.6209        .23559        .20779E-03   -.74435    
  24  Prefactor     .56755        .22972        .32768E-03   -1.0897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41597e-09
Minuit parameter uncertainties:
  1  0.000379029
  2  0.00129182
  3  3.82031e-06
  4  2.94e-06
  5  22.2804
  6  1.94964e-05
  7  7.45136
  8  45.2366
  9  3.69808
  10  4.33784
  11  3.47412e-05
  12  22.1149
  13  5.69917
  14  4.82208
  15  0.000737376
  16  3.72658
  17  2.62969e-07
  18  1.59834e-05
  19  1.08875e-05
  20  2.52682e-06
  21  29.0769
  22  8.57267
  23  0.23575
  24  0.230099
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  5.676e-01  2.301e-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.621e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264490/likelihoodResults_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.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) = 5458.65805709
delta logL = 0.000341222931638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5458.65800161
delta logL = 0.00039670184924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5236       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4166       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56722       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=   5458.658     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      274 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5339        4.2243        .84804E-03   -.48666E-03
   2  alpha         2.4199        1.2065        .27908E-01   -.24193E-04
   3  Normalizat    1.6214        .22864        .20776E-03    .17073E-04
   4  Prefactor     .56724        .22590        .32776E-03   -.73187E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53393
  alpha      = 2.41987
  Normalizat = 1.62138
  Prefactor  = 0.567242
 **********
 **   18 **HESSE 
 **********

 FCN=   5458.658     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5339        4.0584        .33922E-04   -1.5390    
   2  alpha         2.4199        1.1631        .11163E-02   -.32059E-01
   3  Normalizat    1.6214        .22874        .83104E-05   -.74422    
   4  Prefactor     .56724        .22600        .13110E-04   -1.0898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82512e-10
Minuit parameter uncertainties:
  1  4.05882
  2  1.20986
  3  0.228892
  4  0.226366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264490': 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) = 5458.65799031
delta logL = 0.000408002433687

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  5.672e-01  2.264e-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.621e+00  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.64
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/264490/cmap_HighResolution_319939201_320198401_4FGL_J0059.4-5654_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-05', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2021-08-13 08:32:59.924866', job_id='264490', GAL2='0.57', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1628868779.92', return_code2='0', ts='0.64', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='4.08e-04', ts2='0.64', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='311' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:33:00 PDT 2021

