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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1460
RA = 358.931, Dec = -33.8607
tmin = 617760001, tmax = 618019201
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='197387', job_status='RUN', time_executed='2021-09-30 09:21:33.139711', time_epoch_executed='1633018893.14' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1460'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197387

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197387/ft1_4FGL_J2355.7-3351_daily_bin1460.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197387/ft1_4FGL_J2355.7-3351_daily_bin1460.fits outfile=/scratch/kocevski/197387/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1460.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=617760001.0 tmax=618019201.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 2.69
user 2.50
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits" evtable="EVENTS" scfile=/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits sctable="SC_DATA" outfile=/scratch/kocevski/197387/ltcube_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.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/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits
.....................!
real 12.38
user 12.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits evtable="EVENTS" scfile=/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits sctable="SC_DATA" expcube=/scratch/kocevski/197387/ltcube_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.fits outfile=/scratch/kocevski/197387/expmap_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.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/197387/ltcube_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.fits
.....................!
real 193.15
user 187.75
sys 5.03

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/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits scfile=/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits outfile=/scratch/kocevski/197387/cmap_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits scfile=/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits outfile=/scratch/kocevski/197387/cmap_HighResolution_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.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/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits evtable="EVENTS" scfile=/scratch/kocevski/197387/ft2_4FGL_J2355.7-3351_daily_bin1460.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197387/Model_4FGL_J2355.7-3351_daily_bin1460.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/197387/ft1_filtered_4FGL_J2355.7-3351_daily_bin1460.fits.....................!
real 26.37
user 25.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25445E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.842       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.475       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    85.306       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.2876       1.0000         .10000E-03   10000.    
    11 'Prefactor '    152.28       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10368E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.668       1.0000         .10000E-03   10000.    
    15 'norm      '    19.788       1.0000         .10000E-03   10000.    
    16 'Prefactor '    126.25       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    134.76       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65979       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2696       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=   2382.381     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2292 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    249.40       -.11463E-05** at limit **
   2  Prefactor     11.842        7.9683        .16563E-06    .18145E-03
   3  Prefactor     .10000E-03    28.838        .63869E-06** at limit **
   4  Prefactor     14.479        21.096        .10823E-06   -.16704E-04
   5  Prefactor     .10000E-03    33.766       -.75775E-06** at limit **
   6  Prefactor     2.3805        21.881        .26813E-04   -.39988E-03
   7  Prefactor     85.103        79.281       -.16559E-04   -.76123E-03
   8  Prefactor     .10000E-03    6.5548       -.81730E-06** at limit **
   9  norm          .10000E-03    5.6285       -.27985E-06** at limit **
  10  norm          8.2855        19.435        .83883E-07    .15795E-05
  11  Prefactor     152.16        164.79       -.21203E-05   -.59945E-04
  12  Prefactor     .10000E-03    101.87        .77028E-06** at limit **
  13  norm          .10000E-03    15.727       -.28182E-05** at limit **
  14  Prefactor     18.647        44.174        .21703E-06   -.47014E-04
  15  norm          19.791        19.614        .46729E-06    .10873E-04
  16  Prefactor     126.29        185.75        .14037E-05    .27556E-04
  17  Prefactor     .10000E-03    44.500        .34379E-06** at limit **
  18  Prefactor     .10000E-03    35.450       -.12784E-05** at limit **
  19  Prefactor     134.71        102.35       -.16206E-05   -.48310E-04
  20  Normalizat    .66105        .30511        .64344E-05   -.23932E-03
  21  Prefactor     1.2683        .32740       -.56117E-05    .69391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 11.8422
  Prefactor  = 0.0001
  Prefactor  = 14.4787
  Prefactor  = 0.000100003
  Prefactor  = 2.38051
  Prefactor  = 85.1033
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.28547
  Prefactor  = 152.157
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 18.647
  norm       = 19.7905
  Prefactor  = 126.293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 134.709
  Normalizat = 0.661048
  Prefactor  = 1.26828
 **********
 **   18 **HESSE 
 **********

 FCN=   2382.381     FROM HESSE     STATUS=OK           307 CALLS     2599 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    250.10        .21458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.842        7.9703        .10492E-03   -1.5020    
   3  Prefactor     .10000E-03    28.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.479        21.119        .10528E-03   -1.4947    
   5  Prefactor     .10000E-03    33.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3805        22.711        .13350E-02   -1.5399    
   7  Prefactor     85.103        81.605        .21747E-03   -1.3860    
   8  Prefactor     .10000E-03    6.5641        .12200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.6327        .11309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.2855        19.426        .13926E-03   -1.5132    
  11  Prefactor     152.16        165.74        .16332E-03   -1.3235    
  12  Prefactor     .10000E-03    101.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    15.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.647        44.345        .92699E-04   -1.4844    
  15  norm          19.791        19.671        .90038E-04   -1.4818    
  16  Prefactor     126.29        186.06        .17913E-03   -1.3456    
  17  Prefactor     .10000E-03    44.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    36.410        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     134.71        102.53        .17346E-03   -1.3381    
  20  Normalizat    .66105        .35803        .30537E-03   -1.0545    
  21  Prefactor     1.2683        .38782        .25440E-03   -.84255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88157e-09
Minuit parameter uncertainties:
  1  0.00204358
  2  7.97106
  3  9.6603e-05
  4  21.1294
  5  0.000614212
  6  14.7127
  7  81.7128
  8  4.37688e-05
  9  1.48089e-05
  10  19.4411
  11  166.25
  12  0.000306887
  13  0.000215647
  14  44.4235
  15  19.6773
  16  186.936
  17  0.000125411
  18  5.13699e-05
  19  102.665
  20  0.359296
  21  0.388706
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  5.137e-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:  1.268e+00  3.887e-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:  6.610e-01  3.593e-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: 2.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.60e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197387/likelihoodResults_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.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) = 2382.38077802
delta logL = -0.000130955640088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2382.38064863
delta logL = -1.57114482136e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44850E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6921       1.0000          .0000       10.000    
     3 'Normalizat'    .66132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2682       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=   2382.381     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      241 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10114E-03    44.646        .90852E-01** at limit **
   2  Index         2.7090        5.1425        .50000       -.39645E-04
   3  Normalizat    .66106        .15054E-01    .68994E-01    .21701E-03
   4  Prefactor     1.2683        .16925E-01    .57534E-01    .30812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101137
  Index      = 2.70895
  Normalizat = 0.661061
  Prefactor  = 1.26827
 **********
 **   18 **HESSE 
 **********

 FCN=   2382.381     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      272 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10114E-03    8603.2        .30069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7090        5.5385        .50000       -.47598    
   3  Normalizat    .66106        .63234E-01    .30534E-03   -1.0545    
   4  Prefactor     1.2683        .70811E-01    .25441E-03   -.84256    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.56599e-07
Minuit parameter uncertainties:
  1  0.216268
  2  36.4857
  3  0.0632411
  4  0.0708162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197387': 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) = 2382.38064599
delta logL = 1.06816696643e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.011e-04  2.163e-01  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.709e+00  3.649e+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:  1.268e+00  7.082e-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:  6.611e-01  6.324e-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/197387/cmap_HighResolution_617760001_618019201_4FGL_J2355.7-3351_daily_bin1460.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2021-09-30 09:28:52.621017', job_id='197387', GAL2='1.27', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1633019332.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1460' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:28:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 197387: <4FGL_J2355.7-3351_daily_bin1460> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1460> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 09:20:28 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:20:30 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:20:30 2021
Terminated at Thu Sep 30 09:28:53 2021
Results reported at Thu Sep 30 09:28:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1460 358.931 -33.8607 617760001 618019201 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 :                                   429.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   502 sec.
    Turnaround time :                            505 sec.

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

