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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin873
RA = 358.931, Dec = -33.8607
tmin = 465609601, tmax = 465868801
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='194603', job_status='RUN', time_executed='2021-09-30 09:14:33.322256', time_epoch_executed='1633018473.32' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194603

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194603/ft1_4FGL_J2355.7-3351_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194603/ft1_4FGL_J2355.7-3351_daily_bin873.fits outfile=/scratch/kocevski/194603/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin873.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=465609601.0 tmax=465868801.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.57
user 3.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.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/194603/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/194603/ltcube_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.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/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits
.....................!
real 12.06
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/194603/ltcube_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits outfile=/scratch/kocevski/194603/expmap_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.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/194603/ltcube_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits
.....................!
real 191.04
user 185.34
sys 5.32

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits outfile=/scratch/kocevski/194603/cmap_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.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=358.931 yref=-33.8607 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits outfile=/scratch/kocevski/194603/cmap_HighResolution_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.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=358.931 yref=-33.8607 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194603/Model_4FGL_J2355.7-3351_daily_bin873.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/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits.....................!
real 44.70
user 43.34
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits', '/scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits', expMap='/scratch/kocevski/194603/expmap_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits', expCube='/scratch/kocevski/194603/ltcube_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/194603/Model_4FGL_J2355.7-3351_daily_bin873.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/194603/ft1_filtered_4FGL_J2355.7-3351_daily_bin873.fits
Spacecraft file(s): /scratch/kocevski/194603/ft2_4FGL_J2355.7-3351_daily_bin873.fits
Exposure map: /scratch/kocevski/194603/expmap_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits
Exposure cube: /scratch/kocevski/194603/ltcube_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/194603/Model_4FGL_J2355.7-3351_daily_bin873.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) = 5959.95102197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12599E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0326       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.393       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21958E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.069       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8816       1.0000         .10000E-03   10000.    
     9 'norm      '    4.6260       1.0000         .10000E-03   10000.    
    10 'norm      '    8.1076       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.408       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.237       1.0000         .10000E-03   10000.    
    13 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8163       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.274       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80720       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5959.944     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2220 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.382        .79028E-06** at limit **
   2  Prefactor     .10000E-03    1.1112       -.85705E-07** at limit **
   3  Prefactor     .10000E-03    11.978       -.57079E-06** at limit **
   4  Prefactor     8.0328        7.7952        .97087E-07   -.54177E-05
   5  Prefactor     20.414        22.321       -.10036E-05   -.29839E-03
   6  Prefactor     .10000E-03    4.6929        .20595E-05** at limit **
   7  Prefactor     27.099        22.036       -.67836E-06   -.37551E-03
   8  Prefactor     2.8809        6.9221        .54020E-06   -.10542E-03
   9  norm          4.6261        3.7671       -.51084E-08   -.25493E-05
  10  norm          8.1075        5.7206        .53487E-06    .23512E-03
  11  Prefactor     17.405        22.714        .21281E-06   -.16556E-04
  12  Prefactor     21.232        30.053       -.40953E-06   -.39622E-04
  13  norm          .10000E-03    1.4201       -.69511E-08** at limit **
  14  Prefactor     .10000E-03    50.268        .88772E-06** at limit **
  15  norm          .10000E-03    1.1431       -.49367E-09** at limit **
  16  Prefactor     .10000E-03    32.514        .43394E-08** at limit **
  17  Prefactor     .10000E-03    9.0361       -.43223E-07** at limit **
  18  Prefactor     2.8157        3.9171        .21974E-06   -.56248E-04
  19  Prefactor     19.284        28.980        .18289E-05    .11090E-03
  20  Normalizat    .80726        .13421       -.99114E-06   -.22135E-03
  21  Prefactor     .75428        .14630        .26998E-06   -.24060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 8.03279
  Prefactor  = 20.4137
  Prefactor  = 0.000100004
  Prefactor  = 27.0993
  Prefactor  = 2.88088
  norm       = 4.62615
  norm       = 8.10748
  Prefactor  = 17.405
  Prefactor  = 21.2318
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.81572
  Prefactor  = 19.2844
  Normalizat = 0.807258
  Prefactor  = 0.754285
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.944     FROM HESSE     STATUS=OK           319 CALLS     2539 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.000        .15355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0328        7.7934        .14147E-03   -1.5141    
   5  Prefactor     20.414        22.726        .88694E-04   -1.4804    
   6  Prefactor     .10000E-03    7.6117        .27847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.099        22.544        .77000E-04   -1.4666    
   8  Prefactor     2.8809        6.9322        .23943E-03   -1.5368    
   9  norm          4.6261        3.7654        .12883E-03   -1.5278    
  10  norm          8.1075        5.7419        .14081E-03   -1.5138    
  11  Prefactor     17.405        22.674        .95994E-04   -1.4873    
  12  Prefactor     21.232        30.175        .86916E-04   -1.4786    
  13  norm          .10000E-03    1.4268        .89518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    51.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1561        .80527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8157        3.9063        .16983E-03   -1.5372    
  19  Prefactor     19.284        29.093        .91230E-04   -1.4829    
  20  Normalizat    .80726        .15746        .19473E-03   -.99800    
  21  Prefactor     .75428        .17360        .23149E-03   -1.0144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11585e-09
Minuit parameter uncertainties:
  1  6.40053e-05
  2  0.000492825
  3  4.607e-05
  4  7.79441
  5  22.7358
  6  0.000349981
  7  22.5506
  8  6.93414
  9  3.76556
  10  5.74233
  11  22.6855
  12  30.1968
  13  7.44979e-07
  14  0.000221088
  15  1.08516e-06
  16  1.23149e-05
  17  6.21386e-06
  18  3.90664
  19  29.114
  20  0.157548
  21  0.17373
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.816e+00  3.907e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  7.543e-01  1.737e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.073e-01  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194603/likelihoodResults_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.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) = 5959.90553209
delta logL = 0.0387394348272

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.89590308
delta logL = 0.0483684469464

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2854       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9298       1.0000          .0000       10.000    
     3 'Normalizat'    .80139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5959.896     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2847        90.048        .67890E-02    .58422E-03
   2  Index         2.9303        6.2680        .22273        .58162E-04
   3  Normalizat    .80136        .38138E-01    .43628E-01    .15238E-04
   4  Prefactor     .75895        .42289E-01    .43179E-01    .20436E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28469
  Index      = 2.93032
  Normalizat = 0.801357
  Prefactor  = 0.75895
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.896     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2847        4.1928        .14235E-03   -1.5406    
   2  Index         2.9303        1.3180        .11548E-01   -.42677    
   3  Normalizat    .80136        .15200        .19538E-03   -1.0002    
   4  Prefactor     .75895        .17363        .23085E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0143e-12
Minuit parameter uncertainties:
  1  4.19331
  2  1.33715
  3  0.152081
  4  0.173753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194603': 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) = 5959.8959027
delta logL = 0.0483688276599

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.285e+00  4.193e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.930e+00  1.337e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  7.590e-01  1.738e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.014e-01  1.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
Ra Dec: 358.931 -33.861

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/194603/cmap_HighResolution_465609601_465868801_4FGL_J2355.7-3351_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2021-09-30 09:24:36.295851', job_id='194603', GAL2='0.76', fit_tolerance='1e-08', EG2='0.80', EG='0.81', time_epoch_completed='1633019076.3', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='4.84e-02', ts2='0.80', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='873' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:24:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 194603: <4FGL_J2355.7-3351_daily_bin873> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin873> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:10:27 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:10:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 09:10:29 2021
Terminated at Thu Sep 30 09:24:37 2021
Results reported at Thu Sep 30 09:24:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin873 358.931 -33.8607 465609601 465868801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2355.7-3351 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

