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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1740
RA = 358.322, Dec = 31.5927
tmin = 690336001, tmax = 690595201
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='837256', job_status='RUN', time_executed='2022-11-20 00:53:07.793716', time_epoch_executed='1668934387.79' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837256

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837256/ft1_4FGL_J2353.2+3135_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837256/ft1_4FGL_J2353.2+3135_daily_bin1740.fits outfile=/scratch/kocevski/837256/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1740.fits ra=358.322 dec=31.5927 rad=12.0 tmin=690336001.0 tmax=690595201.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.00
user 2.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 1038

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837256/ft1_filtered_4FGL_J2353.2+3135_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/837256/ltcube_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.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/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits
.....................!
real 14.31
user 13.87
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837256/ft1_filtered_4FGL_J2353.2+3135_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/837256/ltcube_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.fits outfile=/scratch/kocevski/837256/expmap_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.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/837256/ltcube_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.fits
.....................!
real 190.88
user 185.51
sys 4.31

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/837256/ft1_filtered_4FGL_J2353.2+3135_daily_bin1740.fits scfile=/scratch/kocevski/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits outfile=/scratch/kocevski/837256/cmap_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837256/ft1_filtered_4FGL_J2353.2+3135_daily_bin1740.fits scfile=/scratch/kocevski/837256/ft2_4FGL_J2353.2+3135_daily_bin1740.fits outfile=/scratch/kocevski/837256/cmap_HighResolution_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38636E-07   1.0000          .0000       .10000E+07
     2 'norm      '    2.2377       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.4066       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25338E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .43708E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15205E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .21521E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    19.095       1.0000          .0000       .10000E+07
     9 'norm      '    .22312       1.0000          .0000       .10000E+07
    10 'Prefactor '    87.550       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14198E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    1111.9       1.0000          .0000       .10000E+07
    13 'norm      '    .15890E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19249E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .97115       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22483       1.0000          .0000       .10000E+07
    17 'Prefactor '    .61261E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.7779       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2255       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=   10918.12     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1586 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .93791        .72830E-06** at limit **
   2  norm          2.2437        13.486       -.13007E-05    .44125E-03
   3  Prefactor     1.3338        6.4366       -.12891E-06   -.34804E-03
   4  Prefactor      .0000        5.9549        .40598E-06** at limit **
   5  Prefactor      .0000        2.9851       -.39765E-06** at limit **
   6  Prefactor     .55511E-10    41.441       -.15681E-06** at limit **
   7  norm           .0000        2.2933        .55222E-06** at limit **
   8  Prefactor     19.116        1.3842        .35873E-07    .27657E-02
   9  norm          .22478        1.2827       -.43133E-07** at limit **
  10  Prefactor     88.520        42.835        .12949E-05    .15238E-01
  11  Prefactor      .0000        9.8512       -.33146E-06** at limit **
  12  Prefactor     1112.2        12.471        .13076E-06   -.18706    
  13  norm           .0000        1.8379       -.35224E-06** at limit **
  14  Prefactor     .55511E-10    12.350        .10511E-05** at limit **
  15  norm          .98102        2.2686       -.38959E-06    .43079E-03
  16  Prefactor     .38303E-08    67.426        .14391E-04** at limit **
  17  Prefactor      .0000        26.047       -.48994E-06** at limit **
  18  Prefactor     9.7634        7.8548        .37840E-08   -.33479E-03
  19  Normalizat    1.0292        .27274       -.80884E-06   -.15326E-04
  20  Prefactor     1.2254        .15149        .82102E-06    .19986E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 2.24375
  Prefactor  = 1.33377
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 19.1161
  norm       = 0.224777
  Prefactor  = 88.5195
  Prefactor  = 0
  Prefactor  = 1112.16
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 0.981022
  Prefactor  = 3.83027e-09
  Prefactor  = 0
  Prefactor  = 9.76341
  Normalizat = 1.02919
  Prefactor  = 1.22536
 **********
 **   18 **HESSE 
 **********

 FCN=   10918.12     FROM HESSE     STATUS=OK           335 CALLS     1921 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .93817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2437        13.644        .68684E-03   -1.5678    
   3  Prefactor     1.3338        6.5376        .91367E-03   -1.5685    
   4  Prefactor      .0000        5.9589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.9951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    41.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.2732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.116        24.968        .22893E-03   -1.5621    
   9  norm          .22478        .79137        .29683E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     88.520        48.005        .10688E-03   -1.5520    
  11  Prefactor      .0000        9.8459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1112.2        97.875        .30006E-04   -1.5041    
  13  norm           .0000        1.8367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    12.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98102        2.2710        .42741E-03   -1.5688    
  16  Prefactor     .38303E-08    65.627        .11350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        26.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7634        7.9056        .32022E-03   -1.5645    
  19  Normalizat    1.0292        .23377        .10266       -.92059    
  20  Prefactor     1.2254        .12942        .51846E-01   -.85554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86645e-06
Minuit parameter uncertainties:
  1  3.78468e-06
  2  11.0662
  3  5.90581
  4  7.77142e-06
  5  8.01023e-06
  6  0.000104364
  7  9.28788e-06
  8  24.9684
  9  0.791368
  10  48.0057
  11  3.1294e-05
  12  97.875
  13  3.23522e-06
  14  4.89134e-05
  15  2.27098
  16  0.00100589
  17  4.2393e-05
  18  7.90557
  19  0.234002
  20  0.129449
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  3.830e-09  1.006e-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:  1.225e+00  1.294e-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.029e+00  2.340e-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: 9.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/837256/likelihoodResults_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.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) = 10918.1313226
delta logL = -0.00763872504831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10918.1236892
delta logL = -5.35712206329e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34043E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.4142       1.0000          .0000       10.000    
     3 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2253       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=   10918.12     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      216 TOTAL
                     EDM=   .96E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-08    165.34        .32421E-05** at limit **
   2  Index         2.0526        5.9537        .53950E-04   -.66161E-10
   3  Normalizat    1.0292        .27155        .15136E-04   -.18094E-04
   4  Prefactor     1.2254        .14890       -.84120E-05   -.63601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-09
  Index      = 2.05265
  Normalizat = 1.02919
  Prefactor  = 1.22536
 **********
 **   18 **HESSE 
 **********

 FCN=   10918.12     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      255 TOTAL
                     EDM=   .54E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-08    3.9027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0526        8.1384        .50000       -.63040    
   3  Normalizat    1.0292        .93353E-03    .10266       -.92059    
   4  Prefactor     1.2254        .50997E-03    .51846E-01   -.85555    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.35257e-13
Minuit parameter uncertainties:
  1  0.000185318
  2  7321.8
  3  0.000933526
  4  0.000509965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837256': 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) = 10918.1236838
delta logL = 2.18278728426e-11

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.220e-09  1.853e-04  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.053e+00  7.322e+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:  1.225e+00  5.100e-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.029e+00  9.335e-04  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/837256/cmap_HighResolution_690336001_690595201_4FGL_J2353.2+3135_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-03', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2022-11-20 01:05:27.824601', job_id='837256', GAL2='1.23', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1668935127.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='2.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1740' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 01:05:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 837256: <4FGL_J2353.2+3135_daily_bin1740> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1740> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Nov 20 00:50:14 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:51:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:51:53 2022
Terminated at Sun Nov 20 01:05:28 2022
Results reported at Sun Nov 20 01:05:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1740 358.322 31.5927 690336001 690595201 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 :                                   739.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            914 sec.

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

