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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1321
RA = 358.931, Dec = -33.8607
tmin = 581731201, tmax = 581990401
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='196236', job_status='RUN', time_executed='2021-09-30 09:18:35.117002', time_epoch_executed='1633018715.12' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196236

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196236/ft1_4FGL_J2355.7-3351_daily_bin1321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196236/ft1_4FGL_J2355.7-3351_daily_bin1321.fits outfile=/scratch/kocevski/196236/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1321.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=581731201.0 tmax=581990401.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.55
user 2.35
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits" evtable="EVENTS" scfile=/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits sctable="SC_DATA" outfile=/scratch/kocevski/196236/ltcube_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.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/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits
.....................!
real 12.34
user 12.01
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits sctable="SC_DATA" expcube=/scratch/kocevski/196236/ltcube_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.fits outfile=/scratch/kocevski/196236/expmap_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.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/196236/ltcube_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.fits
.....................!
real 192.17
user 187.56
sys 4.24

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/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits scfile=/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits outfile=/scratch/kocevski/196236/cmap_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits scfile=/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits outfile=/scratch/kocevski/196236/cmap_HighResolution_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/196236/ft2_4FGL_J2355.7-3351_daily_bin1321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196236/Model_4FGL_J2355.7-3351_daily_bin1321.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/196236/ft1_filtered_4FGL_J2355.7-3351_daily_bin1321.fits.....................!
real 41.83
user 40.54
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1696       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16946E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .52055E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10452E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12361E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23068E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.153       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9630       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    98.734       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97567       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=   5206.961     FROM MIGRAD    STATUS=CONVERGED    820 CALLS     2640 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.298        .18142E-02** at limit **
   2  Prefactor     .10000E-03    2.8261        .11735E-02** at limit **
   3  Prefactor     3.2055        54.054        .22764E-03   -.11936E-04
   4  Prefactor     .10000E-03    7.3183        .18142E-02** at limit **
   5  Prefactor     .10000E-03    19.161        .18142E-02** at limit **
   6  Prefactor     .10000E-03    12.332        .28329E-02** at limit **
   7  Prefactor     14.297        26.412        .10566E-03   -.78329E-04
   8  Prefactor     .15828        78.582        .35991E-02   -.12990E-03
   9  norm          .10000E-03    8.4893        .26724E-02** at limit **
  10  norm          .10000E-03    25.251        .34011E-02** at limit **
  11  Prefactor     .10001E-03    58.143        .11381    ** at limit **
  12  Prefactor     28.195        47.444        .75506E-04    .46676E-05
  13  norm          1.9616        5.3430        .22263E-03    .11336E-04
  14  Prefactor     .10000E-03    16.047        .18142E-02** at limit **
  15  norm          .10000E-03    8.5139        .22618E-02** at limit **
  16  Prefactor     98.776        96.525        .20228E-03    .28551E-04
  17  Prefactor     .10000E-03    20.053        .18142E-02** at limit **
  18  Prefactor     .10000E-03    16.565        .27454E-02** at limit **
  19  Prefactor     .10000E-03    16.146        .18142E-02** at limit **
  20  Normalizat    1.1924        .22474        .21757E-03   -.32328E-03
  21  Prefactor     .97573        .24600        .26953E-03   -.45643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.20547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 14.2972
  Prefactor  = 0.158282
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 28.1953
  norm       = 1.96162
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 98.776
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.19236
  Prefactor  = 0.975729
 **********
 **   18 **HESSE 
 **********

 FCN=   5206.961     FROM HESSE     STATUS=OK           307 CALLS     2947 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.300        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8267        .23471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2055        53.992        .91056E-05   -1.5350    
   4  Prefactor     .10000E-03    7.3196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.425        .56658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.297        26.371        .42265E-05   -1.4952    
   8  Prefactor     .15828        80.888        .14396E-03   -1.5628    
   9  norm          .10000E-03    8.5341        .53448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    25.578        .68023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    54.750        .11774       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.195        47.429        .30202E-05   -1.4645    
  13  norm          1.9616        5.3214        .89054E-05   -1.5428    
  14  Prefactor     .10000E-03    16.048        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.5423        .45236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     98.776        96.500        .80913E-05   -1.3717    
  17  Prefactor     .10000E-03    20.054        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.880        .54908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1924        .22446        .43514E-04   -.86839    
  21  Prefactor     .97573        .24621        .53905E-04   -.93543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19951e-09
Minuit parameter uncertainties:
  1  1.72154e-06
  2  4.0238e-05
  3  26.3387
  4  1.26221e-05
  5  2.97001e-05
  6  0.000333142
  7  26.3922
  8  7.16377
  9  0.000332932
  10  0.000127912
  11  0.00169545
  12  47.4929
  13  5.32266
  14  3.38234e-05
  15  0.000131224
  16  96.6536
  17  7.01303e-05
  18  0.000481245
  19  2.65491e-05
  20  0.224646
  21  0.246497
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  4.812e-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:  9.757e-01  2.465e-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.192e+00  2.246e-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: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196236/likelihoodResults_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.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) = 5206.9607924
delta logL = -0.000284903219836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5206.90625471
delta logL = 0.0542527860043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95209       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7227       1.0000          .0000       10.000    
     3 'Normalizat'    1.1947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97009       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5206.906     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      302 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95372        3.3399        .23900E-02    .32401E-02
   2  Index         1.7221        1.3386        .17117E-01   -.13943E-03
   3  Normalizat    1.1950        .21499        .21736E-03   -.54500E-04
   4  Prefactor     .96971        .24495        .27024E-03    .28985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.953724
  Index      = 1.72205
  Normalizat = 1.19498
  Prefactor  = 0.969711
 **********
 **   18 **HESSE 
 **********

 FCN=   5206.906     FROM HESSE     STATUS=OK            27 CALLS      329 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95372        3.3552        .47799E-03   -1.5513    
   2  Index         1.7221        1.3475        .34234E-02   -.71496    
   3  Normalizat    1.1950        .21524        .86944E-05   -.86758    
   4  Prefactor     .96971        .24525        .10810E-04   -.93746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97672e-11
Minuit parameter uncertainties:
  1  3.35588
  2  1.37786
  3  0.215404
  4  0.245536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196236': 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) = 5206.90625323
delta logL = 0.0542542722033

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  9.537e-01  3.356e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  1.722e+00  1.378e+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.697e-01  2.455e-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.195e+00  2.154e-01  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/196236/cmap_HighResolution_581731201_581990401_4FGL_J2355.7-3351_daily_bin1321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.58e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-30 09:28:50.911753', job_id='196236', GAL2='0.97', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1633019330.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.43e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1321' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:28:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 196236: <4FGL_J2355.7-3351_daily_bin1321> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1321 358.931 -33.8607 581731201 581990401 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 :                                   591.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             267.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

