/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 8 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 = 7438
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0538.8-4405_daily_bin1004
RA = 84.7089, Dec = -44.0862
tmin = 499564801, tmax = 499824001
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='683787', job_status='RUN', time_executed='2021-08-23 13:11:25.403420', time_epoch_executed='1629749485.4' WHERE source_name='4FGL J0538.8-4405' and cadence='daily' and bin_id='1004'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683787

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683787/ft1_4FGL_J0538.8-4405_daily_bin1004.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683787/ft1_4FGL_J0538.8-4405_daily_bin1004.fits outfile=/scratch/kocevski/683787/ft1_filteredMKT_4FGL_J0538.8-4405_daily_bin1004.fits ra=84.7089 dec=-44.0862 rad=12.0 tmin=499564801.0 tmax=499824001.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.62
user 4.79
sys 0.81

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.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/683787/ft1_filteredMKT_4FGL_J0538.8-4405_daily_bin1004.fits evtable="EVENTS" outfile="/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.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.10
user 0.33
sys 0.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits" evtable="EVENTS" scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits sctable="SC_DATA" outfile=/scratch/kocevski/683787/ltcube_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.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/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits
.....................!
real 15.70
user 14.61
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits sctable="SC_DATA" expcube=/scratch/kocevski/683787/ltcube_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits outfile=/scratch/kocevski/683787/expmap_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.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/683787/ltcube_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits
.....................!
real 191.78
user 185.46
sys 5.87

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
Added 195 point sources and 0 extended sources

Setting source of interest to:
4FGL J0538.8-4405 @ 84.7089 -44.0862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits outfile=/scratch/kocevski/683787/cmap_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.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=84.7089 yref=-44.0862 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.11
user 0.36
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits outfile=/scratch/kocevski/683787/cmap_HighResolution_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.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=84.7089 yref=-44.0862 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.42
user 0.37
sys 0.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/683787/Model_4FGL_J0538.8-4405_daily_bin1004.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
Working on...
/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits.....................!
real 61.70
user 59.46
sys 1.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits', '/scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits', expMap='/scratch/kocevski/683787/expmap_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits', expCube='/scratch/kocevski/683787/ltcube_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/683787/Model_4FGL_J0538.8-4405_daily_bin1004.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0538.8-4405'

4FGL J0538.8-4405
   Spectrum: LogParabola
306         norm:  5.462e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.018e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  6.200e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  6.207e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/683787/ft1_filtered_4FGL_J0538.8-4405_daily_bin1004.fits
Spacecraft file(s): /scratch/kocevski/683787/ft2_4FGL_J0538.8-4405_daily_bin1004.fits
Exposure map: /scratch/kocevski/683787/expmap_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits
Exposure cube: /scratch/kocevski/683787/ltcube_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/683787/Model_4FGL_J0538.8-4405_daily_bin1004.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) = 5698.39274834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.1399       1.0000         .10000E-03   10000.    
     3 'norm      '    8.5103       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.531       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1546       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7776       1.0000         .10000E-03   10000.    
    13 'norm      '    48.236       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.293       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .81470       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.6320       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    11.867       1.0000         .10000E-03   10000.    
    24 'Prefactor '    35.341       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.414       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .96248       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .56469       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1974       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5698.370     FROM MIGRAD    STATUS=CONVERGED    764 CALLS     3888 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1854        .60489E-08** at limit **
   2  norm          8.1377        13.094       -.12210E-05   -.74452E-04
   3  norm          8.5104        3.1521        .69494E-07   -.82778E-04
   4  Prefactor     .10000E-03    1.5575        .45542E-08** at limit **
   5  Prefactor     .10000E-03    15.540        .12433E-04** at limit **
   6  norm          13.528        8.9164       -.67512E-07   -.43314E-03
   7  Prefactor     .10000E-03    116.15       -.55872E-05** at limit **
   8  Prefactor     .10000E-03    12.906       -.43874E-05** at limit **
   9  Prefactor     .10000E-03    17.600       -.71187E-05** at limit **
  10  Prefactor     5.1550        4.3565        .39273E-06   -.42738E-03
  11  Prefactor     .10000E-03    1.4237        .17159E-07** at limit **
  12  norm          2.7778        2.1202        .16085E-07   -.76603E-05
  13  norm          48.237        9.4591        .63895E-07   -.21411E-05
  14  norm          .10000E-03    2.2203       -.28574E-07** at limit **
  15  Prefactor     15.285        7.9679       -.11698E-06    .10314E-03
  16  Prefactor     .10000E-03    12.980       -.31218E-05** at limit **
  17  Prefactor     .10000E-03    6.8126       -.49265E-06** at limit **
  18  norm          .10000E-03    6.0546        .35819E-06** at limit **
  19  Prefactor     .10000E-03    114.03       -.11865E-05** at limit **
  20  norm          .81508        1.2638       -.22985E-06   -.11330E-02
  21  Prefactor     4.6323        5.0943        .95592E-06   -.39956E-03
  22  norm          .10000E-03    3.2827       -.12623E-07** at limit **
  23  norm          11.866        11.950       -.19552E-06    .24939E-04
  24  Prefactor     35.341        17.593       -.20635E-07   -.32688E-05
  25  Prefactor     16.419        21.283        .24060E-06    .18170E-03
  26  Prefactor     .95257        10.877       -.21120E-05   -.13705E-03
  27  Prefactor     .10000E-03    75.279        .48730E-05** at limit **
  28  Prefactor     .10000E-03    10.499        .20150E-05** at limit **
  29  Normalizat    .56455        .24807       -.80473E-06    .62873E-04
  30  Prefactor     1.1975        .16876        .43135E-06    .15518E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.13766
  norm       = 8.5104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.15495
  Prefactor  = 0.0001
  norm       = 2.77776
  norm       = 48.2369
  norm       = 0.0001
  Prefactor  = 15.2846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.815078
  Prefactor  = 4.63231
  norm       = 0.0001
  norm       = 11.8664
  Prefactor  = 35.341
  Prefactor  = 16.4195
  Prefactor  = 0.952571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.564553
  Prefactor  = 1.19745
 **********
 **   18 **HESSE 
 **********

 FCN=   5698.370     FROM HESSE     STATUS=OK           586 CALLS     4474 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1895        .80171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.1377        13.104        .14053E-03   -1.5137    
   3  norm          8.5104        3.1511        .75412E-04   -1.5124    
   4  Prefactor     .10000E-03    1.5654        .91746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.528        8.8893        .10889E-03   -1.4972    
   7  Prefactor     .10000E-03    116.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.1550        4.3207        .12705E-03   -1.5254    
  11  Prefactor     .10000E-03    1.4297        .87904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7778        2.1163        .91894E-04   -1.5375    
  13  norm          48.237        9.4359        .57736E-04   -1.4318    
  14  norm          .10000E-03    2.2373        .10971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.285        7.9356        .10242E-03   -1.4926    
  16  Prefactor     .10000E-03    13.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.8558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.3187        .36208E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    115.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .81508        1.2482        .98788E-04   -1.5527    
  21  Prefactor     4.6323        5.0261        .16532E-03   -1.5277    
  22  norm          .10000E-03    3.2836        .13357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.866        11.940        .11629E-03   -1.5019    
  24  Prefactor     35.341        17.578        .67412E-04   -1.4518    
  25  Prefactor     16.419        20.502        .98859E-04   -1.4897    
  26  Prefactor     .95257        25.077        .43149E-02   -1.5513    
  27  Prefactor     .10000E-03    75.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    10.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .56455        .26122        .39556E-03   -1.0951    
  30  Prefactor     1.1975        .18293        .20726E-03   -.86410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32017e-08
Minuit parameter uncertainties:
  1  1.89654e-06
  2  13.1089
  3  3.15121
  4  4.3227e-07
  5  1.90866e-05
  6  8.89019
  7  5.27489e-05
  8  3.46231e-06
  9  1.98437e-06
  10  4.32094
  11  1.16912e-06
  12  2.11635
  13  9.43618
  14  2.27883e-06
  15  7.9361
  16  1.60207e-05
  17  2.98466e-07
  18  4.34121e-06
  19  0.000189752
  20  1.24823
  21  5.02656
  22  3.8269e-06
  23  11.942
  24  17.581
  25  20.5105
  26  9.779
  27  1.32766e-05
  28  4.30025e-06
  29  0.261789
  30  0.183024
Done.

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

Extracting fit parameters...

4FGL J0538.8-4405
   Spectrum: LogParabola
306         norm:  8.151e-01  1.248e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.018e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  6.200e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  6.207e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.197e+00  1.830e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  5.646e-01  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 84.709 -44.086
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/683787/likelihoodResults_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.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) = 5698.13990835
delta logL = 0.230494545806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5698.13886202
delta logL = 0.231540875261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81608       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5798       1.0000          .0000       5.0000    
     3 'Normalizat'    .55023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5698.139     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      230 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81560        19.882        .12500E-01    .12076E-02
   2  alpha         2.5794        3.5792        .41178        .33875E-04
   3  Normalizat    .55080        .55356E-01    .90207E-01    .35677E-04
   4  Prefactor     1.1991        .42585E-01    .34646E-01   -.16037E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.815601
  alpha      = 2.57938
  Normalizat = 0.550798
  Prefactor  = 1.19906
 **********
 **   18 **HESSE 
 **********

 FCN=   5698.139     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81560        1.0665        .72818E-04   -1.5527    
   2  alpha         2.5794        .78059        .17900E-01    .31758E-01
   3  Normalizat    .55080        .24066        .39967E-03   -1.1012    
   4  Prefactor     1.1991        .17840        .20699E-03   -.86360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06346e-09
Minuit parameter uncertainties:
  1  1.06655
  2  0.793878
  3  0.241115
  4  0.178486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683787': 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) = 5698.13885899
delta logL = 0.231543904662

Extracting fit parameters...

4FGL J0538.8-4405
   Spectrum: LogParabola
306         norm:  8.156e-01  1.067e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.579e+00  7.939e-01  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  6.200e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  6.207e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.199e+00  1.785e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  5.508e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 84.709 -44.086

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/683787/cmap_HighResolution_499564801_499824001_4FGL_J0538.8-4405_daily_bin1004.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-05', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-08-23 13:26:09.833371', job_id='683787', GAL2='1.20', fit_tolerance='1e-08', EG2='0.55', EG='0.56', time_epoch_completed='1629750369.83', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.32e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1004' AND source_name='4FGL J0538.8-4405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 13:26:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 683787: <4FGL_J0538.8-4405_daily_bin1004> in cluster <slac> Done

Job <4FGL_J0538.8-4405_daily_bin1004> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Aug 23 13:10:57 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 13:10:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 13:10:59 2021
Terminated at Mon Aug 23 13:26:10 2021
Results reported at Mon Aug 23 13:26:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0538.8-4405_daily_bin1004 84.7089 -44.0862 499564801 499824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0538.8-4405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   890.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

The output (if any) is above this job summary.

