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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1013
RA = 358.931, Dec = -33.8607
tmin = 501897601, tmax = 502156801
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='194815', job_status='RUN', time_executed='2021-09-30 09:13:49.446033', time_epoch_executed='1633018429.45' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194815/ft1_4FGL_J2355.7-3351_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194815/ft1_4FGL_J2355.7-3351_daily_bin1013.fits outfile=/scratch/kocevski/194815/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1013.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=501897601.0 tmax=502156801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.66
user 3.27
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194815/ft1_filtered_4FGL_J2355.7-3351_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/194815/ltcube_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.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/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits
.....................!
real 12.56
user 12.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194815/ft1_filtered_4FGL_J2355.7-3351_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/194815/ltcube_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.fits outfile=/scratch/kocevski/194815/expmap_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.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/194815/ltcube_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.fits
.....................!
real 190.58
user 185.72
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/194815/ft1_filtered_4FGL_J2355.7-3351_daily_bin1013.fits scfile=/scratch/kocevski/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits outfile=/scratch/kocevski/194815/cmap_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194815/ft1_filtered_4FGL_J2355.7-3351_daily_bin1013.fits scfile=/scratch/kocevski/194815/ft2_4FGL_J2355.7-3351_daily_bin1013.fits outfile=/scratch/kocevski/194815/cmap_HighResolution_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9334       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.179       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13758E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1920       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7147       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8562       1.0000         .10000E-03   10000.    
    10 'norm      '    4.2346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0185       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.983       1.0000         .10000E-03   10000.    
    13 'norm      '    .15335E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8983       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10511E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .24188E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4448       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.022       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .55802       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1767       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=   6473.858     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     2982 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9369        94.524        .10170E-02   -.49174E-04
   2  Prefactor     .10000E-03    .58917        .60133E-03** at limit **
   3  Prefactor     .10000E-03    3.2786        .14227E-02** at limit **
   4  Prefactor     .10000E-03    2.7862        .13098E-02** at limit **
   5  Prefactor     10.173        15.566        .12559E-03   -.47615E-04
   6  Prefactor     .10001E-03    7.1942        .23422E-02** at limit **
   7  Prefactor     3.1625        32.785        .22680E-03   -.13379E-03
   8  Prefactor     6.7160        6.9546        .15485E-03   -.53962E-04
   9  norm          4.8616        3.9956        .13777E-03   -.23023E-03
  10  norm          4.2344        4.6648        .17543E-03   -.48928E-04
  11  Prefactor     7.0202        32.391        .15143E-03   -.97225E-04
  12  Prefactor     28.981        38.404        .74419E-04   -.19860E-05
  13  norm          .10629E-03    4.6647        .33992E-01** at limit **
  14  Prefactor     .10000E-03    8.4959        .18142E-02** at limit **
  15  norm          3.9009        3.2577        .11866E-03   -.36916E-03
  16  Prefactor     .10000E-03    29.886        .18142E-02** at limit **
  17  Prefactor     .10000E-03    23.512        .12435    ** at limit **
  18  Prefactor     3.4434        3.9059        .16186E-03   -.69748E-04
  19  Prefactor     13.014        19.812        .11100E-03   -.19152E-04
  20  Normalizat    .55771        .16068        .24097E-03   -.21042E-03
  21  Prefactor     1.1771        .18537        .20651E-03   -.16072E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.93692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.173
  Prefactor  = 0.000100008
  Prefactor  = 3.16248
  Prefactor  = 6.71605
  norm       = 4.86165
  norm       = 4.23441
  Prefactor  = 7.02024
  Prefactor  = 28.9808
  norm       = 0.000106291
  Prefactor  = 0.0001
  norm       = 3.90094
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.44343
  Prefactor  = 13.0142
  Normalizat = 0.557705
  Prefactor  = 1.17713
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.858     FROM HESSE     STATUS=OK           315 CALLS     3297 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9369        94.440        .40681E-04   -1.5311    
   2  Prefactor     .10000E-03    .58918        .12027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2786        .28454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7864        .26196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.173        15.562        .50235E-05   -1.5070    
   6  Prefactor     .10001E-03    7.2089        .46843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1625        32.717        .90719E-05   -1.5352    
   8  Prefactor     6.7160        6.9541        .61940E-05   -1.5190    
   9  norm          4.8616        3.9931        .55108E-05   -1.5267    
  10  norm          4.2344        4.6647        .70172E-05   -1.5296    
  11  Prefactor     7.0202        32.345        .60571E-05   -1.5178    
  12  Prefactor     28.981        38.410        .29768E-05   -1.4631    
  13  norm          .10629E-03    3.7086        .39929E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.4964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.9009        3.2574        .47462E-05   -1.5313    
  16  Prefactor     .10000E-03    29.887        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.146        .12611       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4434        3.9056        .64742E-05   -1.5337    
  19  Prefactor     13.014        19.811        .44401E-05   -1.4986    
  20  Normalizat    .55771        .16078        .96389E-05   -1.0981    
  21  Prefactor     1.1771        .18550        .41301E-04   -.87038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45018e-09
Minuit parameter uncertainties:
  1  38.6325
  2  2.41987e-07
  3  3.41449e-07
  4  6.09288e-07
  5  15.5685
  6  0.000469381
  7  20.3578
  8  6.95496
  9  3.99327
  10  4.66505
  11  30.1645
  12  38.4431
  13  0.00966064
  14  1.16369e-06
  15  3.25755
  16  8.22656e-06
  17  0.000541735
  18  3.9059
  19  19.8214
  20  0.160914
  21  0.185607
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  3.443e+00  3.906e+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.177e+00  1.856e-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:  5.577e-01  1.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 358.931 -33.861
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 2.33e-08
Energy Flux (Fixed Index): 5.49e-06 +/- 6.22e-06

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

Saving results to:
/scratch/kocevski/194815/likelihoodResults_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.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) = 6473.10552191
delta logL = 0.752400360788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6472.84576558
delta logL = 1.01215668746

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7711       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8516       1.0000          .0000       10.000    
     3 'Normalizat'    .57152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1566       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=   6472.846     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7728        5.9484        .38549E-02    .17785E-03
   2  Index         1.8514        .42193        .18435       -.52096E-04
   3  Normalizat    .57157        .13053        .40548E-01    .11859E-04
   4  Prefactor     1.1566        .15877        .35748E-01   -.24704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77285
  Index      = 1.85139
  Normalizat = 0.571568
  Prefactor  = 1.15655
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.846     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7728        5.1244        .15259E-03   -1.5187    
   2  Index         1.8514        .40571        .73060E-02   -.68119    
   3  Normalizat    .57157        .15080        .23805E-03   -1.0921    
   4  Prefactor     1.1566        .18339        .20781E-03   -.87679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17716e-12
Minuit parameter uncertainties:
  1  5.1247
  2  0.406452
  3  0.150905
  4  0.183494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194815': 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) = 6472.84576532
delta logL = 1.01215694971

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  6.773e+00  5.125e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  1.851e+00  4.065e-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.157e+00  1.835e-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:  5.716e-01  1.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.08
Ra Dec: 358.931 -33.861
Photon Index (Free Index): 1.85 +/- 0.41
Photon Flux (Free Index): 2.07e-08 +/- 1.70e-08
Energy Flux (Free Index): 2.13e-05 +/- 2.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/194815/cmap_HighResolution_501897601_502156801_4FGL_J2355.7-3351_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='2.13e-05', photon_flux_error='2.33e-08', dlogl='1.01e+00', energy_flux='5.49e-06', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-30 09:25:25.055087', photon_index_error2='0.41', photon_index2='1.85', ts='1.04', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='7.35e-08', energy_flux_error2='2.41e-05', EG='0.56', time_epoch_completed='1633019125.06', return_code='0', job_id='194815', GAL2='1.16', EG2='0.57', return_code2='0', energy_flux_error='6.22e-06', photon_flux_error2='1.70e-08', ts2='3.08', photon_index='2.58' WHERE bin_id='1013' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:25:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 194815: <4FGL_J2355.7-3351_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1013 358.931 -33.8607 501897601 502156801 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 :                                   691.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            880 sec.

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

