Sender: LSF System <lsf@bullet0198>
Subject: Job 264372: <4FGL_J0059.4-5654_daily_bin235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin235 14.8643 -56.9089 300240001 300499201 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 :                                   2455.86 sec.
    Max Memory :                                 1107 MB
    Average Memory :                             498.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3410 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2575 sec.
    Turnaround time :                            2651 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 93 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin235
RA = 14.8643, Dec = -56.9089
tmin = 300240001, tmax = 300499201
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='264372', job_status='RUN', time_executed='2021-08-13 07:54:03.932775', time_epoch_executed='1628866443.93' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264372/ft1_4FGL_J0059.4-5654_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264372/ft1_4FGL_J0059.4-5654_daily_bin235.fits outfile=/scratch/kocevski/264372/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin235.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=300240001.0 tmax=300499201.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.81
user 3.22
sys 1.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/264372/ltcube_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.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/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits
.....................!
real 15.56
user 13.57
sys 1.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/264372/ltcube_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.fits outfile=/scratch/kocevski/264372/expmap_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.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/264372/ltcube_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.fits
.....................!
real 193.52
user 186.92
sys 6.20

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/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits scfile=/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits outfile=/scratch/kocevski/264372/cmap_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.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.89
user 0.39
sys 1.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits scfile=/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits outfile=/scratch/kocevski/264372/cmap_HighResolution_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.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.99
user 0.39
sys 1.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/264372/ft2_4FGL_J0059.4-5654_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264372/Model_4FGL_J0059.4-5654_daily_bin235.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/264372/ft1_filtered_4FGL_J0059.4-5654_daily_bin235.fits.....................!
real 1712.58
user 1704.93
sys 3.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7127       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5448       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10572E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7780       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5748       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1032       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.705       1.0000         .10000E-03   10000.    
    13 'norm      '    .30463E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7395       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0252       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.655       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.5996       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.0506       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82014       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97319       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=   6459.893     FROM MIGRAD    STATUS=CONVERGED    998 CALLS     2810 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9207        .18142E-02** at limit **
   2  Prefactor     5.7114        6.5461        .16805E-03    .35861E-03
   3  Prefactor     3.5438        4.3354        .17989E-03   -.89111E-05
   4  Prefactor     .10000E-03    1.3770        .92051E-03** at limit **
   5  norm          .10000E-03    11.179        .18142E-02** at limit **
   6  Prefactor     .10000E-03    1.4471        .93510E-03** at limit **
   7  norm          5.7777        5.3687        .16709E-03   -.27684E-03
   8  Prefactor     .10000E-03    13.546        .18142E-02** at limit **
   9  norm          2.5739        3.3952        .16352E-03   -.16220E-03
  10  Prefactor     .10000E-03    5.0702        .17539E-02** at limit **
  11  Prefactor     1.8527        374.75        .14227E-02   -.74165E-04
  12  Prefactor     43.714        20.369        .60642E-04    .10945E-03
  13  norm          .10001E-03    7.8219        .54338E-01** at limit **
  14  Prefactor     .10000E-03    3.7451        .29854E-03** at limit **
  15  norm          .10000E-03    14.336        .18142E-02** at limit **
  16  Prefactor     2.7393        2.6632        .12341E-03    .32335E-04
  17  norm          1.0260        1.5200        .12408E-02    .39615E-02
  18  Prefactor     5.3680        145.92        .17309E-03   -.67255E-04
  19  Prefactor     13.671        17.922        .10839E-03    .38807E-05
  20  Prefactor     .10000E-03    1.0671        .80859E-03** at limit **
  21  norm          7.5997        11.382        .14547E-03   -.11215E-03
  22  Prefactor     6.0472        4.1585        .12675E-03   -.82697E-04
  23  Normalizat    .82045        .18801        .22936E-03   -.14226E-04
  24  Prefactor     .97300        .18989        .22403E-03   -.43338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.71142
  Prefactor  = 3.5438
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.77772
  Prefactor  = 0.0001
  norm       = 2.57392
  Prefactor  = 0.0001
  Prefactor  = 1.85269
  Prefactor  = 43.7138
  norm       = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.73933
  norm       = 1.02604
  Prefactor  = 5.36804
  Prefactor  = 13.6706
  Prefactor  = 0.0001
  norm       = 7.59971
  Prefactor  = 6.04718
  Normalizat = 0.820446
  Prefactor  = 0.972999
 **********
 **   18 **HESSE 
 **********

 FCN=   6459.893     FROM HESSE     STATUS=OK           385 CALLS     3195 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9208        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7114        6.5457        .67222E-05   -1.5230    
   3  Prefactor     3.5438        4.3353        .71954E-05   -1.5331    
   4  Prefactor     .10000E-03    1.3771        .18410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.181        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4473        .18702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7777        5.3687        .33417E-04   -1.5227    
   8  Prefactor     .10000E-03    13.546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5739        3.3948        .65407E-05   -1.5387    
  10  Prefactor     .10000E-03    5.0730        .35078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8527        374.07        .56907E-04   -1.5436    
  12  Prefactor     43.714        20.368        .12128E-04   -1.4385    
  13  norm          .10001E-03    7.0830        .58029E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7452        .59708E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    14.336        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7393        2.6624        .49363E-05   -1.5377    
  17  norm          1.0260        1.5188        .24815E-03   -1.5505    
  18  Prefactor     5.3680        145.57        .69238E-05   -1.5245    
  19  Prefactor     13.671        17.919        .43357E-05   -1.4968    
  20  Prefactor     .10000E-03    1.0671        .16172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.5997        11.382        .58188E-05   -1.5157    
  22  Prefactor     6.0472        4.1583        .50700E-05   -1.5216    
  23  Normalizat    .82045        .18819        .91745E-05   -.99315    
  24  Prefactor     .97300        .19012        .89611E-05   -.93635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29524e-09
Minuit parameter uncertainties:
  1  1.84064e-06
  2  6.54649
  3  4.33566
  4  4.52253e-07
  5  6.99968e-06
  6  2.55807e-06
  7  5.36917
  8  2.33433e-05
  9  3.39509
  10  3.50792e-06
  11  52.989
  12  20.3715
  13  0.000380946
  14  4.56195e-06
  15  1.27175e-05
  16  2.6625
  17  1.51887
  18  56.0596
  19  17.926
  20  4.07965e-07
  21  11.3853
  22  4.1585
  23  0.188343
  24  0.190252
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.574e+00  3.395e+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:  9.730e-01  1.903e-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:  8.204e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264372/likelihoodResults_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.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) = 6459.88190588
delta logL = 0.0113144954412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6459.87673631
delta logL = 0.0164840706257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9534       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0362       1.0000          .0000       5.0000    
     3 'Normalizat'    .82805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96761       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=   6459.877     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      250 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9529        4.0688        .17725E-03   -.69913E-05
   2  alpha         2.0363        1.9512        .41995E-01    .72361E-06
   3  Normalizat    .82805        .18119        .22838E-03   -.57895E-04
   4  Prefactor     .96762        .18996        .22456E-03    .12151E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.95292
  alpha      = 2.03634
  Normalizat = 0.828048
  Prefactor  = 0.96762
 **********
 **   18 **HESSE 
 **********

 FCN=   6459.877     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9529        3.9684        .70898E-05   -1.5364    
   2  alpha         2.0363        1.9196        .16798E-02   -.18654    
   3  Normalizat    .82805        .18081        .91350E-05   -.99037    
   4  Prefactor     .96762        .18986        .89822E-05   -.93817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06616e-11
Minuit parameter uncertainties:
  1  3.96877
  2  2.20338
  3  0.180942
  4  0.189989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264372': 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) = 6459.87673629
delta logL = 0.0164840897678

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.953e+00  3.969e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.036e+00  2.203e+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:  9.676e-01  1.900e-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:  8.280e-01  1.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
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/264372/cmap_HighResolution_300240001_300499201_4FGL_J0059.4-5654_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2021-08-13 08:34:50.674338', job_id='264372', GAL2='0.97', fit_tolerance='1e-08', EG2='0.83', EG='0.82', time_epoch_completed='1628868890.67', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.65e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='235' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:34:50 PDT 2021

