Sender: LSF System <lsf@bullet0228>
Subject: Job 264280: <4FGL_J0059.4-5654_daily_bin198> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0059.4-5654_daily_bin198 14.8643 -56.9089 290649601 290908801 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 :                                   2460.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             479.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2514 sec.
    Turnaround time :                            2561 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 3 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 = 7245
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0059.4-5654_daily_bin198
RA = 14.8643, Dec = -56.9089
tmin = 290649601, tmax = 290908801
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='264280', job_status='RUN', time_executed='2021-08-13 07:52:59.910509', time_epoch_executed='1628866379.91' WHERE source_name='4FGL J0059.4-5654' and cadence='daily' and bin_id='198'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264280

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264280/ft1_4FGL_J0059.4-5654_daily_bin198.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264280/ft1_4FGL_J0059.4-5654_daily_bin198.fits outfile=/scratch/kocevski/264280/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin198.fits ra=14.8643 dec=-56.9089 rad=12.0 tmin=290649601.0 tmax=290908801.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 8.42
user 3.16
sys 5.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.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/264280/ft1_filteredMKT_4FGL_J0059.4-5654_daily_bin198.fits evtable="EVENTS" outfile="/scratch/kocevski/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.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 5.55
user 0.33
sys 5.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits" evtable="EVENTS" scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits sctable="SC_DATA" outfile=/scratch/kocevski/264280/ltcube_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.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/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits
.....................!
real 20.45
user 14.50
sys 5.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits evtable="EVENTS" scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits sctable="SC_DATA" expcube=/scratch/kocevski/264280/ltcube_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.fits outfile=/scratch/kocevski/264280/expmap_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.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/264280/ltcube_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.fits
.....................!
real 198.80
user 186.43
sys 11.53

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/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits outfile=/scratch/kocevski/264280/cmap_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.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 5.43
user 0.37
sys 5.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits outfile=/scratch/kocevski/264280/cmap_HighResolution_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.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 5.46
user 0.40
sys 5.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits evtable="EVENTS" scfile=/scratch/kocevski/264280/ft2_4FGL_J0059.4-5654_daily_bin198.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264280/Model_4FGL_J0059.4-5654_daily_bin198.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/264280/ft1_filtered_4FGL_J0059.4-5654_daily_bin198.fits.....................!
real 1598.34
user 1587.31
sys 7.72

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7824       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.380       1.0000         .10000E-03   10000.    
     5 'norm      '    16.444       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .97366       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42202E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.958       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10456E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7129       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8774       1.0000         .10000E-03   10000.    
    15 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2480       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10766E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    17.274       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67599       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=   6111.769     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     3114 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.676       -.55324E-06** at limit **
   2  Prefactor     .10000E-03    3.6018        .48750E-08** at limit **
   3  Prefactor     3.7826        3.9120        .14693E-06    .16801E-04
   4  Prefactor     11.381        7.7357        .16216E-06    .22607E-04
   5  norm          16.442        16.810        .52154E-07    .20536E-06
   6  Prefactor     .10000E-03    2.5751       -.19073E-07** at limit **
   7  norm          .97384        8.8063        .17737E-05    .10192E-03
   8  Prefactor     .10000E-03    13.862       -.22226E-05** at limit **
   9  norm          1.1574        4.4597        .59606E-06   -.14962E-04
  10  Prefactor     .10023E-03    9.2834       -.35798E-05** at limit **
  11  Prefactor     41.948        75.282        .30255E-05    .20498E-04
  12  Prefactor     .10012E-03    26.323        .94858E-05** at limit **
  13  norm          3.7153        6.9681        .44589E-05    .63082E-03
  14  Prefactor     2.8777        2.8750       -.33138E-07   -.51570E-04
  15  norm          .10000E-03    12.638        .11596E-05** at limit **
  16  Prefactor     .10000E-03    3.9749        .73544E-08** at limit **
  17  norm          2.2482        1.6062        .83044E-08   -.49289E-04
  18  Prefactor     .10000E-03    16.624        .39487E-06** at limit **
  19  Prefactor     .10000E-03    16.658        .77872E-06** at limit **
  20  Prefactor     .10000E-03    2.5403        .22665E-06** at limit **
  21  norm          17.272        15.308        .73050E-07   -.48498E-05
  22  Prefactor     .10000E-03    2.2068       -.56202E-08** at limit **
  23  Normalizat    1.1361        .16236       -.59095E-06    .92546E-05
  24  Prefactor     .67602        .16360       -.49500E-06   -.28482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.78259
  Prefactor  = 11.3812
  norm       = 16.4422
  Prefactor  = 0.0001
  norm       = 0.973837
  Prefactor  = 0.0001
  norm       = 1.15742
  Prefactor  = 0.00010023
  Prefactor  = 41.9478
  Prefactor  = 0.000100122
  norm       = 3.71535
  Prefactor  = 2.87765
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.24819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.2717
  Prefactor  = 0.0001
  Normalizat = 1.1361
  Prefactor  = 0.676024
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.769     FROM HESSE     STATUS=OK           401 CALLS     3515 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.6271        .14487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7826        3.9140        .15294E-03   -1.5319    
   4  Prefactor     11.381        7.7327        .11876E-03   -1.5033    
   5  norm          16.442        16.806        .98769E-04   -1.4897    
   6  Prefactor     .10000E-03    2.5942        .24138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .97384        9.0452        .45148E-03   -1.5511    
   8  Prefactor     .10000E-03    13.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1574        4.4114        .29785E-03   -1.5493    
  10  Prefactor     .10023E-03    82.762        .39336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.948        75.313        .61886E-04   -1.4412    
  12  Prefactor     .10012E-03    77.487        .54236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7153        7.4685        .10479E-02   -1.5322    
  14  Prefactor     2.8777        2.8806        .12888E-03   -1.5369    
  15  norm          .10000E-03    12.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0663        .30288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2482        1.5913        .80738E-04   -1.5408    
  18  Prefactor     .10000E-03    16.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6383        .24109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          17.272        15.261        .96367E-04   -1.4877    
  22  Prefactor     .10000E-03    2.2355        .11315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1361        .18648        .20001E-03   -.88601    
  24  Prefactor     .67602        .19110        .26011E-03   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91406e-09
Minuit parameter uncertainties:
  1  2.68913e-06
  2  1.78531e-06
  3  3.91424
  4  7.73336
  5  16.811
  6  3.63822e-06
  7  5.93671
  8  3.66728e-05
  9  4.41264
  10  0.00874262
  11  75.4846
  12  0.00616436
  13  7.47038
  14  2.8807
  15  1.98802e-05
  16  5.41256e-07
  17  1.59132
  18  7.53923e-06
  19  6.17151e-05
  20  3.10793e-05
  21  15.2644
  22  1.8976e-07
  23  0.186585
  24  0.191285
Done.

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

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  1.157e+00  4.413e+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.760e-01  1.913e-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.136e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264280/likelihoodResults_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.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) = 6111.69724045
delta logL = 0.0720176942132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6111.69626797
delta logL = 0.0729901768964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3602       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8484       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66614       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=   6111.696     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      303 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3606        5.4077        .26200E-03   -.46039E-04
   2  alpha         1.8483        1.2188        .34524E-01   -.41906E-05
   3  Normalizat    1.1436        .18372        .19942E-03   -.18441E-03
   4  Prefactor     .66609        .19133        .26187E-03   -.92255E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.36056
  alpha      = 1.84833
  Normalizat = 1.14361
  Prefactor  = 0.666087
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.696     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3606        5.4106        .10480E-04   -1.5401    
   2  alpha         1.8483        1.2202        .13810E-02   -.26371    
   3  Normalizat    1.1436        .18379        .39885E-04   -.88364    
   4  Prefactor     .66609        .19139        .10475E-04   -1.0487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23485e-11
Minuit parameter uncertainties:
  1  5.41171
  2  1.2793
  3  0.183897
  4  0.191583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264280': 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) = 6111.69626787
delta logL = 0.0729902777293

Extracting fit parameters...

4FGL J0059.4-5654
   Spectrum: LogParabola
156         norm:  2.361e+00  5.412e+00  1.000e-04  1.000e+04 ( 1.000e-12)
157        alpha:  1.848e+00  1.279e+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:  6.661e-01  1.916e-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.144e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/264280/cmap_HighResolution_290649601_290908801_4FGL_J0059.4-5654_daily_bin198.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-05', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-08-13 08:33:10.966894', job_id='264280', GAL2='0.67', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1628868790.97', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='7.30e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='198' AND source_name='4FGL J0059.4-5654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:33:11 PDT 2021

