Sender: LSF System <lsf@bullet0189>
Subject: Job 264387: <4FGL_J0059.4-5654_daily_bin241> in cluster <slac> Done

Job <4FGL_J0059.4-5654_daily_bin241> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 07:50:42 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 07:52:05 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:52:05 2021
Terminated at Fri Aug 13 08:17:19 2021
Results reported at Fri Aug 13 08:17:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin241 14.8643 -56.9089 301795201 302054401 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 :                                   1402.00 sec.
    Max Memory :                                 620 MB
    Average Memory :                             454.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   1513 sec.
    Turnaround time :                            1597 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 95 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin241
RA = 14.8643, Dec = -56.9089
tmin = 301795201, tmax = 302054401
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='264387', job_status='RUN', time_executed='2021-08-13 07:53:54.253842', time_epoch_executed='1628866434.25' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264387

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264387/ft1_4FGL_J0059.4-5654_daily_bin241.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264387/ft1_4FGL_J0059.4-5654_daily_bin241.fits outfile=/scratch/kocevski/264387/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin241.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=301795201.0 tmax=302054401.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 3.66
user 3.01
sys 0.63

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.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/264387/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin241.fits evtable="EVENTS" outfile="/scratch/kocevski/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.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 0.86
user 0.27
sys 0.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/264387/ltcube_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.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/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits
.....................!
real 10.31
user 9.46
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/264387/ltcube_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.fits outfile=/scratch/kocevski/264387/expmap_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.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/264387/ltcube_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.fits
.....................!
real 151.87
user 147.53
sys 4.06

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/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits outfile=/scratch/kocevski/264387/cmap_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.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 0.90
user 0.32
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits outfile=/scratch/kocevski/264387/cmap_HighResolution_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.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 0.92
user 0.32
sys 0.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/264387/ft2_4FGL_J0059.4-5654_daily_bin241.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264387/Model_4FGL_J0059.4-5654_daily_bin241.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/264387/ft1_filtered_4FGL_J0059.4-5654_daily_bin241.fits.....................!
real 915.31
user 911.18
sys 1.76

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.072       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2027       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    68.975       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3187       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4067       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17843E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .95662       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .72209       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14306E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    25.720       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .89823       1.0000         .10000E-03   10000.    
    15 'norm      '    20.052       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.9281       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.748       1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.723       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    21.384       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0300       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66771       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=   4486.407     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2711 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.027        46.318       -.86338E-06   -.84900E-04
   2  Prefactor     .10000E-03    7.7221        .21215E-06** at limit **
   3  Prefactor     6.2028        7.4781        .20913E-05   -.63340E-04
   4  Prefactor     .10000E-03    4.2927       -.24617E-06** at limit **
   5  norm          68.982        41.625        .92003E-07    .31595E-04
   6  Prefactor     5.3130        4.4485       -.41956E-06   -.18180E-03
   7  norm          3.4071        6.6532        .38646E-06   -.15584E-04
   8  Prefactor     .10000E-03    42.224        .39622E-06** at limit **
   9  norm          .95965        4.6461        .19479E-05    .13593E-05
  10  Prefactor     .72568        6.0892        .17050E-06    .20467E-04
  11  Prefactor     .10000E-03    27.713       -.33492E-07** at limit **
  12  Prefactor     .10000E-03    8.7692        .89093E-07** at limit **
  13  norm          25.708        12.376        .61111E-07   -.21318E-04
  14  Prefactor     .90226        2.7871        .12465E-05    .37677E-03
  15  norm          20.026        43.521       -.37074E-06   -.56940E-04
  16  Prefactor     .10000E-03    2.8325       -.28158E-07** at limit **
  17  norm          4.9306        3.1520        .60516E-07   -.24308E-04
  18  Prefactor     44.760        41.513        .14141E-06    .35422E-04
  19  Prefactor     49.726        21.249        .18532E-06    .73779E-04
  20  Prefactor     .10000E-03    2.9133       -.10589E-05** at limit **
  21  norm          21.337        25.986        .64826E-06    .61628E-05
  22  Prefactor     .10000E-03    4.8776       -.36033E-05** at limit **
  23  Normalizat    1.0300        .19245        .23555E-06   -.48082E-04
  24  Prefactor     .66747        .18588       -.16059E-05    .30804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.0266
  Prefactor  = 0.0001
  Prefactor  = 6.20282
  Prefactor  = 0.0001
  norm       = 68.9825
  Prefactor  = 5.31303
  norm       = 3.40706
  Prefactor  = 0.0001
  norm       = 0.959645
  Prefactor  = 0.725684
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.7082
  Prefactor  = 0.902258
  norm       = 20.0258
  Prefactor  = 0.0001
  norm       = 4.93062
  Prefactor  = 44.7602
  Prefactor  = 49.7257
  Prefactor  = 0.0001
  norm       = 21.3372
  Prefactor  = 0.0001
  Normalizat = 1.03005
  Prefactor  = 0.667474
 **********
 **   18 **HESSE 
 **********

 FCN=   4486.407     FROM HESSE     STATUS=OK           399 CALLS     3110 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.027        46.423        .65824E-04   -1.4490    
   2  Prefactor     .10000E-03    7.7809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2028        7.4328        .80594E-03   -1.5210    
   4  Prefactor     .10000E-03    4.3142        .13550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          68.982        41.628        .48331E-04   -1.4045    
   6  Prefactor     5.3130        4.3592        .11199E-03   -1.5247    
   7  norm          3.4071        6.6400        .21918E-03   -1.5339    
   8  Prefactor     .10000E-03    42.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .95965        4.4179        .25146E-03   -1.5512    
  10  Prefactor     .72568        33.924        .30399E-02   -1.5538    
  11  Prefactor     .10000E-03    27.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.7776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.708        12.383        .78989E-04   -1.4693    
  14  Prefactor     .90226        2.5075        .19721E-02   -1.5518    
  15  norm          20.026        43.570        .89444E-04   -1.4813    
  16  Prefactor     .10000E-03    2.8368        .10997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.9306        3.1550        .90974E-04   -1.5264    
  18  Prefactor     44.760        41.533        .29967E-03   -1.4369    
  19  Prefactor     49.726        21.291        .56871E-04   -1.4296    
  20  Prefactor     .10000E-03    2.9345        .11127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          21.337        25.993        .86617E-04   -1.4784    
  22  Prefactor     .10000E-03    4.8415        .28325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0300        .22956        .21925E-03   -.92030    
  24  Prefactor     .66747        .21873        .26742E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78773e-10
Minuit parameter uncertainties:
  1  46.4679
  2  4.19033e-07
  3  7.43388
  4  3.67875e-06
  5  41.6452
  6  4.35945
  7  6.64146
  8  0.000149597
  9  4.11835
  10  9.92865
  11  5.95556e-05
  12  4.70991e-06
  13  12.3838
  14  2.50781
  15  43.639
  16  9.4587e-07
  17  3.15515
  18  41.5599
  19  21.294
  20  1.22789e-05
  21  26.0068
  22  4.20011e-05
  23  0.229782
  24  0.219009
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  9.596e-01  4.118e+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:  6.675e-01  2.190e-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.030e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264387/likelihoodResults_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.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): 102
logL (Free Index) = 4486.36505496
delta logL = 0.0416557188955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4486.31577005
delta logL = 0.0909406255396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73815E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68533       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=   4486.316     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      328 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73848E-01    .18160        .36395E-04   -.10383E-02
   2  alpha         5.0000        4.8582        .50000    ** at limit **
   3  Normalizat    1.0050        .22311        .22161E-03   -.15597E-03
   4  Prefactor     .68542        .21888        .26402E-03   -.52920E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0738485
  alpha      = 5
  Normalizat = 1.00504
  Prefactor  = 0.68542
 **********
 **   18 **HESSE 
 **********

 FCN=   4486.316     FROM HESSE     STATUS=OK            29 CALLS      357 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73848E-01    .18036        .14558E-05   -1.5654    
   2  alpha         5.0000        4.8478        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0050        .22337        .44323E-04   -.92862    
   4  Prefactor     .68542        .21910        .10561E-04   -1.0410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81095e-11
Minuit parameter uncertainties:
  1  0.180361
  2  1.49473e-05
  3  0.223574
  4  0.219379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264387': 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) = 4486.31576964
delta logL = 0.0909410337908

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  7.385e-02  1.804e-01  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  5.000e+00  1.495e-05  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:  6.854e-01  2.194e-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.005e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/264387/cmap_HighResolution_301795201_302054401_4FGL_J0059.4-5654_daily_bin241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='7.53e-08', time_completed='2021-08-13 08:17:18.687837', job_id='264387', GAL2='0.69', fit_tolerance='1e-08', EG2='1.01', EG='1.03', time_epoch_completed='1628867838.69', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='9.09e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='241' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:17:18 PDT 2021

