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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1695
RA = 358.322, Dec = 31.5927
tmin = 678672001, tmax = 678931201
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='731376', job_status='RUN', time_executed='2022-07-08 00:36:47.799695', time_epoch_executed='1657265807.8' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731376

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731376/ft1_4FGL_J2353.2+3135_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731376/ft2_4FGL_J2353.2+3135_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731376/ft1_4FGL_J2353.2+3135_daily_bin1695.fits outfile=/scratch/kocevski/731376/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1695.fits ra=358.322 dec=31.5927 rad=12.0 tmin=678672001.0 tmax=678931201.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.65
user 3.40
sys 0.22

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

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

Number of photons that the gtmktime cut: 806

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731376/ft1_filtered_4FGL_J2353.2+3135_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731376/ft2_4FGL_J2353.2+3135_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731376/ltcube_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.fits outfile=/scratch/kocevski/731376/expmap_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.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/731376/ltcube_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.fits
.....................!
real 192.90
user 187.70
sys 4.73

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/731376/ft1_filtered_4FGL_J2353.2+3135_daily_bin1695.fits scfile=/scratch/kocevski/731376/ft2_4FGL_J2353.2+3135_daily_bin1695.fits outfile=/scratch/kocevski/731376/cmap_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731376/ft1_filtered_4FGL_J2353.2+3135_daily_bin1695.fits scfile=/scratch/kocevski/731376/ft2_4FGL_J2353.2+3135_daily_bin1695.fits outfile=/scratch/kocevski/731376/cmap_HighResolution_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.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/731376/ft1_filtered_4FGL_J2353.2+3135_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731376/ft2_4FGL_J2353.2+3135_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731376/Model_4FGL_J2353.2+3135_daily_bin1695.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/731376/ft1_filtered_4FGL_J2353.2+3135_daily_bin1695.fits.....................!
real 88.24
user 86.81
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.7371       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7838       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.176       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.602       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5323       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1681       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.218       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.111       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1245       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10663E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9527       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.216       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2780       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0391       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94080       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=   8595.092     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2353 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7211        .12796E-07** at limit **
   2  norm          8.7386        14.653        .61276E-06    .73539E-04
   3  Prefactor     .10000E-03    4.9783        .23094E-07** at limit **
   4  Prefactor     7.7827        11.962       -.83459E-07   -.39269E-04
   5  Prefactor     9.6317        6.6098        .90912E-06   -.67696E-03
   6  Prefactor     42.173        40.237       -.12211E-05   -.86307E-04
   7  Prefactor     25.600        23.800       -.10390E-05   -.12363E-03
   8  norm          .10000E-03    .49859       -.74736E-08** at limit **
   9  Prefactor     5.5300        18.366       -.15164E-05   -.87703E-04
  10  norm          2.1680        1.2643        .19347E-07   -.13938E-03
  11  Prefactor     .10000E-03    7.6581       -.14744E-07** at limit **
  12  Prefactor     14.214        12.066       -.55448E-06   -.17884E-03
  13  Prefactor     23.109        24.241       -.95415E-06   -.10715E-03
  14  norm          1.1246        2.5676        .41386E-06   -.23354E-03
  15  Prefactor     .10000E-03    3.6186       -.43149E-07** at limit **
  16  norm          .10000E-03    1.0420        .19156E-08** at limit **
  17  Prefactor     1.9516        25.674       -.21659E-06   -.58071E-04
  18  Prefactor     44.213        32.449       -.10512E-05   -.10406E-03
  19  Prefactor     .10000E-03    16.005        .31490E-07** at limit **
  20  Prefactor     4.2790        6.3996       -.65700E-07   -.11975E-03
  21  Normalizat    1.0391        .17978        .18127E-06   -.27860E-04
  22  Prefactor     .94082        .98893E-01   -.58282E-07   -.42770E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.73856
  Prefactor  = 0.0001
  Prefactor  = 7.78269
  Prefactor  = 9.63169
  Prefactor  = 42.1731
  Prefactor  = 25.6
  norm       = 0.0001
  Prefactor  = 5.53001
  norm       = 2.16797
  Prefactor  = 0.0001
  Prefactor  = 14.2144
  Prefactor  = 23.109
  norm       = 1.12462
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.95158
  Prefactor  = 44.2133
  Prefactor  = 0.0001
  Prefactor  = 4.27904
  Normalizat = 1.03912
  Prefactor  = 0.940823
 **********
 **   18 **HESSE 
 **********

 FCN=   8595.092     FROM HESSE     STATUS=OK           348 CALLS     2701 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7649        .23707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.7386        14.649        .13561E-03   -1.5117    
   3  Prefactor     .10000E-03    5.0636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7827        11.991        .14373E-03   -1.5150    
   5  Prefactor     9.6317        7.3476        .64559E-03   -1.5087    
   6  Prefactor     42.173        40.848        .61727E-04   -1.4408    
   7  Prefactor     25.600        24.179        .79170E-04   -1.4696    
   8  norm          .10000E-03    .50123        .63928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5300        18.695        .17082E-03   -1.5238    
  10  norm          2.1680        1.2582        .76490E-04   -1.5413    
  11  Prefactor     .10000E-03    7.6780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.214        12.178        .10622E-03   -1.4954    
  13  Prefactor     23.109        24.596        .83321E-04   -1.4746    
  14  norm          1.1246        2.5634        .22136E-03   -1.5496    
  15  Prefactor     .10000E-03    3.6278        .17219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.6950        .18260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9516        26.618        .29695E-03   -1.5429    
  18  Prefactor     44.213        32.761        .60292E-04   -1.4377    
  19  Prefactor     .10000E-03    16.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2790        6.4176        .19479E-03   -1.5294    
  21  Normalizat    1.0391        .21177        .30880E-03   -.91731    
  22  Prefactor     .94082        .11568        .18037E-03   -.94729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07833e-10
Minuit parameter uncertainties:
  1  6.45876e-07
  2  14.6551
  3  8.51777e-06
  4  11.9944
  5  7.34825
  6  40.8753
  7  24.1887
  8  3.148e-07
  9  18.7144
  10  1.25818
  11  4.64632e-08
  12  12.1798
  13  24.6064
  14  2.5637
  15  1.5884e-06
  16  1.08121e-05
  17  14.4224
  18  32.7746
  19  2.61093e-07
  20  6.41867
  21  0.211942
  22  0.115711
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  4.421e+01  3.277e+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:  9.408e-01  1.157e-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.039e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.09
Ra Dec: 358.322 31.593
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 5.36e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.01e-05

TS (Fixed Index): 3.09
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731376/likelihoodResults_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.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) = 8594.66640424
delta logL = 0.425613472786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8594.61456834
delta logL = 0.477449372984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.535       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0322       1.0000          .0000       10.000    
     3 'Normalizat'    1.0670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93119       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8594.615     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      253 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.549        46.059        .52438E-04   -.95393E-05
   2  Index         2.0323        .57005        .92020E-02    .51494E-05
   3  Normalizat    1.0670        .20025        .30521E-03    .88653E-04
   4  Prefactor     .93118        .11143        .18117E-03   -.10660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.5488
  Index      = 2.03227
  Normalizat = 1.06699
  Prefactor  = 0.931182
 **********
 **   18 **HESSE 
 **********

 FCN=   8594.615     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.549        46.337        .10488E-04   -1.4176    
   2  Index         2.0323        .57333        .36808E-03   -.63546    
   3  Normalizat    1.0670        .20040        .12208E-04   -.90819    
   4  Prefactor     .93118        .11150        .36234E-04   -.95060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97539e-11
Minuit parameter uncertainties:
  1  46.3659
  2  0.575288
  3  0.200538
  4  0.111526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731376': 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) = 8594.61456828
delta logL = 0.477449429138

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  5.855e+01  4.637e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.032e+00  5.753e-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:  9.312e-01  1.115e-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.067e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.02
Ra Dec: 358.322 31.593
Photon Index (Free Index): 2.03 +/- 0.58
Photon Flux (Free Index): 3.36e-08 +/- 3.63e-08
Energy Flux (Free Index): 2.15e-05 +/- 2.13e-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/731376/cmap_HighResolution_678672001_678931201_4FGL_J2353.2+3135_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='5.36e-08', energy_flux2='2.15e-05', photon_flux_error='3.97e-08', dlogl='4.77e-01', energy_flux='1.37e-05', photon_flux2='3.36e-08', job_status='DONE', time_completed='2022-07-08 00:49:12.452078', photon_index_error2='0.58', photon_index2='2.03', ts='3.09', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='2.13e-05', EG='1.04', time_epoch_completed='1657266552.45', return_code='0', job_id='731376', GAL2='0.93', EG2='1.07', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.63e-08', ts2='4.02', photon_index='2.63' WHERE bin_id='1695' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:49:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 731376: <4FGL_J2353.2+3135_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:32 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:33 2022
Terminated at Fri Jul  8 00:49:13 2022
Results reported at Fri Jul  8 00:49:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1695 358.322 31.5927 678672001 678931201 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 :                                   745.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

