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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin898
RA = 358.931, Dec = -33.8607
tmin = 472089601, tmax = 472348801
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='194639', job_status='RUN', time_executed='2021-09-30 09:13:33.453380', time_epoch_executed='1633018413.45' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='898'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194639

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194639/ft1_4FGL_J2355.7-3351_daily_bin898.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194639/ft1_4FGL_J2355.7-3351_daily_bin898.fits outfile=/scratch/kocevski/194639/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin898.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=472089601.0 tmax=472348801.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.50
user 3.27
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.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/194639/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin898.fits evtable="EVENTS" outfile="/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits" evtable="EVENTS" scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits sctable="SC_DATA" outfile=/scratch/kocevski/194639/ltcube_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.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/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits
.....................!
real 12.12
user 11.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits sctable="SC_DATA" expcube=/scratch/kocevski/194639/ltcube_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits outfile=/scratch/kocevski/194639/expmap_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.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/194639/ltcube_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits
.....................!
real 191.05
user 185.66
sys 5.01

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/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits outfile=/scratch/kocevski/194639/cmap_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits outfile=/scratch/kocevski/194639/cmap_HighResolution_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194639/Model_4FGL_J2355.7-3351_daily_bin898.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/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits......................!
real 33.60
user 32.24
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits', '/scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits', expMap='/scratch/kocevski/194639/expmap_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits', expCube='/scratch/kocevski/194639/ltcube_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/194639/Model_4FGL_J2355.7-3351_daily_bin898.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/194639/ft1_filtered_4FGL_J2355.7-3351_daily_bin898.fits
Spacecraft file(s): /scratch/kocevski/194639/ft2_4FGL_J2355.7-3351_daily_bin898.fits
Exposure map: /scratch/kocevski/194639/expmap_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits
Exposure cube: /scratch/kocevski/194639/ltcube_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/194639/Model_4FGL_J2355.7-3351_daily_bin898.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) = 3639.12766033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.731       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .91561       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5916       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.974       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.192       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    26.370       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.348       1.0000         .10000E-03   10000.    
    13 'norm      '    8.1323       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.672       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6595       1.0000         .10000E-03   10000.    
    16 'Prefactor '    80.572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11997E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.868       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2297       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .61677       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=   3639.123     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2171 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.524        80.865       -.52965E-05   -.48367E-05
   2  Prefactor     .10000E-03    1.8266        .43211E-07** at limit **
   3  Prefactor     1.0329        120.05        .58606E-04    .33570E-05
   4  Prefactor     .10000E-03    7.9317       -.36607E-06** at limit **
   5  Prefactor     .10000E-03    25.757        .73630E-06** at limit **
   6  Prefactor     1.6154        8.6652       -.32715E-05    .14922E-03
   7  Prefactor     10.875        31.195        .28533E-05    .25515E-04
   8  Prefactor     12.199        13.430        .24559E-06    .29690E-04
   9  norm          .10000E-03    2.5136       -.95609E-07** at limit **
  10  norm          26.372        14.268       -.40494E-08    .28932E-04
  11  Prefactor     .10000E-03    31.961        .14629E-06** at limit **
  12  Prefactor     45.359        70.638        .10587E-05    .17604E-04
  13  norm          8.1329        6.2238        .26391E-06    .54092E-04
  14  Prefactor     45.678        38.869        .25629E-06   -.31547E-05
  15  norm          3.6613        6.2010       -.64707E-06   -.26427E-04
  16  Prefactor     80.459        136.51       -.29332E-05   -.34356E-04
  17  Prefactor     .10000E-03    78.705        .19244E-05** at limit **
  18  Prefactor     .10000E-03    2.6073        .19021E-06** at limit **
  19  Prefactor     30.840        41.804       -.11071E-05   -.25758E-04
  20  Normalizat    1.2294        .23867       -.21978E-05    .73426E-04
  21  Prefactor     .61696        .24810        .28221E-05    .96613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5237
  Prefactor  = 0.0001
  Prefactor  = 1.03295
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.61538
  Prefactor  = 10.8753
  Prefactor  = 12.1985
  norm       = 0.0001
  norm       = 26.3721
  Prefactor  = 0.0001
  Prefactor  = 45.3588
  norm       = 8.1329
  Prefactor  = 45.6783
  norm       = 3.66134
  Prefactor  = 80.4588
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 30.8401
  Normalizat = 1.22939
  Prefactor  = 0.61696
 **********
 **   18 **HESSE 
 **********

 FCN=   3639.123     FROM HESSE     STATUS=OK           319 CALLS     2490 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.524        81.132        .82226E-04   -1.4738    
   2  Prefactor     .10000E-03    1.8363        .79556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0329        118.97        .52141E-02   -1.5505    
   4  Prefactor     .10000E-03    7.9496        .16597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6154        8.8683        .14462E-02   -1.5454    
   7  Prefactor     10.875        31.384        .12094E-03   -1.5048    
   8  Prefactor     12.199        13.512        .11472E-03   -1.5009    
   9  norm          .10000E-03    2.5163        .93400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          26.372        14.265        .39005E-03   -1.4680    
  11  Prefactor     .10000E-03    31.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.359        70.794        .59538E-04   -1.4360    
  13  norm          8.1329        6.2076        .11873E-03   -1.5138    
  14  Prefactor     45.678        38.883        .59327E-04   -1.4355    
  15  norm          3.6613        6.1662        .87802E-03   -1.5325    
  16  Prefactor     80.459        136.78        .22372E-03   -1.3912    
  17  Prefactor     .10000E-03    78.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.6140        .95124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.840        41.784        .72117E-04   -1.4597    
  20  Normalizat    1.2294        .27668        .21404E-03   -.85699    
  21  Prefactor     .61696        .28286        .31309E-03   -1.0688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84937e-10
Minuit parameter uncertainties:
  1  81.5157
  2  5.27616e-06
  3  22.2157
  4  7.64714e-05
  5  0.000366913
  6  7.57138
  7  31.4319
  8  13.5159
  9  1.12451e-05
  10  14.2664
  11  3.82059e-05
  12  70.9258
  13  6.20813
  14  38.9048
  15  6.16726
  16  137.325
  17  0.000469063
  18  1.88562e-05
  19  41.8232
  20  0.277006
  21  0.283512
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.886e-05  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:  6.170e-01  2.835e-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:  1.229e+00  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/194639/likelihoodResults_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.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) = 3639.12477033
delta logL = -0.00177765938361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3639.12299264
delta logL = 3.57226781489e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5629       1.0000          .0000       10.000    
     3 'Normalizat'    1.2294       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61698       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3639.123     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      251 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.874        .96262E-02** at limit **
   2  Index         2.0691        6.1633        .50000        .30948E-06
   3  Normalizat    1.2294        .14321E-01    .21403E-03    .76553E-04
   4  Prefactor     .61696        .15382E-01    .31310E-03    .55591E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06906
  Normalizat = 1.22939
  Prefactor  = 0.616958
 **********
 **   18 **HESSE 
 **********

 FCN=   3639.123     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    189.38        .10523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0691        7.5475        .50000       -.62635    
   3  Normalizat    1.2294        .43971E-01    .42806E-04   -.85699    
   4  Prefactor     .61696        .47226E-01    .12524E-04   -1.0688    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18842e-09
Minuit parameter uncertainties:
  1  0.000171469
  2  801.027
  3  0.0439719
  4  0.0472294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194639': 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): 102
logL (Free Index) = 3639.12298918
delta logL = 3.49023684976e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.715e-04  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.069e+00  8.010e+02  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:  6.170e-01  4.723e-02  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:  1.229e+00  4.397e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/194639/cmap_HighResolution_472089601_472348801_4FGL_J2355.7-3351_daily_bin898.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-30 09:21:43.860915', job_id='194639', GAL2='0.62', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1633018903.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='3.49e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='898' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:21:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 194639: <4FGL_J2355.7-3351_daily_bin898> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin898> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:10:31 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:10:32 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:32 2021
Terminated at Thu Sep 30 09:21:44 2021
Results reported at Thu Sep 30 09:21:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin898 358.931 -33.8607 472089601 472348801 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 :                                   487.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            673 sec.

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

