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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1766
RA = 358.322, Dec = 31.5927
tmin = 697075201, tmax = 697334401
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='863361', job_status='RUN', time_executed='2023-02-06 01:42:12.015791', time_epoch_executed='1675676532.02' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/863361

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/863361/ft1_4FGL_J2353.2+3135_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/863361/ft1_4FGL_J2353.2+3135_daily_bin1766.fits outfile=/scratch/kocevski/863361/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1766.fits ra=358.322 dec=31.5927 rad=12.0 tmin=697075201.0 tmax=697334401.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.74
user 3.49
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.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/863361/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 843

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/863361/ltcube_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.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/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits
.....................!
real 13.98
user 13.54
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/863361/ltcube_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits outfile=/scratch/kocevski/863361/expmap_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.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/863361/ltcube_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits
.....................!
real 193.32
user 187.06
sys 5.42

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/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits scfile=/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits outfile=/scratch/kocevski/863361/cmap_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits scfile=/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits outfile=/scratch/kocevski/863361/cmap_HighResolution_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits', '/scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits', expMap='/scratch/kocevski/863361/expmap_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits', expCube='/scratch/kocevski/863361/ltcube_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/863361/Model_4FGL_J2353.2+3135_daily_bin1766.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/863361/ft1_filtered_4FGL_J2353.2+3135_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/863361/ft2_4FGL_J2353.2+3135_daily_bin1766.fits
Exposure map: /scratch/kocevski/863361/expmap_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits
Exposure cube: /scratch/kocevski/863361/ltcube_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/863361/Model_4FGL_J2353.2+3135_daily_bin1766.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) = 8947.02493812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38335E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .20533E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.6209       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24758E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10464E-04   1.0000          .0000       .10000E+07
     7 'norm      '    5.7934       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96415E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .38365       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1068       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12132E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .35737E-04   1.0000          .0000       .10000E+07
    13 'norm      '    8.6909       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39082E-03   1.0000          .0000       .10000E+07
    15 'norm      '    4.1165       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.754       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16327E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.0924       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3093       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86234       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=   8946.835     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1239 TOTAL
                     EDM=   .86E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14261E-06    6.9476       -.67082E-07** at limit **
   2  norm          .72164E-09    21.890       -.91581E-07** at limit **
   3  Prefactor     7.6348        5.9110        .12594E-08   -.57455E-04
   4  Prefactor     16.510        11.688        .55981E-07   -.93926E-03
   5  Prefactor     .16653E-09    3.5603        .25792E-07** at limit **
   6  Prefactor      .0000        11.344       -.21126E-06** at limit **
   7  norm          5.7938        2.4360       -.21719E-07    .42464E-03
   8  Prefactor     .23870E-07    6.1858       -.14094E-07** at limit **
   9  norm          .38367        .77194       -.39238E-07    .42633E-03
  10  Prefactor     3.0996        8.1174        .53161E-07    .82730E-05
  11  Prefactor     .55511E-09    7.1946       -.16233E-06** at limit **
  12  Prefactor     .33307E-09    5.2844        .14150E-06** at limit **
  13  norm          8.6807        5.1303        .67969E-08   -.34938E-03
  14  Prefactor     .91593E-08    7.7660        .12913E-07** at limit **
  15  norm          4.1150        2.4463        .10588E-08    .27707E-04
  16  Prefactor     15.757        1.0474       -.32510E-09    .18903E-03
  17  Prefactor     .12601E-07    25.392        .15867E-06** at limit **
  18  Prefactor     8.0971        7.6348        .75826E-07   -.15778E-03
  19  Normalizat    1.3095        .20895       -.24766E-06    .14810E-04
  20  Prefactor     .86230        .11671       -.64445E-06    .24629E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.42608e-07
  norm       = 7.21645e-10
  Prefactor  = 7.63478
  Prefactor  = 16.5103
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 5.79382
  Prefactor  = 2.38698e-08
  norm       = 0.383667
  Prefactor  = 3.09956
  Prefactor  = 5.55112e-10
  Prefactor  = 3.33067e-10
  norm       = 8.68066
  Prefactor  = 9.15934e-09
  norm       = 4.11497
  Prefactor  = 15.7569
  Prefactor  = 1.2601e-08
  Prefactor  = 8.09705
  Normalizat = 1.30949
  Prefactor  = 0.862299
 **********
 **   18 **HESSE 
 **********

 FCN=   8946.835     FROM HESSE     STATUS=OK           337 CALLS     1576 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14261E-06    2.1809        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .72164E-09    22.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6348        5.9365        .36303E-03   -1.5653    
   4  Prefactor     16.510        12.000        .24586E-03   -1.5627    
   5  Prefactor     .16653E-09    3.5850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        11.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7938        2.4376        .41703E-03   -1.5660    
   8  Prefactor     .23870E-07    13.514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .38367        .80304        .26564E-02   -1.5696    
  10  Prefactor     3.0996        8.1352        .57504E-03   -1.5673    
  11  Prefactor     .55511E-09    7.3097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    5.3462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.6807        5.1453        .33977E-03   -1.5649    
  14  Prefactor     .91593E-08    14.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.1150        2.4419        .49661E-03   -1.5667    
  16  Prefactor     15.757        16.775        .25208E-03   -1.5629    
  17  Prefactor     .12601E-07    27.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0971        7.6628        .35221E-03   -1.5651    
  19  Normalizat    1.3095        .17967        .65578E-01   -.83284    
  20  Prefactor     .86230        .99085E-01    .44523E-01   -.97471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98317e-08
Minuit parameter uncertainties:
  1  0.00111536
  2  0.000254913
  3  5.93652
  4  11.9996
  5  5.23291e-05
  6  3.56298e-05
  7  2.43757
  8  0.00113601
  9  0.80304
  10  8.13518
  11  0.000130089
  12  8.22354e-05
  13  5.14532
  14  0.000722597
  15  2.44187
  16  16.7751
  17  0.00118731
  18  7.66286
  19  0.17976
  20  0.0991055
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.576e+01  1.678e+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:  8.623e-01  9.911e-02  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:  1.309e+00  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.63
Ra Dec: 358.322 31.593
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 2.03e-08
Energy Flux (Fixed Index): 4.87e-06 +/- 5.18e-06

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

Saving results to:
/scratch/kocevski/863361/likelihoodResults_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.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) = 8945.70666725
delta logL = 1.12819179561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8945.69817786
delta logL = 1.13668118722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.943       1.0000          .0000       .10000E+07
     2 'Index     '    1.4089       1.0000          .0000       10.000    
     3 'Normalizat'    1.3274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85683       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=   8945.698     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.960        14.412        .26798E-03   -.11518E-02
   2  Index         1.4095        .41598        .30940       -.50897E-04
   3  Normalizat    1.3275        .17615        .65184E-01    .49511E-04
   4  Prefactor     .85679        .97377E-01    .44452E-01   -.24117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9596
  Index      = 1.40952
  Normalizat = 1.32746
  Prefactor  = 0.856792
 **********
 **   18 **HESSE 
 **********

 FCN=   8945.698     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.960        17.734        .10719E-04   -1.5633    
   2  Index         1.4095        .64433        .11056E-01   -.80106    
   3  Normalizat    1.3275        .20687        .28834E-03   -.82750    
   4  Prefactor     .85679        .11445        .19252E-03   -.97668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92964e-09
Minuit parameter uncertainties:
  1  17.7337
  2  0.648067
  3  0.207004
  4  0.114478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/863361': 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) = 8945.69817729
delta logL = 1.13668176266

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.396e+01  1.773e+01  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  1.410e+00  6.481e-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:  8.568e-01  1.145e-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:  1.327e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.89
Ra Dec: 358.322 31.593
Photon Index (Free Index): 1.41 +/- 0.65
Photon Flux (Free Index): 5.45e-09 +/- 6.92e-09
Energy Flux (Free Index): 2.33e-05 +/- 4.08e-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/863361/cmap_HighResolution_697075201_697334401_4FGL_J2353.2+3135_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='2.33e-05', photon_flux_error='2.03e-08', dlogl='1.14e+00', energy_flux='4.87e-06', photon_flux2='5.45e-09', job_status='DONE', time_completed='2023-02-06 01:52:36.639197', photon_index_error2='0.65', photon_index2='1.41', ts='2.63', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='8.01e-08', energy_flux_error2='4.08e-05', EG='1.31', time_epoch_completed='1675677156.64', return_code='0', job_id='863361', GAL2='0.86', EG2='1.33', return_code2='0', energy_flux_error='5.18e-06', photon_flux_error2='6.92e-09', ts2='4.89', photon_index='2.63' WHERE bin_id='1766' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:52:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 863361: <4FGL_J2353.2+3135_daily_bin1766> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1766> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb  6 01:40:14 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:41:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:41:02 2023
Terminated at Mon Feb  6 01:52:37 2023
Results reported at Mon Feb  6 01:52:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1766 358.322 31.5927 697075201 697334401 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 :                                   625.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            743 sec.

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

