/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 157 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 = 7423
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2355.7-3351_daily_bin374
RA = 358.931, Dec = -33.8607
tmin = 336268801, tmax = 336528001
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='191792', job_status='RUN', time_executed='2021-09-30 09:03:11.093901', time_epoch_executed='1633017791.09' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191792

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191792/ft1_4FGL_J2355.7-3351_daily_bin374.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191792/ft2_4FGL_J2355.7-3351_daily_bin374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191792/ft1_4FGL_J2355.7-3351_daily_bin374.fits outfile=/scratch/kocevski/191792/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin374.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=336268801.0 tmax=336528001.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 7.03
user 6.72
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191792/ft1_filtered_4FGL_J2355.7-3351_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/191792/ft2_4FGL_J2355.7-3351_daily_bin374.fits sctable="SC_DATA" expcube=/scratch/kocevski/191792/ltcube_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.fits outfile=/scratch/kocevski/191792/expmap_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.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/191792/ltcube_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.fits
.....................!
real 190.66
user 185.26
sys 5.09

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/191792/ft1_filtered_4FGL_J2355.7-3351_daily_bin374.fits scfile=/scratch/kocevski/191792/ft2_4FGL_J2355.7-3351_daily_bin374.fits outfile=/scratch/kocevski/191792/cmap_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.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/191792/ft1_filtered_4FGL_J2355.7-3351_daily_bin374.fits scfile=/scratch/kocevski/191792/ft2_4FGL_J2355.7-3351_daily_bin374.fits outfile=/scratch/kocevski/191792/cmap_HighResolution_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.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/191792/ft1_filtered_4FGL_J2355.7-3351_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/191792/ft2_4FGL_J2355.7-3351_daily_bin374.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191792/Model_4FGL_J2355.7-3351_daily_bin374.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/191792/ft1_filtered_4FGL_J2355.7-3351_daily_bin374.fits.....................!
real 37.77
user 36.48
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .34335       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19565       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.153       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9114       1.0000         .10000E-03   10000.    
     9 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    77.391       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .18201E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10117E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    1.6606       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.588       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.051       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8139       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.439       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .76074       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91862       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=   4528.932     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2261 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.558       -.44721E-06** at limit **
   2  Prefactor     .35431        2.3814       -.11827E-05   -.28057E-03
   3  Prefactor     .10000E-03    12.981       -.18671E-05** at limit **
   4  Prefactor     .10000E-03    4.7234       -.93100E-07** at limit **
   5  Prefactor     .10000E-03    12.462        .17599E-05** at limit **
   6  Prefactor     .19735        3.5621        .36550E-05    .46074E-03
   7  Prefactor     14.173        25.248       -.22586E-04   -.16018E-03
   8  Prefactor     7.9103        8.5048        .34157E-06   -.22740E-03
   9  norm          .10000E-03    2.6432        .14702E-07** at limit **
  10  norm          .10000E-03    3.7550       -.77505E-07** at limit **
  11  Prefactor     77.350        42.139       -.31462E-05    .10586E-03
  12  Prefactor     .10000E-03    67.862       -.36994E-07** at limit **
  13  norm          .10000E-03    5.6136        .25406E-06** at limit **
  14  Prefactor     .10031E-03    25.545       -.88082E-06** at limit **
  15  norm          1.6657        4.2102       -.29193E-06   -.51070E-03
  16  Prefactor     23.562        61.720       -.24934E-04    .16461E-03
  17  Prefactor     17.034        37.106        .69334E-07    .15073E-04
  18  Prefactor     3.8155        5.6478       -.23672E-08   -.28769E-03
  19  Prefactor     13.454        34.293       -.41318E-05    .89502E-04
  20  Normalizat    .76050        .16544        .35920E-05   -.29504E-03
  21  Prefactor     .91898        .18259        .68342E-06   -.56216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.354306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.197351
  Prefactor  = 14.1733
  Prefactor  = 7.91027
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 77.3502
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100306
  norm       = 1.66568
  Prefactor  = 23.5615
  Prefactor  = 17.0342
  Prefactor  = 3.81554
  Prefactor  = 13.4544
  Normalizat = 0.760502
  Prefactor  = 0.918983
 **********
 **   18 **HESSE 
 **********

 FCN=   4528.932     FROM HESSE     STATUS=OK           327 CALLS     2588 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .35431        4.3076        .19419E-02   -1.5589    
   3  Prefactor     .10000E-03    13.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.7442        .14284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19735        31.422        .21003E-02   -1.5619    
   7  Prefactor     14.173        29.258        .10647E-03   -1.4955    
   8  Prefactor     7.9103        8.5160        .14255E-03   -1.5145    
   9  norm          .10000E-03    2.6577        .10682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.8092        .12734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     77.350        41.160        .45647E-04   -1.3947    
  12  Prefactor     .10000E-03    68.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.6894        .30782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10031E-03    30.236        .10124       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6657        4.1257        .19556E-03   -1.5450    
  16  Prefactor     23.562        61.001        .82476E-04   -1.4737    
  17  Prefactor     17.034        37.099        .96995E-04   -1.4882    
  18  Prefactor     3.8155        5.6450        .17919E-03   -1.5317    
  19  Prefactor     13.454        33.927        .10926E-03   -1.4974    
  20  Normalizat    .76050        .19747        .21348E-03   -1.0155    
  21  Prefactor     .91898        .21934        .22709E-03   -.95481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86797e-09
Minuit parameter uncertainties:
  1  6.19785e-06
  2  2.47067
  3  8.51679e-05
  4  9.67626e-06
  5  1.93394e-05
  6  4.98179
  7  29.2872
  8  8.51731
  9  2.89265e-06
  10  1.26093e-05
  11  41.1754
  12  0.000271758
  13  7.69546e-05
  14  0.00608661
  15  4.1264
  16  61.1629
  17  37.1496
  18  5.64579
  19  33.9753
  20  0.197654
  21  0.21955
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  3.816e+00  5.646e+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:  9.190e-01  2.195e-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:  7.605e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/191792/likelihoodResults_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.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) = 4528.83437329
delta logL = 0.0972824647506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4528.83048005
delta logL = 0.101175705268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7058       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1126       1.0000          .0000       10.000    
     3 'Normalizat'    .74772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92940       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=   4528.830     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      255 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7053        5.7686        .13039E-03   -.20333E-03
   2  Index         3.1124        1.4611        .88897E-02   -.21429E-04
   3  Normalizat    .74774        .19184        .21513E-03   -.39377E-03
   4  Prefactor     .92939        .21970        .22595E-03   -.31979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.70529
  Index      = 3.11244
  Normalizat = 0.74774
  Prefactor  = 0.929389
 **********
 **   18 **HESSE 
 **********

 FCN=   4528.830     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7053        5.0495        .52156E-05   -1.5379    
   2  Index         3.1124        1.2827        .35559E-03   -.38711    
   3  Normalizat    .74774        .19206        .43027E-04   -1.0204    
   4  Prefactor     .92939        .21980        .45191E-04   -.95122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77243e-10
Minuit parameter uncertainties:
  1  5.05031
  2  1.29971
  3  0.192236
  4  0.220013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191792': 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) = 4528.83048
delta logL = 0.101175754048

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.705e+00  5.050e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.112e+00  1.300e+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:  9.294e-01  2.200e-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:  7.477e-01  1.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/191792/cmap_HighResolution_336268801_336528001_4FGL_J2355.7-3351_daily_bin374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', job_status='DONE', photon_flux_upper_limit='9.70e-08', time_completed='2021-09-30 09:12:28.852764', job_id='191792', GAL2='0.93', fit_tolerance='1e-08', EG2='0.75', EG='0.76', time_epoch_completed='1633018348.85', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.01e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='374' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:12:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 191792: <4FGL_J2355.7-3351_daily_bin374> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin374> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep 30 09:00:21 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:00:22 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:00:22 2021
Terminated at Thu Sep 30 09:12:29 2021
Results reported at Thu Sep 30 09:12:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin374 358.931 -33.8607 336268801 336528001 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 :                                   554.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            728 sec.

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

