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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1735
RA = 358.322, Dec = 31.5927
tmin = 689040001, tmax = 689299201
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='866782', job_status='RUN', time_executed='2022-11-05 00:35:51.718836', time_epoch_executed='1667633751.72' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866782

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866782/ft1_4FGL_J2353.2+3135_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866782/ft1_4FGL_J2353.2+3135_daily_bin1735.fits outfile=/scratch/kocevski/866782/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1735.fits ra=358.322 dec=31.5927 rad=12.0 tmin=689040001.0 tmax=689299201.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.64
user 3.42
sys 0.20

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

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

Number of photons that the gtmktime cut: 759

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866782/ft1_filtered_4FGL_J2353.2+3135_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866782/ltcube_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.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/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits
.....................!
real 11.99
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866782/ft1_filtered_4FGL_J2353.2+3135_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866782/ltcube_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits outfile=/scratch/kocevski/866782/expmap_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.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/866782/ltcube_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits
.....................!
real 190.27
user 185.13
sys 4.76

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/866782/ft1_filtered_4FGL_J2353.2+3135_daily_bin1735.fits scfile=/scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits outfile=/scratch/kocevski/866782/cmap_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.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.54
user 0.38
sys 0.15

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866782/ft1_filtered_4FGL_J2353.2+3135_daily_bin1735.fits', '/scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits', expMap='/scratch/kocevski/866782/expmap_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits', expCube='/scratch/kocevski/866782/ltcube_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866782/Model_4FGL_J2353.2+3135_daily_bin1735.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/866782/ft1_filtered_4FGL_J2353.2+3135_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866782/ft2_4FGL_J2353.2+3135_daily_bin1735.fits
Exposure map: /scratch/kocevski/866782/expmap_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866782/ltcube_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866782/Model_4FGL_J2353.2+3135_daily_bin1735.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8582.95324912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62730       1.0000          .0000       .10000E+07
     2 'norm      '    26.823       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26433E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    72.388       1.0000          .0000       .10000E+07
     5 'Prefactor '    .64906E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.452       1.0000          .0000       .10000E+07
     7 'norm      '    2.6516       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15100E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .27323       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.697       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10645E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .36322E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .36167E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .48837E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .44088E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.193       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37041E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .43976E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0587       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=   8582.769     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1266 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63651        2.9612        .16238E-07   -.13624E-02
   2  norm          27.079        6.9781       -.36274E-07   -.60810E-01
   3  Prefactor     .43602E-01    13.400        .25446E-06** at limit **
   4  Prefactor     72.198        12.774        .29731E-07    .11391    
   5  Prefactor     .11102E-09    5.8923        .34551E-07** at limit **
   6  Prefactor     12.551        2.5452        .36365E-08    .60007E-02
   7  norm          2.6529        1.9091        .53411E-09   -.77891E-04
   8  Prefactor     .77716E-09    10.340        .48780E-07** at limit **
   9  norm          .26934        1.7934        .27727E-07    .30940E-03
  10  Prefactor     15.163        20.963        .13189E-06    .10403E-01
  11  Prefactor     .10880E-07    12.142       -.10494E-06** at limit **
  12  Prefactor     .15821E-07    14.788        .15270E-07** at limit **
  13  norm          .27756E-09    1.6528        .24622E-07** at limit **
  14  Prefactor     .19601E-06    22.998       -.11791E-06** at limit **
  15  norm          .55050E-01    21.014        .12398E-05** at limit **
  16  Prefactor     11.401        10.277       -.10555E-06    .10681E-04
  17  Prefactor     .35201E-05    49.739        .21667E-06** at limit **
  18  Prefactor      .0000        8.3512        .58138E-07** at limit **
  19  Normalizat    1.0357        .22774       -.10797E-05   -.24941E-05
  20  Prefactor     1.0581        .12342        .67048E-06   -.80799E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.636507
  norm       = 27.0787
  Prefactor  = 0.0436022
  Prefactor  = 72.1976
  Prefactor  = 1.11022e-10
  Prefactor  = 12.5507
  norm       = 2.65288
  Prefactor  = 7.77156e-10
  norm       = 0.269343
  Prefactor  = 15.1635
  Prefactor  = 1.08802e-08
  Prefactor  = 1.58207e-08
  norm       = 2.77556e-10
  Prefactor  = 1.9601e-07
  norm       = 0.0550501
  Prefactor  = 11.4005
  Prefactor  = 3.52007e-06
  Prefactor  = 0
  Normalizat = 1.03567
  Prefactor  = 1.0581
 **********
 **   18 **HESSE 
 **********

 FCN=   8582.769     FROM HESSE     STATUS=OK           343 CALLS     1609 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63651        3.2119        .66817E-03   -1.5692    
   2  norm          27.079        21.521        .19312E-03   -1.5604    
   3  Prefactor     .43602E-01    6.5447        .62250E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     72.198        21.376        .11754E-03   -1.5538    
   5  Prefactor     .11102E-09    5.8721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.551        19.779        .28362E-03   -1.5637    
   7  norm          2.6529        1.9147        .62577E-03   -1.5675    
   8  Prefactor     .77716E-09    10.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .26934        1.0244        .29468E-02   -1.5698    
  10  Prefactor     15.163        26.804        .27039E-03   -1.5630    
  11  Prefactor     .10880E-07    12.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15821E-07    14.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .27756E-09    1.6583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19601E-06    25.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55050E-01    1.5847        .42118E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.401        38.618        .31360E-03   -1.5640    
  17  Prefactor     .35201E-05    55.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        8.3625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0357        .20480        .77913E-01   -.91845    
  20  Prefactor     1.0581        .10679        .39427E-01   -.90817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25285e-06
Minuit parameter uncertainties:
  1  2.85963
  2  21.5211
  3  1.06839
  4  21.3756
  5  5.44737e-05
  6  19.7787
  7  1.91469
  8  0.000181682
  9  1.02441
  10  26.8046
  11  0.000722246
  12  0.000967388
  13  4.3125e-05
  14  0.00450217
  15  0.590726
  16  38.6187
  17  0.0278706
  18  1.53446e-05
  19  0.204954
  20  0.106813
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.058e+00  1.068e-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.036e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866782/likelihoodResults_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.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) = 8581.24800081
delta logL = 1.52125104228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8581.07291011
delta logL = 1.69634174275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43663E-02   1.0000          .0000       .10000E+07
     2 'Index     '    8.2908       1.0000          .0000       10.000    
     3 'Normalizat'    .91816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8582.816     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      465 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26090E-08    3.7599        .42118E-03** at limit **
   2  Index         1.2196        8.9447        .50000       -.13188E-08
   3  Normalizat    1.0523        .36585E-02    .77356E-01    .16705E-03
   4  Prefactor     1.0544        .19759E-02    .37511E-01    .70263E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60902e-09
  Index      = 1.2196
  Normalizat = 1.05227
  Prefactor  = 1.0544
 **********
 **   18 **HESSE 
 **********

 FCN=   8582.816     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      496 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26090E-08    18.673        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2196        7.6234        .50000       -252.18    
   3  Normalizat    1.0523        .81520E-02    .34234E-03   -7.1962    
   4  Prefactor     1.0544        .44107E-02    .18385E-03   -7.1926    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.35562e-10
Minuit parameter uncertainties:
  1  0.000441791
  2  35176.2
  3  0.00815205
  4  0.00441072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866782': 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) = 8582.81565503
delta logL = -0.0464031795709

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.609e-09  4.418e-04  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  1.220e+00  3.518e+04  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.054e+00  4.411e-03  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.052e+00  8.152e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/866782/cmap_HighResolution_689040001_689299201_4FGL_J2353.2+3135_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2022-11-05 00:45:58.737102', job_id='866782', GAL2='1.05', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1667634358.74', return_code2='102', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-4.64e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1735' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:45:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 866782: <4FGL_J2353.2+3135_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:34 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:36 2022
Terminated at Sat Nov  5 00:45:59 2022
Results reported at Sat Nov  5 00:45:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1735 358.322 31.5927 689040001 689299201 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 :                                   609.02 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             342.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            625 sec.

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

