Sender: LSF System <lsf@bullet0033>
Subject: Job 263395: <4FGL_J0059.4-5654_daily_bin175> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin175> 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) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:51:00 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:51:00 2021
Terminated at Fri Aug 13 08:21:02 2021
Results reported at Fri Aug 13 08:21:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin175 14.8643 -56.9089 284688001 284947201 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 :                                   1737.00 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             489.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1802 sec.
    Turnaround time :                            2057 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 20 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 = 7670
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin175
RA = 14.8643, Dec = -56.9089
tmin = 284688001, tmax = 284947201
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='263395', job_status='RUN', time_executed='2021-08-13 07:52:14.183824', time_epoch_executed='1628866334.18' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263395

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263395/ft1_4FGL_J0059.4-5654_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits


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

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

Done.
real 4.19
user 2.81
sys 1.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.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/263395/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin175.fits evtable="EVENTS" outfile="/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.43
user 0.28
sys 1.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/263395/ltcube_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.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/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits
.....................!
real 11.84
user 10.46
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/263395/ltcube_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.fits outfile=/scratch/kocevski/263395/expmap_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.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/263395/ltcube_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.fits
.....................!
real 157.20
user 151.17
sys 5.77

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 196 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0059.4-5654 @ 14.8643 -56.9089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits outfile=/scratch/kocevski/263395/cmap_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=14.8643 yref=-56.9089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.40
user 0.32
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits outfile=/scratch/kocevski/263395/cmap_HighResolution_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=14.8643 yref=-56.9089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.41
user 0.32
sys 1.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/263395/ft2_4FGL_J0059.4-5654_daily_bin175.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263395/Model_4FGL_J0059.4-5654_daily_bin175.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/263395/ft1_filtered_4FGL_J0059.4-5654_daily_bin175.fits.....................!
real 1175.52
user 1171.22
sys 2.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10971       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3232       1.0000         .10000E-03   10000.    
     5 'norm      '    .10545E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6588       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1639       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3601       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.860       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .86429       1.0000         .10000E-03   10000.    
    17 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .76100       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.0339       1.0000         .10000E-03   10000.    
    21 'norm      '    24.646       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.9818       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94734       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1189       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=   5482.932     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     2806 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28545E-03    49.543       -.52610E-05** at limit **
   2  Prefactor     .10000E-03    3.3665       -.70009E-07** at limit **
   3  Prefactor     .10000E-03    3.2210       -.47109E-07** at limit **
   4  Prefactor     3.3274        6.8542        .20823E-06    .10558E-03
   5  norm          .10000E-03    37.321        .14367E-05** at limit **
   6  Prefactor     .10000E-03    .91749       -.16929E-07** at limit **
   7  norm          .10000E-03    2.3868       -.15163E-09** at limit **
   8  Prefactor     .10000E-03    49.445       -.20196E-06** at limit **
   9  norm          1.2427        3.7374        .22160E-06    .28089E-04
  10  Prefactor     2.6609        8.8738        .53631E-05    .24746E-03
  11  Prefactor     .10000E-03    37.584       -.15506E-05** at limit **
  12  Prefactor     3.1686        21.515       -.47996E-05   -.28026E-04
  13  norm          2.3590        4.5233        .18373E-06    .42887E-04
  14  Prefactor     .10000E-03    1.8078       -.43288E-07** at limit **
  15  norm          20.921        37.016        .68715E-05    .54882E-04
  16  Prefactor     .86262        4.0942       -.68039E-07   -.16725E-04
  17  norm          .10000E-03    1.0884       -.51763E-07** at limit **
  18  Prefactor     .10000E-03    27.709       -.13053E-06** at limit **
  19  Prefactor     .79918        12.220       -.25776E-05    .33912E-03
  20  Prefactor     6.0402        6.9784        .22011E-06    .33512E-03
  21  norm          24.769        34.123       -.22432E-05    .25337E-04
  22  Prefactor     3.9716        7.1259        .83606E-06    .30927E-03
  23  Normalizat    .94672        .18833       -.14153E-05    .37946E-03
  24  Prefactor     1.1195        .19225        .11513E-05    .30715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000285446
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.32736
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.24271
  Prefactor  = 2.66088
  Prefactor  = 0.0001
  Prefactor  = 3.16864
  norm       = 2.35898
  Prefactor  = 0.0001
  norm       = 20.9214
  Prefactor  = 0.862624
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.799178
  Prefactor  = 6.04022
  norm       = 24.7689
  Prefactor  = 3.97161
  Normalizat = 0.946724
  Prefactor  = 1.11951
 **********
 **   18 **HESSE 
 **********

 FCN=   5482.932     FROM HESSE     STATUS=OK           409 CALLS     3215 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28545E-03    45.086        .13020       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3765        .13268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2423        .12978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3274        6.8386        .22205E-03   -1.5343    
   5  norm          .10000E-03    37.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .91980        .69229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.3878        .11173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    49.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2427        3.7231        .23770E-03   -1.5485    
  10  Prefactor     2.6609        8.9488        .12499E-02   -1.5382    
  11  Prefactor     .10000E-03    37.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1686        21.515        .22786E-03   -1.5352    
  13  norm          2.3590        4.5004        .21161E-03   -1.5401    
  14  Prefactor     .10000E-03    1.8205        .97223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.921        37.035        .87697E-04   -1.4793    
  16  Prefactor     .86262        3.9334        .28155E-03   -1.5522    
  17  norm          .10000E-03    1.6422        .14623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .79918        88.000        .46651E-02   -1.5529    
  20  Prefactor     6.0402        6.9417        .16346E-03   -1.5216    
  21  norm          24.769        34.060        .80688E-04   -1.4712    
  22  Prefactor     3.9716        7.0590        .20212E-03   -1.5309    
  23  Normalizat    .94672        .22262        .23826E-03   -.94837    
  24  Prefactor     1.1195        .22817        .23254E-03   -.88845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44361e-09
Minuit parameter uncertainties:
  1  0.183015
  2  2.31952e-06
  3  4.60924e-07
  4  6.84024
  5  1.05671e-05
  6  4.52713e-07
  7  6.57472e-07
  8  2.07632e-05
  9  3.72384
  10  8.95329
  11  5.88322e-05
  12  16.5216
  13  4.50109
  14  2.10382e-06
  15  37.0757
  16  3.68424
  17  2.78005e-07
  18  1.72624e-05
  19  16.7967
  20  6.94262
  21  34.0865
  22  7.0605
  23  0.222833
  24  0.228374
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.120e+00  2.284e-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:  9.467e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263395/likelihoodResults_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.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) = 5482.92997987
delta logL = 0.00205288131201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5482.92916463
delta logL = 0.00286812053673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3959       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3102       1.0000          .0000       5.0000    
     3 'Normalizat'    .94788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1185       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=   5482.929     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4016        309.38        .91878E-02    .85082E-03
   2  alpha         2.3088        2.9376        .41302        .26962E-04
   3  Normalizat    .94786        .51754E-01    .45511E-01    .52164E-04
   4  Prefactor     1.1184        .56986E-01    .36923E-01    .53553E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.40159
  alpha      = 2.30879
  Normalizat = 0.947855
  Prefactor  = 1.11843
 **********
 **   18 **HESSE 
 **********

 FCN=   5482.929     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4016        4.7415        .24734E-03   -1.5471    
   2  alpha         2.3088        1.7935        .41487E-01   -.76557E-01
   3  Normalizat    .94786        .21292        .23813E-03   -.94798    
   4  Prefactor     1.1184        .22526        .23263E-03   -.88880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0233e-11
Minuit parameter uncertainties:
  1  4.74276
  2  2.0018
  3  0.213114
  4  0.225452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263395': 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) = 5482.92916346
delta logL = 0.00286928652622

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.402e+00  4.743e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.309e+00  2.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:  1.118e+00  2.255e-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:  9.479e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/263395/cmap_HighResolution_284688001_284947201_4FGL_J0059.4-5654_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-08-13 08:21:01.911240', job_id='263395', GAL2='1.12', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1628868061.91', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.87e-03', ts2='0.13', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='175' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:21:01 PDT 2021

