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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1765
RA = 358.322, Dec = 31.5927
tmin = 696816001, tmax = 697075201
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='651272', job_status='RUN', time_executed='2023-02-03 01:58:21.003909', time_epoch_executed='1675418301.0' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651272

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/651272/ft1_4FGL_J2353.2+3135_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/651272/ft2_4FGL_J2353.2+3135_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/651272/ft1_4FGL_J2353.2+3135_daily_bin1765.fits outfile=/scratch/kocevski/651272/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1765.fits ra=358.322 dec=31.5927 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.44
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651272/ft1_filtered_4FGL_J2353.2+3135_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651272/ft2_4FGL_J2353.2+3135_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/651272/ltcube_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.fits outfile=/scratch/kocevski/651272/expmap_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.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/651272/ltcube_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.fits
.....................!
real 193.41
user 188.13
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/651272/ft1_filtered_4FGL_J2353.2+3135_daily_bin1765.fits scfile=/scratch/kocevski/651272/ft2_4FGL_J2353.2+3135_daily_bin1765.fits outfile=/scratch/kocevski/651272/cmap_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651272/ft1_filtered_4FGL_J2353.2+3135_daily_bin1765.fits scfile=/scratch/kocevski/651272/ft2_4FGL_J2353.2+3135_daily_bin1765.fits outfile=/scratch/kocevski/651272/cmap_HighResolution_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.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.56
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89187       1.0000          .0000       .10000E+07
     2 'norm      '    .51249E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5363       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5593       1.0000          .0000       .10000E+07
     5 'Prefactor '    .39250E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10316E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.8462       1.0000          .0000       .10000E+07
     8 'Prefactor '    .21322E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .51855       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62429       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3979       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15922E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .11418E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.612       1.0000          .0000       .10000E+07
    15 'norm      '    .20128E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11293       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35995E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10241E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95337       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1014       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=   8647.751     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1485 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89161        2.4729        .16451E-05    .31191E-02
   2  norm          .55511E-09    4.8259        .13680E-05** at limit **
   3  Prefactor     3.5167        3.5560        .82789E-06   -.70123E-03
   4  Prefactor     3.4826        1.7414        .39848E-06   -.39573E-02
   5  Prefactor     .29254E-07    10.086       -.52236E-05** at limit **
   6  Prefactor     .30531E-08    16.362       -.12705E-05** at limit **
   7  norm          3.8460        2.3636       -.61871E-06   -.85916E-03
   8  Prefactor     .16653E-09    6.9417        .97453E-06** at limit **
   9  norm          .51880        .79042        .32311E-06    .14296E-02
  10  Prefactor     .27768        111.90       -.15154E-04    .30023E-02
  11  Prefactor     9.5032        1.4699        .21495E-06    .70243E-01
  12  Prefactor      .0000        11.064       -.18575E-05** at limit **
  13  norm           .0000        6.0369       -.27962E-06** at limit **
  14  Prefactor     16.636        4.6975        .99667E-06    .10678E-02
  15  norm          .55511E-10    .78168       -.85376E-06** at limit **
  16  Prefactor     .81030E-05    3.0646       -.30404E-05** at limit **
  17  Prefactor     .55511E-10    22.404       -.31552E-05** at limit **
  18  Prefactor      .0000        1.6553       -.93067E-07** at limit **
  19  Normalizat    .95388        .20779       -.41860E-05    .94504E-04
  20  Prefactor     1.1013        .11850        .12616E-04    .29875E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.891612
  norm       = 5.55112e-10
  Prefactor  = 3.51672
  Prefactor  = 3.48259
  Prefactor  = 2.92544e-08
  Prefactor  = 3.05311e-09
  norm       = 3.84598
  Prefactor  = 1.66533e-10
  norm       = 0.518801
  Prefactor  = 0.277677
  Prefactor  = 9.50325
  Prefactor  = 0
  norm       = 0
  Prefactor  = 16.6355
  norm       = 5.55112e-11
  Prefactor  = 8.10302e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.953875
  Prefactor  = 1.10132
 **********
 **   18 **HESSE 
 **********

 FCN=   8647.751     FROM HESSE     STATUS=OK           341 CALLS     1826 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89161        2.7484        .46324E-03   -1.5689    
   2  norm          .55511E-09    4.8412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5167        3.5628        .53729E-03   -1.5670    
   4  Prefactor     3.4826        12.439        .53547E-03   -1.5671    
   5  Prefactor     .29254E-07    11.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30531E-08    16.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8460        2.3690        .51434E-03   -1.5669    
   8  Prefactor     .16653E-09    7.0734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .51880        .92228        .22990E-02   -1.5694    
  10  Prefactor     .27768        10.112        .10105E-01   -1.5697    
  11  Prefactor     9.5032        10.759        .32667E-03   -1.5646    
  12  Prefactor      .0000        10.983        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        6.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.636        15.220        .24547E-03   -1.5626    
  15  norm          .55511E-10    .78094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .81030E-05    18.890        .13594E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    22.302        .16150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.6556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95388        .18400        .73425E-01   -.94592    
  20  Prefactor     1.1013        .10289        .37535E-01   -.89424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49091e-08
Minuit parameter uncertainties:
  1  2.74839
  2  0.000106055
  3  3.5628
  4  12.4392
  5  0.00113994
  6  0.000448367
  7  2.36903
  8  6.30777e-05
  9  0.92228
  10  3.35134
  11  10.7595
  12  1.44921e-05
  13  9.41802e-06
  14  15.2199
  15  1.33455e-05
  16  0.0247443
  17  4.98976e-05
  18  1.67656e-06
  19  0.184119
  20  0.102904
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  8.103e-06  2.474e-02  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.101e+00  1.029e-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:  9.539e-01  1.841e-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: 8.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/651272/likelihoodResults_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.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) = 8647.75673961
delta logL = -0.00577062814227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8647.75109152
delta logL = -0.000122531790112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12170E-02   1.0000          .0000       .10000E+07
     2 'Index     '    3.2926       1.0000          .0000       10.000    
     3 'Normalizat'    .95141       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1019       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=   8647.751     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      251 TOTAL
                     EDM=   .53E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    446.69       -.88613E-05** at limit **
   2  Index         3.0972        6.5411        .54799E-04   -.20406E-10
   3  Normalizat    .95388        .20412        .76786E-06    .78028E-04
   4  Prefactor     1.1013        .11750        .20047E-05    .11820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Index      = 3.09718
  Normalizat = 0.953876
  Prefactor  = 1.10132
 **********
 **   18 **HESSE 
 **********

 FCN=   8647.751     FROM HESSE     STATUS=NOT POSDEF    45 CALLS      296 TOTAL
                     EDM=   .16E-16    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    .11722E-02    .77901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0972        6.2195        .50000       -.39041    
   3  Normalizat    .95388        .37401E-04    .73425E-01   -.94592    
   4  Prefactor     1.1013        .21473E-04    .37513E-01   -.89424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55871e-17
Minuit parameter uncertainties:
  1  2.02367e-06
  2  694.947
  3  3.74014e-05
  4  2.14734e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651272': 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) = 8647.75096894
delta logL = 4.39504219685e-08

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  8.882e-10  2.024e-06  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  3.097e+00  6.949e+02  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.101e+00  2.147e-05  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:  9.539e-01  3.740e-05  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/651272/cmap_HighResolution_696816001_697075201_4FGL_J2353.2+3135_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.31e-03', job_status='DONE', photon_flux_upper_limit='8.04e-08', time_completed='2023-02-03 02:09:10.740459', job_id='651272', GAL2='1.10', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1675418950.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.40e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1765' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:09:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 651272: <4FGL_J2353.2+3135_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:55:15 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:55:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:55:55 2023
Terminated at Fri Feb  3 02:09:11 2023
Results reported at Fri Feb  3 02:09:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1765 358.322 31.5927 696816001 697075201 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 :                                   652.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             325.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            836 sec.

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

