aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 19 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1747
RA = 358.322, Dec = 31.5927
tmin = 692150401, tmax = 692409601
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='817419', job_status='RUN', time_executed='2022-12-11 01:55:46.206127', time_epoch_executed='1670752546.21' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817419

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817419/ft1_4FGL_J2353.2+3135_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817419/ft1_4FGL_J2353.2+3135_daily_bin1747.fits outfile=/scratch/kocevski/817419/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1747.fits ra=358.322 dec=31.5927 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.76
sys 0.21

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

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

Number of photons that the gtmktime cut: 872

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/817419/ltcube_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits outfile=/scratch/kocevski/817419/expmap_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.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/817419/ltcube_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits
.....................!
real 191.24
user 185.48
sys 5.34

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/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits scfile=/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits outfile=/scratch/kocevski/817419/cmap_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits scfile=/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits outfile=/scratch/kocevski/817419/cmap_HighResolution_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817419/Model_4FGL_J2353.2+3135_daily_bin1747.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/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits.....................!
real 95.93
user 94.48
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits', '/scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits', expMap='/scratch/kocevski/817419/expmap_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits', expCube='/scratch/kocevski/817419/ltcube_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/817419/Model_4FGL_J2353.2+3135_daily_bin1747.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  0.000e+00  1.000e+06 ( 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/817419/ft1_filtered_4FGL_J2353.2+3135_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/817419/ft2_4FGL_J2353.2+3135_daily_bin1747.fits
Exposure map: /scratch/kocevski/817419/expmap_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits
Exposure cube: /scratch/kocevski/817419/ltcube_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/817419/Model_4FGL_J2353.2+3135_daily_bin1747.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) = 9083.26882484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9097       1.0000          .0000       .10000E+07
     2 'norm      '    4.6101       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4238       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.328       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12274E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13210E-05   1.0000          .0000       .10000E+07
     7 'norm      '    8.2742       1.0000          .0000       .10000E+07
     8 'Prefactor '    .39211E-03   1.0000          .0000       .10000E+07
     9 'norm      '    1.3042       1.0000          .0000       .10000E+07
    10 'Prefactor '    22.118       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.0148       1.0000          .0000       .10000E+07
    12 'Prefactor '    127.17       1.0000          .0000       .10000E+07
    13 'norm      '    .37750E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.469       1.0000          .0000       .10000E+07
    15 'norm      '    .33118E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.552       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43418E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .75445E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .91864       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0621       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9081.078     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      958 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9028        2.5059       -.62551E-07   -.15023E-02
   2  norm          4.5826        11.223        .15783E-06    .11855E-01
   3  Prefactor     3.4225        4.2719        .10359E-06    .44338E-03
   4  Prefactor     36.554        12.124        .12517E-05   -.34823E-01
   5  Prefactor      .0000        3.1856        .29076E-06** at limit **
   6  Prefactor     .27756E-09    5.7787       -.67336E-06** at limit **
   7  norm          8.2738        2.9550        .44306E-07    .20920E-02
   8  Prefactor     .38858E-09    37.742       -.96415E-06** at limit **
   9  norm          1.3021        1.0811       -.57553E-07    .36626E-02
  10  Prefactor     21.421        6.3090        .41487E-06    .47349E-02
  11  Prefactor     8.0084        7.9596        .18015E-05    .30322E-01
  12  Prefactor     127.29        4.3869        .15301E-06   -.59601E-01
  13  norm          .30531E-08    28.939        .43435E-05** at limit **
  14  Prefactor     32.961        18.405        .61919E-07    .15724E-02
  15  norm           .0000        .96608       -.31528E-06** at limit **
  16  Prefactor     16.329        2.6272       -.74522E-07    .55811E-02
  17  Prefactor     .27756E-09    10.554        .11946E-05** at limit **
  18  Prefactor      .0000        1.7748       -.15778E-06** at limit **
  19  Normalizat    .91829        .21104       -.42047E-05   -.20365E-04
  20  Prefactor     1.0623        .11853       -.21512E-05   -.13685E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.90275
  norm       = 4.58262
  Prefactor  = 3.4225
  Prefactor  = 36.5536
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  norm       = 8.27379
  Prefactor  = 3.88578e-10
  norm       = 1.30205
  Prefactor  = 21.4214
  Prefactor  = 8.00841
  Prefactor  = 127.294
  norm       = 3.05311e-09
  Prefactor  = 32.9612
  norm       = 0
  Prefactor  = 16.3289
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 0.918288
  Prefactor  = 1.06227
 **********
 **   18 **HESSE 
 **********

 FCN=   9081.078     FROM HESSE     STATUS=OK           343 CALLS     1301 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9028        2.5206        .51000E-03   -1.5668    
   2  norm          4.5826        12.327        .46854E-03   -1.5665    
   3  Prefactor     3.4225        4.3031        .54643E-03   -1.5671    
   4  Prefactor     36.554        14.291        .16593E-03   -1.5587    
   5  Prefactor      .0000        3.1800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    5.7891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.2738        2.9609        .34829E-03   -1.5650    
   8  Prefactor     .38858E-09    37.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3021        1.0973        .96644E-03   -1.5685    
  10  Prefactor     21.421        25.742        .21269E-03   -1.5615    
  11  Prefactor     8.0084        11.632        .35392E-03   -1.5651    
  12  Prefactor     127.29        47.412        .88681E-04   -1.5482    
  13  norm          .30531E-08    5.2567        .58035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.961        22.899        .17552E-03   -1.5593    
  15  norm           .0000        .96310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.329        19.974        .24591E-03   -1.5627    
  17  Prefactor     .27756E-09    10.582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.7720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .91829        .18784        .77832E-01   -.95820    
  20  Prefactor     1.0623        .10468        .39246E-01   -.90682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.76451e-08
Minuit parameter uncertainties:
  1  2.5206
  2  12.3272
  3  4.30315
  4  14.2914
  5  1.10796e-05
  6  8.22466e-05
  7  2.96095
  8  0.000233998
  9  1.09727
  10  25.7423
  11  11.6317
  12  47.4124
  13  0.000254114
  14  22.8989
  15  1.23395e-06
  16  19.9739
  17  0.000105731
  18  3.32339e-06
  19  0.187969
  20  0.104701
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.633e+01  1.997e+01  0.000e+00  1.000e+06 ( 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.062e+00  1.047e-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:  9.183e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 358.322 31.593
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 1.98e-08 +/- 2.42e-08
Energy Flux (Fixed Index): 5.05e-06 +/- 6.17e-06

TS (Fixed Index): 1.19
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817419/likelihoodResults_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.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) = 9080.31243065
delta logL = 0.765233159455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9080.30716069
delta logL = 0.770503119489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.626       1.0000          .0000       .10000E+07
     2 'Index     '    1.5294       1.0000          .0000       10.000    
     3 'Normalizat'    .93798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0554       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.

 FCN=   9080.307     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.626        19.539        .23829E-03   -.15683E-01
   2  Index         1.5294        .45945        .29482       -.76916E-04
   3  Normalizat    .93819        .18040        .77063E-01    .27835E-04
   4  Prefactor     1.0554        .10275        .39601E-01   -.15916E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.6255
  Index      = 1.52938
  Normalizat = 0.938194
  Prefactor  = 1.0554
 **********
 **   18 **HESSE 
 **********

 FCN=   9080.307     FROM HESSE     STATUS=OK            27 CALLS      225 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.626        23.211        .95316E-05   -1.5624    
   2  Index         1.5294        .69852        .11859E-01   -.76720    
   3  Normalizat    .93819        .20594        .34106E-03   -.95131    
   4  Prefactor     1.0554        .11756        .18343E-03   -.90905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67749e-08
Minuit parameter uncertainties:
  1  23.2114
  2  0.702985
  3  0.206118
  4  0.117587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817419': 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) = 9080.30715974
delta logL = 0.770504067341

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.763e+01  2.321e+01  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  1.529e+00  7.030e-01  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.055e+00  1.176e-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:  9.382e-01  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.73
Ra Dec: 358.322 31.593
Photon Index (Free Index): 1.53 +/- 0.70
Photon Flux (Free Index): 7.01e-09 +/- 1.01e-08
Energy Flux (Free Index): 2.01e-05 +/- 3.63e-05

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/817419/cmap_HighResolution_692150401_692409601_4FGL_J2353.2+3135_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', comment='SUCCESS', photon_flux='1.98e-08', energy_flux2='2.01e-05', photon_flux_error='2.42e-08', dlogl='7.71e-01', energy_flux='5.05e-06', photon_flux2='7.01e-09', job_status='DONE', time_completed='2022-12-11 02:05:48.719168', photon_index_error2='0.70', photon_index2='1.53', ts='1.19', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.44e-08', energy_flux_error2='3.63e-05', EG='0.92', time_epoch_completed='1670753148.72', return_code='0', job_id='817419', GAL2='1.06', EG2='0.94', return_code2='0', energy_flux_error='6.17e-06', photon_flux_error2='1.01e-08', ts2='2.73', photon_index='2.63' WHERE bin_id='1747' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:05:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 817419: <4FGL_J2353.2+3135_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:55:15 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:55:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:55:16 2022
Terminated at Sun Dec 11 02:05:49 2022
Results reported at Sun Dec 11 02:05:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1747 358.322 31.5927 692150401 692409601 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 :                                   604.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             389.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            634 sec.

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

