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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1734
RA = 358.322, Dec = 31.5927
tmin = 688780801, tmax = 689040001
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='776609', job_status='RUN', time_executed='2022-11-02 00:36:39.702244', time_epoch_executed='1667374599.7' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776609/ft1_4FGL_J2353.2+3135_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776609/ft2_4FGL_J2353.2+3135_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776609/ft1_4FGL_J2353.2+3135_daily_bin1734.fits outfile=/scratch/kocevski/776609/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1734.fits ra=358.322 dec=31.5927 rad=12.0 tmin=688780801.0 tmax=689040001.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.54
user 3.29
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776609/ft2_4FGL_J2353.2+3135_daily_bin1734.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/776609/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776609/ft1_filtered_4FGL_J2353.2+3135_daily_bin1734.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 847

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776609/ft1_filtered_4FGL_J2353.2+3135_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776609/ft2_4FGL_J2353.2+3135_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776609/ltcube_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.fits outfile=/scratch/kocevski/776609/expmap_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.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/776609/ltcube_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.fits
.....................!
real 190.78
user 185.46
sys 4.93

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/776609/ft1_filtered_4FGL_J2353.2+3135_daily_bin1734.fits scfile=/scratch/kocevski/776609/ft2_4FGL_J2353.2+3135_daily_bin1734.fits outfile=/scratch/kocevski/776609/cmap_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776609/ft1_filtered_4FGL_J2353.2+3135_daily_bin1734.fits scfile=/scratch/kocevski/776609/ft2_4FGL_J2353.2+3135_daily_bin1734.fits outfile=/scratch/kocevski/776609/cmap_HighResolution_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17525E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .46462E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.3545       1.0000          .0000       .10000E+07
     4 'Prefactor '    76.132       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.5426       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20660E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.5499       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37330E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .13953E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    123.62       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0253       1.0000          .0000       .10000E+07
    12 'Prefactor '    246.30       1.0000          .0000       .10000E+07
    13 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.2266       1.0000          .0000       .10000E+07
    15 'norm      '    .37914E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .41651E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .41241E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40079E-07   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0252       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=   9154.039     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1049 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    2.6396        .60485E-06** at limit **
   2  norm          .10639E-05    6.1922       -.21440E-05** at limit **
   3  Prefactor     9.3213        8.0816        .93950E-06    .91001E-02
   4  Prefactor     75.927        1.4827        .14386E-07    .82671E-02
   5  Prefactor     8.5160        7.0654       -.28079E-06   -.80949E-02
   6  Prefactor     .81768E-06    9.0467       -.89351E-05** at limit **
   7  norm          5.5406        3.1296       -.37266E-06   -.11138E-01
   8  Prefactor     .26534E-07    16.663        .18514E-04** at limit **
   9  norm          .16653E-09    3.7081       -.16649E-05** at limit **
  10  Prefactor     122.50        42.351        .74591E-05    .21338E-02
  11  Prefactor     2.0157        17.403        .27701E-04   -.27661E-02
  12  Prefactor     242.15        58.134       -.30000E-05    .46982E-04
  13  norm           .0000        1.5208        .45926E-06** at limit **
  14  Prefactor     8.2422        11.717        .63734E-05    .11184E-02
  15  norm          .55511E-10    .66228       -.74623E-06** at limit **
  16  Prefactor     .11102E-09    22.051       -.16401E-04** at limit **
  17  Prefactor     .66613E-09    29.059       -.31937E-05** at limit **
  18  Prefactor      .0000        11.241        .23871E-05** at limit **
  19  Normalizat    1.1900        .24726       -.27759E-04   -.14223E-03
  20  Prefactor     1.0256        .13059       -.10931E-04   -.25029E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 1.06387e-06
  Prefactor  = 9.32131
  Prefactor  = 75.927
  Prefactor  = 8.51597
  Prefactor  = 8.17679e-07
  norm       = 5.54062
  Prefactor  = 2.65343e-08
  norm       = 1.66533e-10
  Prefactor  = 122.504
  Prefactor  = 2.01567
  Prefactor  = 242.147
  norm       = 0
  Prefactor  = 8.24225
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  Normalizat = 1.19003
  Prefactor  = 1.02562
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.039     FROM HESSE     STATUS=OK           333 CALLS     1382 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    2.6273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10639E-05    15.131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3213        8.1134        .32743E-03   -1.5647    
   4  Prefactor     75.927        21.071        .11461E-03   -1.5534    
   5  Prefactor     8.5160        7.0734        .34273E-03   -1.5650    
   6  Prefactor     .81768E-06    14.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5406        3.1338        .42623E-03   -1.5661    
   8  Prefactor     .26534E-07    17.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16653E-09    .63894        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     122.50        42.357        .89946E-04   -1.5487    
  11  Prefactor     2.0157        17.203        .72677E-03   -1.5680    
  12  Prefactor     242.15        58.215        .63727E-04   -1.5397    
  13  norm           .0000        1.5241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2422        11.752        .34930E-03   -1.5651    
  15  norm          .55511E-10    .66196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    22.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .66613E-09    28.938        .15908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        11.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1900        .21511        .80458E-01   -.86912    
  20  Prefactor     1.0256        .11247        .41661E-01   -.91880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97152e-07
Minuit parameter uncertainties:
  1  4.10315e-05
  2  0.00802444
  3  8.11341
  4  21.071
  5  7.07342
  6  0.00689709
  7  3.13379
  8  0.00134728
  9  1.98223e-05
  10  42.3572
  11  11.7772
  12  58.2154
  13  1.26197e-05
  14  11.7525
  15  1.48341e-05
  16  0.000101352
  17  0.000283142
  18  8.50119e-06
  19  0.215265
  20  0.112493
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.026e+00  1.125e-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.190e+00  2.153e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776609/likelihoodResults_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.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) = 9154.03946682
delta logL = -0.000160010136824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9153.90340932
delta logL = 0.135897491768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33552E-04   1.0000          .0000       .10000E+07
     2 'Index     '    9.9997       1.0000          .0000       10.000    
     3 'Normalizat'    1.1630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0354       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=   9154.039     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      406 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-08    28.656       -.15142E-04** at limit **
   2  Index         3.1538        1.3519        .29150E-03   -.58056E-09
   3  Normalizat    1.1900        .24163        .15147E-03   -.81099E-03
   4  Prefactor     1.0256        .12941       -.85443E-04   -.11058E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-09
  Index      = 3.1538
  Normalizat = 1.19003
  Prefactor  = 1.02562
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.039     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      443 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-08    5604.0        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1538        6.5392        .50000       -119.76    
   3  Normalizat    1.1900        .12181        .80459E-01   -14.839    
   4  Prefactor     1.0256        .64545E-01    .40851E-01   -14.789    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.6326e-08
Minuit parameter uncertainties:
  1  0.0145652
  2  64.7417
  3  0.121836
  4  0.0645503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776609': 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) = 9154.03930681
delta logL = -6.33008312434e-10

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  9.437e-09  1.457e-02  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  3.154e+00  6.474e+01  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.026e+00  6.455e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.190e+00  1.218e-01  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/776609/cmap_HighResolution_688780801_689040001_4FGL_J2353.2+3135_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.10e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2022-11-02 00:46:57.338184', job_id='776609', GAL2='1.03', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1667375217.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-6.33e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1734' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:46:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 776609: <4FGL_J2353.2+3135_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:38 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:39 2022
Terminated at Wed Nov  2 00:46:58 2022
Results reported at Wed Nov  2 00:46:58 2022

Your job looked like:

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

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

