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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1021
RA = 358.931, Dec = -33.8607
tmin = 503971201, tmax = 504230401
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='194827', job_status='RUN', time_executed='2021-09-30 09:11:47.711203', time_epoch_executed='1633018307.71' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194827/ft1_4FGL_J2355.7-3351_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194827/ft1_4FGL_J2355.7-3351_daily_bin1021.fits outfile=/scratch/kocevski/194827/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1021.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=503971201.0 tmax=504230401.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 4.07
user 3.86
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits" evtable="EVENTS" scfile=/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits sctable="SC_DATA" outfile=/scratch/kocevski/194827/ltcube_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.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/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits
.....................!
real 13.36
user 12.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/194827/ltcube_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.fits outfile=/scratch/kocevski/194827/expmap_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.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/194827/ltcube_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.fits
.....................!
real 189.29
user 184.40
sys 4.51

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/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits scfile=/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits outfile=/scratch/kocevski/194827/cmap_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.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/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits scfile=/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits outfile=/scratch/kocevski/194827/cmap_HighResolution_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/194827/ft2_4FGL_J2355.7-3351_daily_bin1021.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194827/Model_4FGL_J2355.7-3351_daily_bin1021.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/194827/ft1_filtered_4FGL_J2355.7-3351_daily_bin1021.fits.....................!
real 39.95
user 38.62
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10767E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11150E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7803       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9493       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10535E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.304       1.0000         .10000E-03   10000.    
     9 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.351       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4437       1.0000         .10000E-03   10000.    
    13 'norm      '    .12760E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21371       1.0000         .10000E-03   10000.    
    15 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    104.90       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11405E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2986       1.0000         .10000E-03   10000.    
    19 'Prefactor '    138.17       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0397       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1153       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=   4685.731     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2252 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.313       -.57818E-07** at limit **
   2  Prefactor     .10000E-03    2.9285       -.35217E-06** at limit **
   3  Prefactor     .10000E-03    8.1187       -.44879E-07** at limit **
   4  Prefactor     1.7715        42.920        .20426E-05    .65456E-05
   5  Prefactor     .10000E-03    14.650        .36660E-07** at limit **
   6  Prefactor     9.9513        7.6486        .69498E-07    .62858E-05
   7  Prefactor     .10000E-03    17.265        .84889E-07** at limit **
   8  Prefactor     18.309        14.013        .81370E-07    .24132E-05
   9  norm          .10000E-03    2.0682        .44517E-06** at limit **
  10  norm          .10000E-03    6.2251       -.48416E-06** at limit **
  11  Prefactor     11.307        39.499       -.10133E-05   -.37429E-04
  12  Prefactor     6.4178        171.72        .33753E-06   -.68465E-05
  13  norm          .10000E-03    2.8257        .16684E-05** at limit **
  14  Prefactor     .52060E-02    16.173       -.60957E-06    .10877E-03
  15  norm          .10000E-03    2.3197        .50062E-06** at limit **
  16  Prefactor     104.99        113.54        .10599E-06    .34086E-04
  17  Prefactor     .10000E-03    31.418       -.17848E-07** at limit **
  18  Prefactor     2.2961        7.0875        .89742E-06   -.14768E-06
  19  Prefactor     138.18        65.186       -.26361E-07    .59014E-05
  20  Normalizat    1.0395        .21907       -.13540E-06   -.94445E-06
  21  Prefactor     1.1158        .22560       -.22038E-06   -.86313E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.77148
  Prefactor  = 0.0001
  Prefactor  = 9.95132
  Prefactor  = 0.0001
  Prefactor  = 18.3089
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.3067
  Prefactor  = 6.41779
  norm       = 0.0001
  Prefactor  = 0.00520596
  norm       = 0.0001
  Prefactor  = 104.994
  Prefactor  = 0.0001
  Prefactor  = 2.29614
  Prefactor  = 138.179
  Normalizat = 1.03948
  Prefactor  = 1.11579
 **********
 **   18 **HESSE 
 **********

 FCN=   4685.731     FROM HESSE     STATUS=OK           327 CALLS     2579 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5497        .22245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7715        42.940        .31367E-03   -1.5442    
   5  Prefactor     .10000E-03    14.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9513        7.6483        .12704E-03   -1.5077    
   7  Prefactor     .10000E-03    17.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.309        14.021        .93615E-04   -1.4852    
   9  norm          .10000E-03    2.0704        .96107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.2388        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.307        39.892        .11891E-03   -1.5035    
  12  Prefactor     6.4178        173.80        .15811E-03   -1.5201    
  13  norm          .10000E-03    2.8504        .11209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52060E-02    26.415        .96668E-01   -1.5694    
  15  norm          .10000E-03    2.3286        .10182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     104.99        113.50        .19630E-03   -1.3655    
  17  Prefactor     .10000E-03    31.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.2961        7.0478        .27069E-03   -1.5405    
  19  Prefactor     138.18        64.659        .17133E-03   -1.3352    
  20  Normalizat    1.0395        .26196        .24678E-03   -.91719    
  21  Prefactor     1.1158        .27076        .26537E-03   -.88964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76926e-10
Minuit parameter uncertainties:
  1  3.66107e-06
  2  0.000110169
  3  9.9862e-07
  4  17.4568
  5  8.81686e-09
  6  7.64901
  7  2.46892e-06
  8  14.0236
  9  5.85264e-07
  10  3.20497e-06
  11  39.9861
  12  67.0124
  13  1.99996e-06
  14  0.734834
  15  1.36064e-07
  16  113.733
  17  4.69388e-06
  18  7.05035
  19  64.6919
  20  0.262289
  21  0.271099
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.296e+00  7.050e+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:  1.116e+00  2.711e-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.039e+00  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194827/likelihoodResults_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.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) = 4685.67784273
delta logL = 0.053078033885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4685.67664351
delta logL = 0.0542772501403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0989       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0701       1.0000          .0000       10.000    
     3 'Normalizat'    1.0296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1222       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=   4685.677     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0982        5.9933        .20616E-03    .59445E-04
   2  Index         3.0704        1.6155        .10961E-01    .27676E-04
   3  Normalizat    1.0296        .24595        .24778E-03   -.52046E-03
   4  Prefactor     1.1223        .27000        .26467E-03   -.37546E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09823
  Index      = 3.07042
  Normalizat = 1.02959
  Prefactor  = 1.12228
 **********
 **   18 **HESSE 
 **********

 FCN=   4685.677     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0982        5.5474        .82465E-05   -1.5418    
   2  Index         3.0704        1.4995        .43846E-03   -.39620    
   3  Normalizat    1.0296        .24630        .49556E-04   -.92046    
   4  Prefactor     1.1223        .27029        .52935E-04   -.88758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96404e-10
Minuit parameter uncertainties:
  1  5.54872
  2  1.52725
  3  0.246577
  4  0.270622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194827': 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) = 4685.67664349
delta logL = 0.0542772705057

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.098e+00  5.549e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.070e+00  1.527e+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:  1.122e+00  2.706e-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.030e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/194827/cmap_HighResolution_503971201_504230401_4FGL_J2355.7-3351_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.82e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-30 09:20:59.601082', job_id='194827', GAL2='1.12', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1633018859.6', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='5.43e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1021' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 194827: <4FGL_J2355.7-3351_daily_bin1021> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1021 358.931 -33.8607 503971201 504230401 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 :                                   539.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            613 sec.

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

