Sender: LSF System <lsf@bullet0276>
Subject: Job 264691: <4FGL_J0059.4-5654_daily_bin383> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin383> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 07:51:27 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:54:14 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:54:14 2021
Terminated at Fri Aug 13 08:26:54 2021
Results reported at Fri Aug 13 08:26:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin383 14.8643 -56.9089 338601601 338860801 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 :                                   1919.00 sec.
    Max Memory :                                 620 MB
    Average Memory :                             487.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1959 sec.
    Turnaround time :                            2127 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 = 7432
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin383
RA = 14.8643, Dec = -56.9089
tmin = 338601601, tmax = 338860801
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='264691', job_status='RUN', time_executed='2021-08-13 07:54:59.038663', time_epoch_executed='1628866499.04' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264691

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264691/ft1_4FGL_J0059.4-5654_daily_bin383.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264691/ft1_4FGL_J0059.4-5654_daily_bin383.fits outfile=/scratch/kocevski/264691/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin383.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=338601601.0 tmax=338860801.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 5.89
user 4.92
sys 0.90

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits" evtable="EVENTS" scfile=/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits sctable="SC_DATA" outfile=/scratch/kocevski/264691/ltcube_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.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/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits
.....................!
real 14.85
user 13.59
sys 1.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits sctable="SC_DATA" expcube=/scratch/kocevski/264691/ltcube_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.fits outfile=/scratch/kocevski/264691/expmap_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.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/264691/ltcube_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.fits
.....................!
real 194.55
user 187.44
sys 6.73

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/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits scfile=/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits outfile=/scratch/kocevski/264691/cmap_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.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.13
user 0.37
sys 0.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits scfile=/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits outfile=/scratch/kocevski/264691/cmap_HighResolution_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.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.14
user 0.39
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/264691/ft2_4FGL_J0059.4-5654_daily_bin383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264691/Model_4FGL_J0059.4-5654_daily_bin383.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/264691/ft1_filtered_4FGL_J0059.4-5654_daily_bin383.fits.....................!
real 1278.42
user 1265.72
sys 9.57

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.378       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7737       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1866       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.3239       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9151       1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.188       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1703       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4628       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0306       1.0000         .10000E-03   10000.    
    17 'norm      '    4.6216       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.763       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1468       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93024       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=   4736.039     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2762 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.966        .10386E-05** at limit **
   2  Prefactor     10.379        7.9257       -.11710E-07   -.17954E-05
   3  Prefactor     5.7737        5.5368        .11579E-06   -.15736E-05
   4  Prefactor     .10000E-03    4.0601        .90761E-08** at limit **
   5  norm          .10000E-03    8.6846       -.10018E-06** at limit **
   6  Prefactor     3.1874        6.2800        .13588E-07    .37178E-05
   7  norm          .10000E-03    3.8962       -.65236E-10** at limit **
   8  Prefactor     .10000E-03    79.063       -.84207E-06** at limit **
   9  norm          4.3237        8.2208        .11315E-07    .23433E-05
  10  Prefactor     9.9165        11.222        .45325E-07   -.89018E-05
  11  Prefactor     63.184        85.223       -.48991E-05    .26114E-06
  12  Prefactor     .10000E-03    27.504        .50724E-05** at limit **
  13  norm          1.1700        .95565        .13898E-08   -.10210E-03
  14  Prefactor     1.4632        3.4453        .29780E-07    .65860E-05
  15  norm          .10000E-03    24.635       -.61960E-05** at limit **
  16  Prefactor     1.0330        3.5879        .46655E-08   -.40070E-05
  17  norm          4.6210        2.6840       -.50748E-08    .34464E-05
  18  Prefactor     .10000E-03    13.267       -.11084E-05** at limit **
  19  Prefactor     .10000E-03    16.952        .94231E-06** at limit **
  20  Prefactor     14.763        8.1371       -.35289E-07   -.21535E-04
  21  norm          .10000E-03    10.286        .28131E-06** at limit **
  22  Prefactor     .10000E-03    2.8180       -.62096E-08** at limit **
  23  Normalizat    1.1467        .20547        .17174E-06   -.31466E-04
  24  Prefactor     .93028        .20539        .14429E-06   -.16425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.3786
  Prefactor  = 5.77372
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.18745
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.32375
  Prefactor  = 9.91649
  Prefactor  = 63.1838
  Prefactor  = 0.0001
  norm       = 1.16999
  Prefactor  = 1.46318
  norm       = 0.0001
  Prefactor  = 1.03296
  norm       = 4.62103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7628
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14667
  Prefactor  = 0.930285
 **********
 **   18 **HESSE 
 **********

 FCN=   4736.039     FROM HESSE     STATUS=OK           399 CALLS     3161 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.379        7.9300        .12437E-03   -1.5064    
   3  Prefactor     5.7737        5.5390        .15455E-03   -1.5227    
   4  Prefactor     .10000E-03    4.0701        .13542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.6852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1874        6.0970        .17638E-03   -1.5351    
   7  norm          .10000E-03    3.9065        .13267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    79.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.3237        7.9719        .19372E-03   -1.5292    
  10  Prefactor     9.9165        11.319        .63629E-03   -1.5078    
  11  Prefactor     63.184        85.232        .50482E-04   -1.4117    
  12  Prefactor     .10000E-03    27.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1700        15.666        .21213E-02   -1.5492    
  14  Prefactor     1.4632        3.4027        .19043E-03   -1.5466    
  15  norm          .10000E-03    24.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0330        3.3734        .23194E-02   -1.5505    
  17  norm          4.6210        2.6686        .81880E-04   -1.5278    
  18  Prefactor     .10000E-03    13.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.763        8.1666        .52122E-03   -1.4939    
  21  norm          .10000E-03    10.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.8314        .11272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1467        .24767        .23338E-03   -.88267    
  24  Prefactor     .93028        .24638        .26076E-03   -.95091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78916e-09
Minuit parameter uncertainties:
  1  2.09469e-06
  2  7.93083
  3  5.53947
  4  8.33389e-07
  5  2.48724e-07
  6  6.09817
  7  4.05427e-07
  8  9.6884e-06
  9  7.97383
  10  11.3216
  11  85.3977
  12  2.1561e-05
  13  8.56477
  14  3.40318
  15  4.84741e-07
  16  3.37406
  17  2.66865
  18  1.07874e-07
  19  6.86264e-06
  20  8.16722
  21  2.54579e-07
  22  7.75046e-07
  23  0.247921
  24  0.246675
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  4.324e+00  7.974e+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.303e-01  2.467e-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.147e+00  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264691/likelihoodResults_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.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) = 4736.03924367
delta logL = 1.09720567707e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4736.03924081
delta logL = 1.38288105518e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3090       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4606       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93025       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=   4736.039     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      266 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3067        7.5122        .97034E-03   -.59179E-04
   2  alpha         2.4601        1.0871        .20196E-01   -.39359E-05
   3  Normalizat    1.1465        .23984        .23339E-03   -.39602E-04
   4  Prefactor     .93040        .24514        .26074E-03   -.23152E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.30672
  alpha      = 2.46012
  Normalizat = 1.14653
  Prefactor  = 0.9304
 **********
 **   18 **HESSE 
 **********

 FCN=   4736.039     FROM HESSE     STATUS=OK            27 CALLS      293 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3067        7.0700        .38813E-04   -1.5293    
   2  alpha         2.4601        1.0271        .80784E-03   -.15952E-01
   3  Normalizat    1.1465        .23996        .93356E-05   -.88272    
   4  Prefactor     .93040        .24510        .10430E-04   -.95087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85362e-12
Minuit parameter uncertainties:
  1  7.07134
  2  1.05846
  3  0.240193
  4  0.245394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264691': 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) = 4736.03924033
delta logL = 1.43053566717e-05

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  4.307e+00  7.071e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  2.460e+00  1.058e+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.304e-01  2.454e-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.147e+00  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/264691/cmap_HighResolution_338601601_338860801_4FGL_J0059.4-5654_daily_bin383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-08-13 08:26:53.432992', job_id='264691', GAL2='0.93', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1628868413.43', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.43e-05', ts2='0.57', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='383' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:26:53 PDT 2021

