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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1093
RA = 358.931, Dec = -33.8607
tmin = 522633601, tmax = 522892801
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='195912', job_status='RUN', time_executed='2021-09-30 09:16:49.657863', time_epoch_executed='1633018609.66' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195912/ft1_4FGL_J2355.7-3351_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195912/ft1_4FGL_J2355.7-3351_daily_bin1093.fits outfile=/scratch/kocevski/195912/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1093.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=522633601.0 tmax=522892801.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.63
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.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/195912/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1093.fits evtable="EVENTS" outfile="/scratch/kocevski/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/195912/ltcube_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.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/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits
.....................!
real 11.78
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/195912/ltcube_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.fits outfile=/scratch/kocevski/195912/expmap_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.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/195912/ltcube_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.fits
.....................!
real 191.00
user 185.51
sys 5.17

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/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits outfile=/scratch/kocevski/195912/cmap_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.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/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits outfile=/scratch/kocevski/195912/cmap_HighResolution_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/195912/ft2_4FGL_J2355.7-3351_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195912/Model_4FGL_J2355.7-3351_daily_bin1093.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/195912/ft1_filtered_4FGL_J2355.7-3351_daily_bin1093.fits......................!
real 35.79
user 34.48
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.554       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.408       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2321       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1550       1.0000         .10000E-03   10000.    
    10 'norm      '    12.689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.4392       1.0000         .10000E-03   10000.    
    14 'Prefactor '    81.046       1.0000         .10000E-03   10000.    
    15 'norm      '    .95866       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.036       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7323       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95589       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=   4077.461     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2177 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.519        83.430       -.12643E-05   -.83997E-04
   2  Prefactor     .10000E-03    4.6172        .32382E-06** at limit **
   3  Prefactor     35.665        26.048        .19296E-07    .17216E-05
   4  Prefactor     17.409        19.725        .98662E-07   -.20274E-05
   5  Prefactor     .10000E-03    15.559       -.32607E-06** at limit **
   6  Prefactor     2.2361        6.7796        .63376E-06   -.43461E-04
   7  Prefactor     .10000E-03    27.913       -.64644E-06** at limit **
   8  Prefactor     .10000E-03    25.771       -.36639E-06** at limit **
   9  norm          1.1537        23.609        .56400E-05   -.93558E-04
  10  norm          12.689        9.7499        .38773E-06   -.47531E-04
  11  Prefactor     .10000E-03    21.469        .23491E-06** at limit **
  12  Prefactor     .10000E-03    15.851        .13493E-06** at limit **
  13  norm          2.4380        10.763       -.34381E-05   -.12186E-03
  14  Prefactor     81.043        49.560        .44159E-07   -.14648E-04
  15  norm          .96015        5.3673        .26515E-05    .49746E-04
  16  Prefactor     .10000E-03    64.577       -.13085E-06** at limit **
  17  Prefactor     .10000E-03    34.626        .62081E-06** at limit **
  18  Prefactor     13.038        10.414        .86700E-07   -.21052E-04
  19  Prefactor     6.7381        136.65        .83276E-06    .71440E-05
  20  Normalizat    1.0534        .22800        .37905E-06   -.98735E-04
  21  Prefactor     .95631        .23634       -.11083E-05   -.42501E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.5188
  Prefactor  = 0.0001
  Prefactor  = 35.6647
  Prefactor  = 17.4093
  Prefactor  = 0.0001
  Prefactor  = 2.23608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.15371
  norm       = 12.6888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.43795
  Prefactor  = 81.0431
  norm       = 0.96015
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.0382
  Prefactor  = 6.73806
  Normalizat = 1.0534
  Prefactor  = 0.956313
 **********
 **   18 **HESSE 
 **********

 FCN=   4077.461     FROM HESSE     STATUS=OK           317 CALLS     2494 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.519        84.141        .55856E-04   -1.4271    
   2  Prefactor     .10000E-03    4.6850        .13359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.665        26.026        .67106E-04   -1.4513    
   4  Prefactor     17.409        19.762        .95993E-04   -1.4873    
   5  Prefactor     .10000E-03    15.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2361        6.8042        .27391E-03   -1.5409    
   7  Prefactor     .10000E-03    28.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1537        24.212        .28270E-03   -1.5493    
  10  norm          12.689        9.7428        .56225E-03   -1.4995    
  11  Prefactor     .10000E-03    21.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.4380        11.076        .18277E-03   -1.5396    
  14  Prefactor     81.043        49.617        .44614E-04   -1.3905    
  15  norm          .96015        5.3915        .26015E-03   -1.5512    
  16  Prefactor     .10000E-03    64.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.038        10.406        .11094E-03   -1.4986    
  19  Prefactor     6.7381        135.80        .15464E-03   -1.5189    
  20  Normalizat    1.0534        .26797        .23549E-03   -.91262    
  21  Prefactor     .95631        .27556        .27000E-03   -.94200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71961e-10
Minuit parameter uncertainties:
  1  84.3359
  2  3.49981e-06
  3  26.0341
  4  19.7691
  5  4.87648e-05
  6  6.80654
  7  0.000139408
  8  0.000105989
  9  10.5749
  10  9.74402
  11  9.86697e-05
  12  4.1097e-05
  13  10.3957
  14  49.6426
  15  4.55084
  16  0.000148735
  17  0.000276796
  18  10.4072
  19  60.6576
  20  0.268314
  21  0.275966
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.304e+01  1.041e+01  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:  9.563e-01  2.760e-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.053e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.39
Ra Dec: 358.931 -33.861
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 7.77e-08 +/- 6.20e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.66e-05

TS (Fixed Index): 2.39
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195912/likelihoodResults_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.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) = 4077.36917882
delta logL = 0.0913265273393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4077.36449312
delta logL = 0.0960122192446

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.209       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9271       1.0000          .0000       10.000    
     3 'Normalizat'    1.0319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97581       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=   4077.364     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      253 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.215        176.91        .31352E-02    .17529E-03
   2  Index         2.9277        6.4570        .17074        .78647E-04
   3  Normalizat    1.0319        .84438E-01    .41976E-01   -.33026E-04
   4  Prefactor     .97558        .93116E-01    .45964E-01   -.12946E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2148
  Index      = 2.92772
  Normalizat = 1.03187
  Prefactor  = 0.975579
 **********
 **   18 **HESSE 
 **********

 FCN=   4077.364     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.215        11.813        .12541E-03   -1.5069    
   2  Index         2.9277        .90800        .63547E-02   -.42734    
   3  Normalizat    1.0319        .25564        .23760E-03   -.91970    
   4  Prefactor     .97558        .27600        .26765E-03   -.93548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75509e-11
Minuit parameter uncertainties:
  1  11.8156
  2  0.914136
  3  0.255947
  4  0.276397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195912': 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) = 4077.36448963
delta logL = 0.0960157114851

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.021e+01  1.182e+01  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.928e+00  9.141e-01  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:  9.756e-01  2.764e-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.032e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.61
Ra Dec: 358.931 -33.861
Photon Index (Free Index): 2.93 +/- 0.91
Photon Flux (Free Index): 9.22e-08 +/- 7.13e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.49e-05

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/195912/cmap_HighResolution_522633601_522892801_4FGL_J2355.7-3351_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', comment='SUCCESS', photon_flux='7.77e-08', energy_flux2='1.91e-05', photon_flux_error='6.20e-08', dlogl='9.60e-02', energy_flux='2.08e-05', photon_flux2='9.22e-08', job_status='DONE', time_completed='2021-09-30 09:25:20.569115', photon_index_error2='0.91', photon_index2='2.93', ts='2.39', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.99e-07', energy_flux_error2='1.49e-05', EG='1.05', time_epoch_completed='1633019120.57', return_code='0', job_id='195912', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='7.13e-08', ts2='2.61', photon_index='2.58' WHERE bin_id='1093' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:25:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 195912: <4FGL_J2355.7-3351_daily_bin1093> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1093> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:16 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15:18 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:15:18 2021
Terminated at Thu Sep 30 09:25:20 2021
Results reported at Thu Sep 30 09:25:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1093 358.931 -33.8607 522633601 522892801 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 :                                   507.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             245.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            604 sec.

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

