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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1761
RA = 358.322, Dec = 31.5927
tmin = 695779201, tmax = 696038401
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='937877', job_status='RUN', time_executed='2023-01-22 01:53:28.563479', time_epoch_executed='1674381208.56' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/937877

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/937877/ft1_4FGL_J2353.2+3135_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/937877/ft2_4FGL_J2353.2+3135_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/937877/ft1_4FGL_J2353.2+3135_daily_bin1761.fits outfile=/scratch/kocevski/937877/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1761.fits ra=358.322 dec=31.5927 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.15
user 4.87
sys 0.23

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

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

Number of photons that the gtmktime cut: 834

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/937877/ft1_filtered_4FGL_J2353.2+3135_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/937877/ft2_4FGL_J2353.2+3135_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/937877/ltcube_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.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/937877/ft2_4FGL_J2353.2+3135_daily_bin1761.fits
.....................!
real 15.77
user 15.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/937877/ft1_filtered_4FGL_J2353.2+3135_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/937877/ft2_4FGL_J2353.2+3135_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/937877/ltcube_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.fits outfile=/scratch/kocevski/937877/expmap_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.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/937877/ltcube_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.fits
.....................!
real 192.51
user 186.80
sys 5.19

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/937877/ft1_filtered_4FGL_J2353.2+3135_daily_bin1761.fits scfile=/scratch/kocevski/937877/ft2_4FGL_J2353.2+3135_daily_bin1761.fits outfile=/scratch/kocevski/937877/cmap_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.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.57
user 0.40
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46659E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.0671       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37631E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.436       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12654E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31194E-03   1.0000          .0000       .10000E+07
     7 'norm      '    6.3366       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.985       1.0000          .0000       .10000E+07
     9 'norm      '    .13423E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35448E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .73889E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    45.200       1.0000          .0000       .10000E+07
    13 'norm      '    12.410       1.0000          .0000       .10000E+07
    14 'Prefactor '    .66032E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.0858       1.0000          .0000       .10000E+07
    16 'Prefactor '    .33030       1.0000          .0000       .10000E+07
    17 'Prefactor '    .47678E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10023E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .88060       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0857       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=   8886.944     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1530 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.9262       -.10987E-07** at limit **
   2  norm          2.1516        18.620       -.10102E-05   -.33977E-03
   3  Prefactor      .0000        2.7849       -.21984E-06** at limit **
   4  Prefactor     11.421        9.6903       -.37276E-06   -.47392E-03
   5  Prefactor      .0000        1.2005        .17688E-06** at limit **
   6  Prefactor      .0000        5.2356       -.92059E-07** at limit **
   7  norm          6.3358        2.5861        .28067E-07    .72078E-03
   8  Prefactor     14.005        3.6977        .20980E-07    .94440E-02
   9  norm           .0000        .81511       -.11704E-06** at limit **
  10  Prefactor     .15432E-07    31.577        .31870E-06** at limit **
  11  Prefactor      .0000        2.2644        .44838E-07** at limit **
  12  Prefactor     45.110        13.957        .20657E-06    .12363E-01
  13  norm          12.438        5.6483        .30310E-06   -.78926E-03
  14  Prefactor     .22204E-08    37.791       -.12586E-05** at limit **
  15  norm          1.0817        1.9626        .96106E-07   -.60521E-03
  16  Prefactor     .23304E-06    19.947       -.98314E-06** at limit **
  17  Prefactor     .11879E-07    118.95       -.12449E-05** at limit **
  18  Prefactor      .0000        2.6248        .27929E-08** at limit **
  19  Normalizat    .88078        .21145        .10262E-04   -.44244E-04
  20  Prefactor     1.0857        .12223       -.98793E-06   -.10444E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 2.15159
  Prefactor  = 0
  Prefactor  = 11.4212
  Prefactor  = 0
  Prefactor  = 0
  norm       = 6.33582
  Prefactor  = 14.0054
  norm       = 0
  Prefactor  = 1.54321e-08
  Prefactor  = 0
  Prefactor  = 45.1101
  norm       = 12.4378
  Prefactor  = 2.22045e-09
  norm       = 1.08174
  Prefactor  = 2.33036e-07
  Prefactor  = 1.18794e-08
  Prefactor  = 0
  Normalizat = 0.880777
  Prefactor  = 1.08566
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.944     FROM HESSE     STATUS=OK           339 CALLS     1869 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.8260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1516        18.829        .71830E-03   -1.5679    
   3  Prefactor      .0000        2.7788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.421        9.7027        .29599E-03   -1.5640    
   5  Prefactor      .0000        1.1978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.2471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3358        2.5870        .39851E-03   -1.5658    
   8  Prefactor     14.005        13.804        .26757E-03   -1.5633    
   9  norm           .0000        .80132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15432E-07    34.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.2650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.110        30.105        .14875E-03   -1.5574    
  13  norm          12.438        5.6717        .28410E-03   -1.5637    
  14  Prefactor     .22204E-08    46.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0817        1.9848        .11513E-02   -1.5687    
  16  Prefactor     .23304E-06    21.743        .13504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11879E-07    122.08        .15634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.6255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .88078        .18331        .75516E-01   -.97139    
  20  Prefactor     1.0857        .10431        .38156E-01   -.89926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5499e-07
Minuit parameter uncertainties:
  1  5.46834e-06
  2  12.7298
  3  1.17811e-06
  4  9.70268
  5  2.85688e-07
  6  6.24119e-06
  7  2.58699
  8  13.8043
  9  1.01367e-06
  10  0.0014699
  11  3.73123e-06
  12  30.105
  13  5.67171
  14  0.000647329
  15  1.98476
  16  0.00450174
  17  0.0024099
  18  4.12219e-06
  19  0.183442
  20  0.104329
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.330e-07  4.502e-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.086e+00  1.043e-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:  8.808e-01  1.834e-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.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/937877/likelihoodResults_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.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) = 8886.94636941
delta logL = -0.00250089130714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8886.92544628
delta logL = 0.0184222377866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5347       1.0000          .0000       .10000E+07
     2 'Index     '    2.1701       1.0000          .0000       10.000    
     3 'Normalizat'    .87963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0844       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8886.925     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      303 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5536        49.899        .15694E-04   -.76786E-04
   2  Index         2.1593        1.4406        .14270E-01   -.80112E-05
   3  Normalizat    .87948        .20885        .33444E-03    .24441E-03
   4  Prefactor     1.0845        .12023        .17389E-03    .38962E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.55363
  Index      = 2.15928
  Normalizat = 0.879478
  Prefactor  = 1.08447
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.925     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5536        48.458        .62776E-06   -1.5657    
   2  Index         2.1593        1.4220        .57082E-03   -.60425    
   3  Normalizat    .87948        .20902        .13378E-04   -.97185    
   4  Prefactor     1.0845        .12031        .34779E-04   -.89964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.71524e-11
Minuit parameter uncertainties:
  1  35.6416
  2  1.45191
  3  0.20921
  4  0.120338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/937877': 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): 0
logL (Free Index) = 8886.92541822
delta logL = 0.0184503036307

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.084e+00  1.203e-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:  8.795e-01  2.092e-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/937877/cmap_HighResolution_695779201_696038401_4FGL_J2353.2+3135_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.62e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2023-01-22 02:04:32.327961', job_id='937877', GAL2='1.08', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1674381872.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.85e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1761' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 02:04:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 937877: <4FGL_J2353.2+3135_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:50:18 2023
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:51:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:51:46 2023
Terminated at Sun Jan 22 02:04:33 2023
Results reported at Sun Jan 22 02:04:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1761 358.322 31.5927 695779201 696038401 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 :                                   665.28 sec.
    Max Memory :                                 1014 MB
    Average Memory :                             312.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            855 sec.

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

