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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1719
RA = 358.322, Dec = 31.5927
tmin = 684892801, tmax = 685152001
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='668381', job_status='RUN', time_executed='2022-09-18 01:23:25.837576', time_epoch_executed='1663489405.84' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668381/ft1_4FGL_J2353.2+3135_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668381/ft2_4FGL_J2353.2+3135_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668381/ft1_4FGL_J2353.2+3135_daily_bin1719.fits outfile=/scratch/kocevski/668381/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1719.fits ra=358.322 dec=31.5927 rad=12.0 tmin=684892801.0 tmax=685152001.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.17
user 2.92
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668381/ft2_4FGL_J2353.2+3135_daily_bin1719.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/668381/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668381/ft1_filtered_4FGL_J2353.2+3135_daily_bin1719.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 929

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668381/ft1_filtered_4FGL_J2353.2+3135_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668381/ft2_4FGL_J2353.2+3135_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668381/ltcube_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.fits outfile=/scratch/kocevski/668381/expmap_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.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/668381/ltcube_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.fits
.....................!
real 192.03
user 185.96
sys 4.89

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/668381/ft1_filtered_4FGL_J2353.2+3135_daily_bin1719.fits scfile=/scratch/kocevski/668381/ft2_4FGL_J2353.2+3135_daily_bin1719.fits outfile=/scratch/kocevski/668381/cmap_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668381/ft1_filtered_4FGL_J2353.2+3135_daily_bin1719.fits scfile=/scratch/kocevski/668381/ft2_4FGL_J2353.2+3135_daily_bin1719.fits outfile=/scratch/kocevski/668381/cmap_HighResolution_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.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.57
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26212       1.0000          .0000       .10000E+07
     2 'norm      '    .17386       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.8221       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2593       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12307E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.085       1.0000          .0000       .10000E+07
     7 'norm      '    .28106       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.0956       1.0000          .0000       .10000E+07
     9 'norm      '    2.8407       1.0000          .0000       .10000E+07
    10 'Prefactor '    .86299       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.849       1.0000          .0000       .10000E+07
    12 'Prefactor '    56.944       1.0000          .0000       .10000E+07
    13 'norm      '    5.4679       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26691E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .30355       1.0000          .0000       .10000E+07
    16 'Prefactor '    .94823E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23874E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20899E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3847       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78516       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=   10269.73     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1593 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24903        4.2206        .99167E-06** at limit **
   2  norm          .26535E-03    11.999       -.17164E-05** at limit **
   3  Prefactor     5.8317        4.4915       -.21143E-06    .62096E-03
   4  Prefactor     6.1065        3.6534       -.16458E-05   -.70169E-01
   5  Prefactor      .0000        11.840        .16717E-05** at limit **
   6  Prefactor     15.036        17.914       -.46696E-05   -.25059E-01
   7  norm          .28157        1.2303        .64743E-06    .38966E-02
   8  Prefactor     8.0803        10.640        .23157E-06    .48800E-02
   9  norm          2.8374        1.4772        .21378E-06    .21283E-02
  10  Prefactor     .59409        18.630       -.81332E-05    .90496E-01
  11  Prefactor     14.856        10.409        .16182E-05   -.59070E-02
  12  Prefactor     57.201        35.000        .38193E-05    .14834    
  13  norm          5.4880        4.5414        .38346E-06    .35222E-03
  14  Prefactor     .13127E-04    130.19        .52163E-05** at limit **
  15  norm          .30387        1.1591        .80077E-06   -.96737E-03
  16  Prefactor     .11657E-08    23.412       -.47095E-06** at limit **
  17  Prefactor     .21649E-08    12.551        .72581E-05** at limit **
  18  Prefactor     .22204E-09    2.1597       -.15890E-05** at limit **
  19  Normalizat    1.3855        .20876       -.62061E-05   -.32131E-03
  20  Prefactor     .78511        .10771       -.94497E-06   -.37822E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.249027
  norm       = 0.000265346
  Prefactor  = 5.8317
  Prefactor  = 6.10654
  Prefactor  = 0
  Prefactor  = 15.0356
  norm       = 0.281568
  Prefactor  = 8.08027
  norm       = 2.83739
  Prefactor  = 0.594087
  Prefactor  = 14.8557
  Prefactor  = 57.2008
  norm       = 5.48799
  Prefactor  = 1.31266e-05
  norm       = 0.303872
  Prefactor  = 1.16573e-09
  Prefactor  = 2.16493e-09
  Prefactor  = 2.22045e-10
  Normalizat = 1.38555
  Prefactor  = 0.785114
 **********
 **   18 **HESSE 
 **********

 FCN=   10269.73     FROM HESSE     STATUS=OK           345 CALLS     1938 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24903        1.7428        .44886E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .26535E-03    5.8911        .12261E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.8317        4.6384        .41599E-03   -1.5660    
   4  Prefactor     6.1065        13.803        .40099E-03   -1.5659    
   5  Prefactor      .0000        11.749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.036        18.395        .25761E-03   -1.5630    
   7  norm          .28157        1.2072        .10481E-02   -1.5697    
   8  Prefactor     8.0803        10.644        .35214E-03   -1.5651    
   9  norm          2.8374        1.4889        .60305E-03   -1.5674    
  10  Prefactor     .59409        239.45        .48353E-03   -1.5693    
  11  Prefactor     14.856        10.435        .25966E-03   -1.5631    
  12  Prefactor     57.201        35.474        .13253E-03   -1.5557    
  13  norm          5.4880        4.5719        .42947E-03   -1.5661    
  14  Prefactor     .13127E-04    129.53        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30387        1.1826        .10164E-02   -1.5697    
  16  Prefactor     .11657E-08    23.416        .14070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .21649E-08    12.580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    2.1672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3855        .17939        .66634E-01   -.81048    
  20  Prefactor     .78511        .91458E-01    .43524E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72162e-06
Minuit parameter uncertainties:
  1  1.31759
  2  0.079074
  3  4.63838
  4  13.8031
  5  3.3371e-05
  6  18.3946
  7  1.16603
  8  10.6444
  9  1.48891
  10  23.8552
  11  10.4351
  12  35.4742
  13  4.57186
  14  0.0824714
  15  1.1826
  16  0.000333516
  17  0.000331978
  18  4.1339e-05
  19  0.179471
  20  0.0914757
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.166e-09  3.335e-04  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:  7.851e-01  9.148e-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.386e+00  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/668381/likelihoodResults_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.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) = 10269.7515679
delta logL = -0.0205575108394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10269.7310104
delta logL = -3.32875060849e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .95648       1.0000          .0000       10.000    
     3 'Normalizat'    1.3856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78511       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=   10269.73     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      209 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17375E-07    22.763       -.31664E-05** at limit **
   2  Index         2.7489        6.3416        .86498E-04    .83999E-09
   3  Normalizat    1.3856        .20785        .26741E-04    .22356E-03
   4  Prefactor     .78511        .10668       -.13003E-04    .27931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7375e-08
  Index      = 2.74886
  Normalizat = 1.38555
  Prefactor  = 0.785114
 **********
 **   18 **HESSE 
 **********

 FCN=   10269.73     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      244 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17375E-07    1.8653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7489        5.6465        .45721       -.46702    
   3  Normalizat    1.3856        .13174E-02    .66634E-01   -.81047    
   4  Prefactor     .78511        .67609E-03    .43523E-01   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.91198e-11
Minuit parameter uncertainties:
  1  0.000359908
  2  4910.48
  3  0.00131735
  4  0.000676092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668381': 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): 102
logL (Free Index) = 10269.7310104
delta logL = -3.34694050252e-10

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.737e-08  3.599e-04  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.749e+00  4.910e+03  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:  7.851e-01  6.761e-04  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.386e+00  1.317e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/668381/cmap_HighResolution_684892801_685152001_4FGL_J2353.2+3135_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2022-09-18 01:35:06.584459', job_id='668381', GAL2='0.79', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1663490106.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-3.35e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1719' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:35:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 668381: <4FGL_J2353.2+3135_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:29 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:21:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:21:38 2022
Terminated at Sun Sep 18 01:35:07 2022
Results reported at Sun Sep 18 01:35:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1719 358.322 31.5927 684892801 685152001 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 :                                   702.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            878 sec.

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

