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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1040
RA = 358.322, Dec = 31.5927
tmin = 508896001, tmax = 509155201
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='173323', job_status='RUN', time_executed='2021-09-30 07:58:08.335309', time_epoch_executed='1633013888.34' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/173323

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/173323/ft1_4FGL_J2353.2+3135_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/173323/ft1_4FGL_J2353.2+3135_daily_bin1040.fits outfile=/scratch/kocevski/173323/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1040.fits ra=358.322 dec=31.5927 rad=12.0 tmin=508896001.0 tmax=509155201.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.70
user 3.46
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.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/173323/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1040.fits evtable="EVENTS" outfile="/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/173323/ltcube_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.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/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits
.....................!
real 11.86
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/173323/ltcube_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits outfile=/scratch/kocevski/173323/expmap_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.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/173323/ltcube_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits
.....................!
real 193.11
user 187.19
sys 5.54

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2353.2+3135 @ 358.322 31.5927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits outfile=/scratch/kocevski/173323/cmap_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.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.322 yref=31.5927 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits outfile=/scratch/kocevski/173323/cmap_HighResolution_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.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.322 yref=31.5927 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/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/173323/Model_4FGL_J2353.2+3135_daily_bin1040.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/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits.....................!
real 79.48
user 78.10
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits', '/scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits', expMap='/scratch/kocevski/173323/expmap_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits', expCube='/scratch/kocevski/173323/ltcube_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/173323/Model_4FGL_J2353.2+3135_daily_bin1040.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2353.2+3135'

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.403e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/173323/ft1_filtered_4FGL_J2353.2+3135_daily_bin1040.fits
Spacecraft file(s): /scratch/kocevski/173323/ft2_4FGL_J2353.2+3135_daily_bin1040.fits
Exposure map: /scratch/kocevski/173323/expmap_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits
Exposure cube: /scratch/kocevski/173323/ltcube_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/173323/Model_4FGL_J2353.2+3135_daily_bin1040.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) = 7513.33411527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0620       1.0000         .10000E-03   10000.    
     2 'norm      '    .10376E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7429       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13945E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5324       1.0000         .10000E-03   10000.    
     6 'Prefactor '    88.792       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.107       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3482       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.4481       1.0000         .10000E-03   10000.    
    10 'norm      '    .20180       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.467       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6490       1.0000         .10000E-03   10000.    
    14 'norm      '    .19603       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .87545       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.644       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7103       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2926       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .83109       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7513.330     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2430 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0609        4.0579       -.17792E-05    .63717E-04
   2  norm          .10000E-03    11.923        .45646E-05** at limit **
   3  Prefactor     3.7440        4.4806        .17901E-05   -.13528E-04
   4  Prefactor     .10000E-03    34.554       -.63926E-07** at limit **
   5  Prefactor     4.5337        5.4270        .16444E-06   -.31271E-03
   6  Prefactor     88.793        53.909        .96414E-06    .16924E-04
   7  Prefactor     24.107        23.760        .20417E-07    .44017E-05
   8  norm          3.3481        2.7153       -.36748E-06   -.18665E-04
   9  Prefactor     9.4474        13.852       -.37155E-06    .11842E-04
  10  norm          .20263        .75550       -.41933E-06   -.15757E-04
  11  Prefactor     25.463        23.496       -.47433E-05    .26401E-04
  12  Prefactor     .10000E-03    6.4668        .20892E-05** at limit **
  13  Prefactor     3.6455        13.583       -.11284E-06    .14755E-04
  14  norm          .19617        2.0757       -.18174E-06    .14211E-03
  15  Prefactor     .10000E-03    10.840       -.47809E-05** at limit **
  16  norm          .87519        1.9390       -.30708E-06   -.55755E-03
  17  Prefactor     .10000E-03    6.0566       -.17363E-05** at limit **
  18  Prefactor     16.626        37.975       -.35141E-04    .27092E-04
  19  Prefactor     3.7030        101.37       -.26795E-04   -.16612E-04
  20  Prefactor     1.2788        .87151        .70975E-07   -.16873E-02
  21  Normalizat    .83085        .21261        .86247E-05    .12293E-04
  22  Prefactor     1.1056        .11374       -.58604E-06    .51532E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.06093
  norm       = 0.0001
  Prefactor  = 3.74403
  Prefactor  = 0.000100001
  Prefactor  = 4.53367
  Prefactor  = 88.7934
  Prefactor  = 24.1074
  norm       = 3.34809
  Prefactor  = 9.44744
  norm       = 0.202625
  Prefactor  = 25.463
  Prefactor  = 0.0001
  Prefactor  = 3.64546
  norm       = 0.196169
  Prefactor  = 0.0001
  norm       = 0.875189
  Prefactor  = 0.0001
  Prefactor  = 16.6257
  Prefactor  = 3.70302
  Prefactor  = 1.27877
  Normalizat = 0.830847
  Prefactor  = 1.10565
 **********
 **   18 **HESSE 
 **********

 FCN=   7513.330     FROM HESSE     STATUS=OK           356 CALLS     2786 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0609        4.0562        .11028E-03   -1.5106    
   2  norm          .10000E-03    12.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7440        4.4926        .19420E-03   -1.5321    
   4  Prefactor     .10000E-03    35.868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5337        5.4536        .94549E-03   -1.5282    
   6  Prefactor     88.793        54.045        .42640E-04   -1.3821    
   7  Prefactor     24.107        23.759        .81585E-04   -1.4726    
   8  norm          3.3481        2.7157        .12418E-03   -1.5342    
   9  Prefactor     9.4474        13.844        .13038E-03   -1.5093    
  10  norm          .20263        1.1500        .13766E-02   -1.5618    
  11  Prefactor     25.463        23.491        .79379E-04   -1.4698    
  12  Prefactor     .10000E-03    6.5133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6455        13.562        .21147E-03   -1.5326    
  14  norm          .19617        13.188        .23916E-02   -1.5619    
  15  Prefactor     .10000E-03    10.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87519        1.6745        .17311E-02   -1.5521    
  17  Prefactor     .10000E-03    6.0631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.626        37.972        .98172E-04   -1.4892    
  19  Prefactor     3.7030        134.55        .20965E-03   -1.5323    
  20  Prefactor     1.2788        8.6809        .19466E-02   -1.5482    
  21  Normalizat    .83085        .24178        .34808E-03   -.98934    
  22  Prefactor     1.1056        .13131        .17331E-03   -.89286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76265e-08
Minuit parameter uncertainties:
  1  4.0563
  2  1.10243e-05
  3  4.493
  4  0.000349936
  5  5.4542
  6  54.0745
  7  23.7687
  8  2.71575
  9  13.8485
  10  0.965251
  11  23.4996
  12  2.82472e-05
  13  13.5735
  14  3.21679
  15  8.91307e-06
  16  1.67461
  17  9.37949e-06
  18  38.027
  19  44.7505
  20  6.66471
  21  0.242091
  22  0.131344
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.663e+01  3.803e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.106e+00  1.313e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.308e-01  2.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/173323/likelihoodResults_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.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) = 7513.02910768
delta logL = 0.301045258432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7513.00415638
delta logL = 0.325996558645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4763       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1087       1.0000          .0000       10.000    
     3 'Normalizat'    .79282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1200       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   7513.004     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      316 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4630        231.67        .90211E-03   -.50653E-03
   2  Index         4.1108        6.7867        .72411E-02   -.69344E-04
   3  Normalizat    .79300        .17995        .35569E-03   -.11807E-03
   4  Prefactor     1.1200        .10112        .17233E-03   -.16955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.46301
  Index      = 4.11081
  Normalizat = 0.793003
  Prefactor  = 1.12001
 **********
 **   18 **HESSE 
 **********

 FCN=   7513.004     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4630        21.783        .36084E-04   -1.5336    
   2  Index         4.1108        2.6453        .28964E-03   -.17879    
   3  Normalizat    .79300        .23230        .14227E-04   -1.0033    
   4  Prefactor     1.1200        .12913        .68931E-05   -.88830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71261e-10
Minuit parameter uncertainties:
  1  17.3795
  2  2.79287
  3  0.232593
  4  0.129163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/173323': 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) = 7513.00415528
delta logL = 0.325997665453

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  3.463e+00  1.738e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  4.111e+00  2.793e+00  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.120e+00  1.292e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  7.930e-01  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
Ra Dec: 358.322 31.593

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/173323/cmap_HighResolution_508896001_509155201_4FGL_J2353.2+3135_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.29e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-30 08:10:09.233767', job_id='173323', GAL2='1.12', fit_tolerance='1e-08', EG2='0.79', EG='0.83', time_epoch_completed='1633014609.23', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.26e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1040' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:10:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 173323: <4FGL_J2353.2+3135_daily_bin1040> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1040> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:55:16 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:55:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:55:18 2021
Terminated at Thu Sep 30 08:10:09 2021
Results reported at Thu Sep 30 08:10:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1040 358.322 31.5927 508896001 509155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2353.2+3135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   703.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

