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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1732
RA = 358.322, Dec = 31.5927
tmin = 688262401, tmax = 688521601
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='647776', job_status='RUN', time_executed='2022-10-27 00:37:30.441298', time_epoch_executed='1666856250.44' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647776

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647776/ft1_4FGL_J2353.2+3135_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647776/ft1_4FGL_J2353.2+3135_daily_bin1732.fits outfile=/scratch/kocevski/647776/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1732.fits ra=358.322 dec=31.5927 rad=12.0 tmin=688262401.0 tmax=688521601.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 2.80
user 2.51
sys 0.19

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

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

Number of photons that the gtmktime cut: 860

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647776/ltcube_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.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/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits
.....................!
real 10.17
user 9.82
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647776/ltcube_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.fits outfile=/scratch/kocevski/647776/expmap_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.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/647776/ltcube_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.fits
.....................!
real 145.01
user 140.46
sys 4.16

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/647776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1732.fits scfile=/scratch/kocevski/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits outfile=/scratch/kocevski/647776/cmap_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1732.fits scfile=/scratch/kocevski/647776/ft2_4FGL_J2353.2+3135_daily_bin1732.fits outfile=/scratch/kocevski/647776/cmap_HighResolution_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.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.46
user 0.31
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28598E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .48753E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12079E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    79.497       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2129       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.091       1.0000          .0000       .10000E+07
     7 'norm      '    11.807       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.1516       1.0000          .0000       .10000E+07
     9 'norm      '    3.3517       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.699       1.0000          .0000       .10000E+07
    11 'Prefactor '    .42797E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    43.910       1.0000          .0000       .10000E+07
    13 'norm      '    6.8984       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24603E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .58827       1.0000          .0000       .10000E+07
    16 'Prefactor '    .50009E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .83105E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .79804E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2271       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96262       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=   9139.969     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1531 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25509E-01    74.065        .14376E-08** at limit **
   2  norm          .10500E-05    10.327        .17395E-08** at limit **
   3  Prefactor     .55511E-10    1.7615        .13144E-09** at limit **
   4  Prefactor     79.593        5.1162       -.97335E-09   -.54119E-02
   5  Prefactor     4.2069        6.9517       -.19177E-10   -.36956E-02
   6  Prefactor     18.108        1.2807        .30995E-09    .37833E-03
   7  norm          11.808        3.4633        .43941E-10    .87198E-03
   8  Prefactor     8.2177        4.2082       -.26807E-08    .11999E-01
   9  norm          3.3542        1.4459        .14761E-11   -.41053E-02
  10  Prefactor     20.753        9.7189       -.40246E-08    .50560E-01
  11  Prefactor     .58142E-06    12.171       -.17627E-08** at limit **
  12  Prefactor     44.483        32.752        .94091E-08   -.26601    
  13  norm          6.7795        4.5402       -.17729E-09    .49946E-03
  14  Prefactor      .0000        4.8294        .16109E-09** at limit **
  15  norm          .58941        1.5250        .51327E-10   -.39583E-03
  16  Prefactor     .13578E-06    8.4798       -.65602E-09** at limit **
  17  Prefactor     .13146E-05    41.583        .32266E-08** at limit **
  18  Prefactor      .0000        2.4642       -.31493E-10** at limit **
  19  Normalizat    1.2269        .23740        .21398E-09    .21775E-03
  20  Prefactor     .96267        .12870       -.54923E-08    .28572E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0255094
  norm       = 1.05005e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 79.5933
  Prefactor  = 4.20687
  Prefactor  = 18.1084
  norm       = 11.8081
  Prefactor  = 8.21771
  norm       = 3.35425
  Prefactor  = 20.7531
  Prefactor  = 5.81424e-07
  Prefactor  = 44.4826
  norm       = 6.77954
  Prefactor  = 0
  norm       = 0.589411
  Prefactor  = 1.3578e-07
  Prefactor  = 1.31462e-06
  Prefactor  = 0
  Normalizat = 1.2269
  Prefactor  = 0.962668
 **********
 **   18 **HESSE 
 **********

 FCN=   9139.969     FROM HESSE     STATUS=OK           341 CALLS     1872 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25509E-01    1.2779        .81289E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10500E-05    10.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    1.7612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     79.593        22.515        .11216E-03   -1.5530    
   5  Prefactor     4.2069        6.9906        .49072E-03   -1.5667    
   6  Prefactor     18.108        17.750        .23520E-03   -1.5623    
   7  norm          11.808        3.4625        .29129E-03   -1.5639    
   8  Prefactor     8.2177        23.682        .35091E-03   -1.5651    
   9  norm          3.3542        1.4520        .55255E-03   -1.5671    
  10  Prefactor     20.753        21.998        .21987E-03   -1.5617    
  11  Prefactor     .58142E-06    12.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     44.483        35.625        .15092E-03   -1.5575    
  13  norm          6.7795        4.5391        .38175E-03   -1.5656    
  14  Prefactor      .0000        4.8382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .58941        1.5382        .70286E-03   -1.5693    
  16  Prefactor     .13578E-06    8.4881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13146E-05    41.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.4696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2269        .20034        .72845E-01   -.85775    
  20  Prefactor     .96267        .10797        .45798E-01   -.93984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44812e-06
Minuit parameter uncertainties:
  1  0.361096
  2  0.00660213
  3  2.28955e-05
  4  22.5151
  5  6.99063
  6  17.7505
  7  3.46254
  8  23.682
  9  1.45204
  10  21.9983
  11  0.00532137
  12  35.6249
  13  4.53907
  14  1.97314e-05
  15  1.53823
  16  0.0021471
  17  0.0147988
  18  1.14164e-05
  19  0.20047
  20  0.107993
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.358e-07  2.147e-03  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:  9.627e-01  1.080e-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.227e+00  2.005e-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: 5.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647776/likelihoodResults_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.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): 102
logL (Free Index) = 9139.96930188
delta logL = -0.000166828800502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9139.96913522
delta logL = -1.69782651938e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49816E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1767       1.0000          .0000       10.000    
     3 'Normalizat'    1.2269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96272       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9139.969     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      247 TOTAL
                     EDM=   .78E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.3289        .42118E-03** at limit **
   2  Index         2.8155        1.5510        .31387E-05     .0000    
   3  Normalizat    1.2269        1.0977        .41754E-05    .93252E-05
   4  Prefactor     .96267        1.3042       -.30412E-05    .16817E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.81546
  Normalizat = 1.2269
  Prefactor  = 0.962668
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9139.969     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .78E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.3289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89786        2.0516        .31387E-05   -.45216    
   3  Normalizat    1.2269        1.0977        .41754E-05   -.85775    
   4  Prefactor     .96267        1.3042       -.30412E-05   -.93984    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.78556e-14
Minuit parameter uncertainties:
  1  8.07125e-07
  2  1.58348
  3  1.11951
  4  1.35088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647776': 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): 101
logL (Free Index) = 9139.96913504
delta logL = 8.02538124844e-09

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  0.000e+00  8.071e-07  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.815e+00  1.583e+00  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.627e-01  1.351e+00  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.227e+00  1.120e+00  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/647776/cmap_HighResolution_688262401_688521601_4FGL_J2353.2+3135_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2022-10-27 00:45:39.410564', job_id='647776', GAL2='0.96', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1666856739.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.03e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1732' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:45:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 647776: <4FGL_J2353.2+3135_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:54 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:55 2022
Terminated at Thu Oct 27 00:45:40 2022
Results reported at Thu Oct 27 00:45:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1732 358.322 31.5927 688262401 688521601 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 :                                   489.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            586 sec.

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

