Sender: LSF System <lsf@bullet0249>
Subject: Job 263389: <4FGL_J0059.4-5654_daily_bin171> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin171> 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) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:50:58 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:58 2021
Terminated at Fri Aug 13 08:32:44 2021
Results reported at Fri Aug 13 08:32:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin171 14.8643 -56.9089 283651201 283910401 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 :                                   2270.00 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             425.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2504 sec.
    Turnaround time :                            2759 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 204 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin171
RA = 14.8643, Dec = -56.9089
tmin = 283651201, tmax = 283910401
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='263389', job_status='RUN', time_executed='2021-08-13 07:57:03.940354', time_epoch_executed='1628866623.94' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263389

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263389/ft1_4FGL_J0059.4-5654_daily_bin171.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263389/ft1_4FGL_J0059.4-5654_daily_bin171.fits outfile=/scratch/kocevski/263389/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin171.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=283651201.0 tmax=283910401.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.48
user 3.37
sys 9.05

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.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/263389/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.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.52
user 0.32
sys 9.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/263389/ltcube_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.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/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits
.....................!
real 23.37
user 13.02
sys 10.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/263389/ltcube_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.fits outfile=/scratch/kocevski/263389/expmap_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.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/263389/ltcube_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.fits
.....................!
real 206.14
user 188.85
sys 16.76

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/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits outfile=/scratch/kocevski/263389/cmap_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.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 9.56
user 0.37
sys 8.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits outfile=/scratch/kocevski/263389/cmap_HighResolution_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.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 9.37
user 0.38
sys 8.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/263389/ft2_4FGL_J0059.4-5654_daily_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263389/Model_4FGL_J0059.4-5654_daily_bin171.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/263389/ft1_filtered_4FGL_J0059.4-5654_daily_bin171.fits.....................!
real 1373.69
user 1355.48
sys 14.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13442E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.995       1.0000         .10000E-03   10000.    
     5 'norm      '    9.0276       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4174       1.0000         .10000E-03   10000.    
     7 'norm      '    4.9004       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.127       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    70.896       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2122       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.6171       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.847       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3063       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    33.403       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.2229       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2406       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86110       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=   5126.622     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2792 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.196        .30977E-07** at limit **
   2  Prefactor     .10000E-03    24.007        .58952E-06** at limit **
   3  Prefactor     .10000E-03    3.7980        .42494E-07** at limit **
   4  Prefactor     11.992        9.9261        .26638E-07    .36037E-05
   5  norm          8.9251        35.199       -.22445E-05   -.64913E-06
   6  Prefactor     5.4159        6.8808        .70140E-07    .80023E-04
   7  norm          4.9001        4.9504       -.21647E-07   -.37420E-05
   8  Prefactor     32.066        73.635        .20061E-05    .23578E-05
   9  norm          3.3124        7.9374        .14260E-05    .56190E-04
  10  Prefactor     .10000E-03    1.7651       -.18394E-07** at limit **
  11  Prefactor     70.695        85.015        .64295E-05    .27659E-05
  12  Prefactor     .10000E-03    67.369        .33789E-06** at limit **
  13  norm          .10000E-03    6.0702        .19446E-07** at limit **
  14  Prefactor     4.2121        4.4116        .18318E-08   -.12344E-04
  15  norm          .10000E-03    19.838        .64096E-07** at limit **
  16  Prefactor     .10000E-03    7.3269        .46647E-08** at limit **
  17  norm          3.6171        2.6226        .26434E-07    .32489E-05
  18  Prefactor     28.792        42.855        .53587E-06   -.13227E-06
  19  Prefactor     7.2897        15.049        .66683E-06    .70842E-05
  20  Prefactor     .10000E-03    3.6385        .14838E-06** at limit **
  21  norm          33.369        38.335        .25228E-06    .20056E-04
  22  Prefactor     1.2271        13.050        .10496E-06   -.19030E-04
  23  Normalizat    1.2414        .21022        .13473E-05   -.12953E-04
  24  Prefactor     .86027        .20762       -.23502E-05    .45148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9919
  norm       = 8.92506
  Prefactor  = 5.41588
  norm       = 4.90007
  Prefactor  = 32.0657
  norm       = 3.31235
  Prefactor  = 0.0001
  Prefactor  = 70.6953
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.21205
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.61711
  Prefactor  = 28.792
  Prefactor  = 7.28974
  Prefactor  = 0.0001
  norm       = 33.3692
  Prefactor  = 1.22707
  Normalizat = 1.24143
  Prefactor  = 0.860272
 **********
 **   18 **HESSE 
 **********

 FCN=   5126.622     FROM HESSE     STATUS=OK           403 CALLS     3195 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8094        .13627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.992        9.9332        .11567E-03   -1.5015    
   5  norm          8.9251        35.152        .13340E-03   -1.5110    
   6  Prefactor     5.4159        6.7921        .78073E-03   -1.5242    
   7  norm          4.9001        4.9558        .15634E-03   -1.5265    
   8  Prefactor     32.066        73.986        .70693E-04   -1.4575    
   9  norm          3.3124        7.9423        .11116E-02   -1.5344    
  10  Prefactor     .10000E-03    1.7672        .92902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     70.695        85.284        .23838E-03   -1.4024    
  12  Prefactor     .10000E-03    68.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.1395        .17226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2121        4.4123        .14930E-03   -1.5297    
  15  norm          .10000E-03    19.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.6171        2.6073        .94897E-04   -1.5328    
  18  Prefactor     28.792        42.857        .74594E-04   -1.4634    
  19  Prefactor     7.2897        15.026        .14839E-03   -1.5168    
  20  Prefactor     .10000E-03    3.6716        .13315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          33.369        36.126        .69333E-04   -1.4552    
  22  Prefactor     1.2271        11.833        .38047E-03   -1.5486    
  23  Normalizat    1.2414        .24859        .22951E-03   -.85332    
  24  Prefactor     .86027        .24143        .27257E-03   -.97543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40415e-11
Minuit parameter uncertainties:
  1  3.22849e-06
  2  4.07828e-05
  3  1.54555e-06
  4  9.93461
  5  35.234
  6  6.79308
  7  4.95626
  8  74.1985
  9  7.94485
  10  6.05664e-07
  11  85.4318
  12  7.1653e-06
  13  2.75912e-07
  14  4.41261
  15  5.52469e-07
  16  1.81282e-06
  17  2.60742
  18  42.9025
  19  15.0339
  20  2.16103e-06
  21  36.15
  22  7.62262
  23  0.248824
  24  0.241725
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  8.603e-01  2.417e-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.241e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263389/likelihoodResults_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.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) = 5126.51489154
delta logL = 0.107388377942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5126.48355157
delta logL = 0.138728345343

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8841       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3640       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87944       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=   5126.484     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      216 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8805        66.588        .75808E-02    .44109E-03
   2  alpha         3.3659        3.8197        .44793        .29454E-04
   3  Normalizat    1.2132        .48761E-01    .52398E-01   -.86096E-04
   4  Prefactor     .87963        .48328E-01    .44742E-01   -.76843E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88054
  alpha      = 3.36586
  Normalizat = 1.21322
  Prefactor  = 0.87963
 **********
 **   18 **HESSE 
 **********

 FCN=   5126.484     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8805        32.154        .12855E-03   -1.5434    
   2  alpha         3.3659        4.0234        .21278E-01    .35367    
   3  Normalizat    1.2132        .26012        .23167E-03   -.86195    
   4  Prefactor     .87963        .26199        .26983E-03   -.96857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48859e-07
Minuit parameter uncertainties:
  1  15.5614
  2  5.71123
  3  0.260393
  4  0.262369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263389': 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) = 5126.48355075
delta logL = 0.138729161501

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.881e+00  1.556e+01  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  3.366e+00  5.711e+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:  8.796e-01  2.624e-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.213e+00  2.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/263389/cmap_HighResolution_283651201_283910401_4FGL_J0059.4-5654_daily_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-13 08:32:41.557882', job_id='263389', GAL2='0.88', fit_tolerance='1e-08', EG2='1.21', EG='1.24', time_epoch_completed='1628868761.56', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.39e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='171' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:32:41 PDT 2021

