/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 84 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 = 6336
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1338
RA = 358.931, Dec = -33.8607
tmin = 586137601, tmax = 586396801
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='196265', job_status='RUN', time_executed='2021-09-30 09:17:36.502211', time_epoch_executed='1633018656.5' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196265

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196265/ft1_4FGL_J2355.7-3351_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196265/ft1_4FGL_J2355.7-3351_daily_bin1338.fits outfile=/scratch/kocevski/196265/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1338.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=586137601.0 tmax=586396801.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.57
user 4.32
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196265/ft1_filtered_4FGL_J2355.7-3351_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/196265/ltcube_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.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/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits
.....................!
real 10.00
user 9.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196265/ft1_filtered_4FGL_J2355.7-3351_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/196265/ltcube_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.fits outfile=/scratch/kocevski/196265/expmap_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.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/196265/ltcube_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.fits
.....................!
real 191.21
user 185.63
sys 5.25

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/196265/ft1_filtered_4FGL_J2355.7-3351_daily_bin1338.fits scfile=/scratch/kocevski/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits outfile=/scratch/kocevski/196265/cmap_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196265/ft1_filtered_4FGL_J2355.7-3351_daily_bin1338.fits scfile=/scratch/kocevski/196265/ft2_4FGL_J2355.7-3351_daily_bin1338.fits outfile=/scratch/kocevski/196265/cmap_HighResolution_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7134       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.802       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.702       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.7032       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10652E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    210.88       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    154.13       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10820E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.959       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5372       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .24977       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=   3247.432     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2194 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.313        .12304E-04** at limit **
   2  Prefactor     4.7186        6.3191        .94031E-05    .39398E-03
   3  Prefactor     .10000E-03    26.192       -.15972E-04** at limit **
   4  Prefactor     14.804        14.895       -.66963E-07    .26525E-04
   5  Prefactor     .10000E-03    15.995       -.79263E-05** at limit **
   6  Prefactor     .10000E-03    5.6263        .11201E-06** at limit **
   7  Prefactor     .10000E-03    30.351       -.12558E-04** at limit **
   8  Prefactor     11.706        12.867        .36842E-07    .52020E-04
   9  norm          .10000E-03    2.1434       -.44791E-08** at limit **
  10  norm          4.7034        6.1806        .19910E-05   -.52564E-05
  11  Prefactor     .10000E-03    61.656       -.54723E-05** at limit **
  12  Prefactor     210.92        92.123        .23928E-04    .40090E-04
  13  norm          4.6207        4.8797       -.75328E-06    .29888E-04
  14  Prefactor     .10000E-03    16.481        .73177E-05** at limit **
  15  norm          .10000E-03    2.0652        .21030E-07** at limit **
  16  Prefactor     154.16        155.95        .24148E-04    .72080E-05
  17  Prefactor     .10000E-03    42.792        .30042E-04** at limit **
  18  Prefactor     .10000E-03    4.4752        .66287E-06** at limit **
  19  Prefactor     33.867        50.216       -.11678E-03   -.17230E-04
  20  Normalizat    1.5367        .27346        .39837E-05    .99130E-05
  21  Prefactor     .25007        .27745       -.93127E-05   -.18617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.71859
  Prefactor  = 0.0001
  Prefactor  = 14.8042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.706
  norm       = 0.0001
  norm       = 4.70343
  Prefactor  = 0.0001
  Prefactor  = 210.917
  norm       = 4.62071
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 154.163
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 33.8673
  Normalizat = 1.5367
  Prefactor  = 0.250073
 **********
 **   18 **HESSE 
 **********

 FCN=   3247.432     FROM HESSE     STATUS=OK           315 CALLS     2509 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7186        6.3350        .15268E-03   -1.5273    
   3  Prefactor     .10000E-03    26.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.804        14.883        .10410E-03   -1.4938    
   5  Prefactor     .10000E-03    16.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.7564        .13195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    30.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.706        12.881        .11711E-03   -1.5024    
   9  norm          .10000E-03    2.1438        .81457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.7034        6.1715        .15766E-03   -1.5274    
  11  Prefactor     .10000E-03    61.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     210.92        92.716        .13920E-03   -1.2793    
  13  norm          4.6207        4.8811        .12382E-03   -1.5278    
  14  Prefactor     .10000E-03    16.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0734        .79930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     154.16        155.54        .16235E-03   -1.3218    
  17  Prefactor     .10000E-03    42.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5001        .11771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.867        50.300        .34382E-03   -1.4543    
  20  Normalizat    1.5367        .27674        .19024E-03   -.76752    
  21  Prefactor     .25007        .27184        .45425E-03   -1.2532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65774e-10
Minuit parameter uncertainties:
  1  6.97997e-06
  2  6.33585
  3  7.42894e-05
  4  14.8871
  5  8.71179e-06
  6  1.25033e-05
  7  3.43416e-05
  8  12.8843
  9  2.94888e-06
  10  6.17232
  11  4.20408e-05
  12  92.78
  13  4.88154
  14  3.39657e-05
  15  2.09861e-06
  16  155.959
  17  0.000559406
  18  0.000142585
  19  50.3632
  20  0.27701
  21  0.273232
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.426e-04  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:  2.501e-01  2.732e-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.537e+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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196265/likelihoodResults_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.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) = 3247.43260268
delta logL = -0.0010482857715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3247.43155437
delta logL = 2.03044692171e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5883       1.0000          .0000       10.000    
     3 'Normalizat'    1.5367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .25007       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=   3247.432     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      268 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .29587        .27744E-01** at limit **
   2  Index         3.7963        6.4522        .50000        .14277E-06
   3  Normalizat    1.5367        .19007E-02    .19024E-03   -.69447E-04
   4  Prefactor     .25007        .19673E-02    .45426E-03   -.78472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.79627
  Normalizat = 1.5367
  Prefactor  = 0.250073
 **********
 **   18 **HESSE 
 **********

 FCN=   3247.432     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      299 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.191        .17489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7963        6.9324        .50000       -.24314    
   3  Normalizat    1.5367        .17427E-01    .38048E-04   -.76752    
   4  Prefactor     .25007        .18037E-01    .18170E-04   -1.2532    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21491e-10
Minuit parameter uncertainties:
  1  3.9689e-06
  2  362
  3  0.0174273
  4  0.0180375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196265': 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) = 3247.4315517
delta logL = 2.69605970971e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  3.969e-06  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.796e+00  3.620e+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:  2.501e-01  1.804e-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.537e+00  1.743e-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/196265/cmap_HighResolution_586137601_586396801_4FGL_J2355.7-3351_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.12e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-30 09:25:40.690884', job_id='196265', GAL2='0.25', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1633019140.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.25', dlogl='2.70e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1338' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:25:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 196265: <4FGL_J2355.7-3351_daily_bin1338> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1338 358.931 -33.8607 586137601 586396801 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 :                                   477.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            595 sec.

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

