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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1721
RA = 358.322, Dec = 31.5927
tmin = 685411201, tmax = 685670401
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='70815', job_status='RUN', time_executed='2022-09-24 01:16:52.590870', time_epoch_executed='1664007412.59' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70815/ft1_4FGL_J2353.2+3135_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70815/ft2_4FGL_J2353.2+3135_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70815/ft1_4FGL_J2353.2+3135_daily_bin1721.fits outfile=/scratch/kocevski/70815/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1721.fits ra=358.322 dec=31.5927 rad=12.0 tmin=685411201.0 tmax=685670401.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.20
user 4.93
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70815/ft2_4FGL_J2353.2+3135_daily_bin1721.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/70815/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70815/ft1_filtered_4FGL_J2353.2+3135_daily_bin1721.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 670

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70815/ft1_filtered_4FGL_J2353.2+3135_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70815/ft2_4FGL_J2353.2+3135_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70815/ltcube_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.fits outfile=/scratch/kocevski/70815/expmap_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.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/70815/ltcube_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.fits
.....................!
real 191.67
user 184.64
sys 6.42

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/70815/ft1_filtered_4FGL_J2353.2+3135_daily_bin1721.fits scfile=/scratch/kocevski/70815/ft2_4FGL_J2353.2+3135_daily_bin1721.fits outfile=/scratch/kocevski/70815/cmap_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70815/ft1_filtered_4FGL_J2353.2+3135_daily_bin1721.fits scfile=/scratch/kocevski/70815/ft2_4FGL_J2353.2+3135_daily_bin1721.fits outfile=/scratch/kocevski/70815/cmap_HighResolution_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4546       1.0000          .0000       .10000E+07
     2 'norm      '    .25265E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44528E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54953       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18030E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    46.085       1.0000          .0000       .10000E+07
     7 'norm      '    2.6594       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23279E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .90354       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.604       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4828       1.0000          .0000       .10000E+07
    12 'Prefactor '    90.881       1.0000          .0000       .10000E+07
    13 'norm      '    .28319E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.573       1.0000          .0000       .10000E+07
    15 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.119       1.0000          .0000       .10000E+07
    17 'Prefactor '    .71672       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.9006       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.5102       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91152       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=   7608.916     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1589 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4204        5.1261       -.70266E-07    .94848E-04
   2  norm          .11657E-08    9.6570        .16347E-06** at limit **
   3  Prefactor      .0000        1.9701        .61913E-07** at limit **
   4  Prefactor     .74108        86.982        .46283E-06   -.20987E-01
   5  Prefactor      .0000        2.8203        .49495E-07** at limit **
   6  Prefactor     46.110        1.3383       -.47250E-08    .28080E-01
   7  norm          2.6597        2.2251       -.63489E-08   -.15109E-02
   8  Prefactor     .13878E-08    11.902       -.22070E-06** at limit **
   9  norm          .90327        .96540        .12579E-07    .22819E-02
  10  Prefactor     10.805        3.5429       -.49497E-07   -.32841E-01
  11  Prefactor     1.4652        32.314        .82598E-06    .89356E-02
  12  Prefactor     90.688        10.510        .26442E-07    .38183    
  13  norm           .0000        1.9068        .54698E-07** at limit **
  14  Prefactor     31.575        2.4610        .82135E-08   -.33766E-01
  15  norm           .0000        1.0366       -.44222E-07** at limit **
  16  Prefactor     9.8461        4.2351        .65358E-07    .12499E-01
  17  Prefactor     .64126E-05    139.21        .12657E-05** at limit **
  18  Prefactor     4.9692        5.6076        .61827E-08    .12784E-03
  19  Normalizat    1.5102        .26738       -.34307E-05   -.21295E-03
  20  Prefactor     .91167        .13661        .90379E-06   -.18108E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4204
  norm       = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 0.741079
  Prefactor  = 0
  Prefactor  = 46.1103
  norm       = 2.65966
  Prefactor  = 1.38778e-09
  norm       = 0.903267
  Prefactor  = 10.805
  Prefactor  = 1.46523
  Prefactor  = 90.6881
  norm       = 0
  Prefactor  = 31.5749
  norm       = 0
  Prefactor  = 9.84615
  Prefactor  = 6.41259e-06
  Prefactor  = 4.96923
  Normalizat = 1.51023
  Prefactor  = 0.911675
 **********
 **   18 **HESSE 
 **********

 FCN=   7608.916     FROM HESSE     STATUS=OK           333 CALLS     1922 TOTAL
                     EDM=   .69E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4204        5.5137        .89249E-03   -1.5684    
   2  norm          .11657E-08    9.6823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .74108        102.69        .73876E-03   -1.5691    
   5  Prefactor      .0000        2.8225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.110        34.720        .14732E-03   -1.5572    
   7  norm          2.6597        2.2250        .62478E-03   -1.5675    
   8  Prefactor     .13878E-08    11.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .90327        .97066        .45516E-03   -1.5689    
  10  Prefactor     10.805        43.043        .30743E-03   -1.5642    
  11  Prefactor     1.4652        32.270        .88086E-03   -1.5684    
  12  Prefactor     90.688        58.867        .10490E-03   -1.5517    
  13  norm           .0000        1.9082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.575        24.617        .17799E-03   -1.5596    
  15  norm           .0000        1.0351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.8461        42.673        .31474E-03   -1.5645    
  17  Prefactor     .64126E-05    141.41        .59361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9692        5.6242        .45412E-03   -1.5663    
  19  Normalizat    1.5102        .23811        .73202E-01   -.77491    
  20  Prefactor     .91167        .11743        .45152E-01   -.95734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90926e-06
Minuit parameter uncertainties:
  1  5.51376
  2  0.00021269
  3  1.31978e-05
  4  17.4473
  5  1.73536e-05
  6  34.7204
  7  2.22495
  8  0.000254944
  9  0.97066
  10  43.0438
  11  13.7526
  12  58.8672
  13  1.12805e-05
  14  24.6168
  15  7.62768e-06
  16  40.9965
  17  0.0602268
  18  5.6242
  19  0.238284
  20  0.117463
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  9.846e+00  4.100e+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:  9.117e-01  1.175e-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.510e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70815/likelihoodResults_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.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) = 7608.91599438
delta logL = 0.000310959880153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7608.91593116
delta logL = 0.000374180351173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5504       1.0000          .0000       .10000E+07
     2 'Index     '    2.6783       1.0000          .0000       10.000    
     3 'Normalizat'    1.5095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91187       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=   7608.916     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      271 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5277        48.547        .12961E-04   -.12903E-02
   2  Index         2.6838        1.9343        .98145E-02   -.76649E-04
   3  Normalizat    1.5096        .26366        .32395E-03   -.31360E-02
   4  Prefactor     .91187        .13490        .20773E-03   -.40469E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.5277
  Index      = 2.68382
  Normalizat = 1.50962
  Prefactor  = 0.911872
 **********
 **   18 **HESSE 
 **********

 FCN=   7608.916     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5277        45.703        .51845E-06   -1.5646    
   2  Index         2.6838        1.8794        .39258E-03   -.48164    
   3  Normalizat    1.5096        .26395        .64790E-04   -.77508    
   4  Prefactor     .91187        .13499        .41545E-04   -.95727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48401e-08
Minuit parameter uncertainties:
  1  41.735
  2  1.94091
  3  0.264188
  4  0.135037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70815': 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) = 7608.91592588
delta logL = 0.000379458192583

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  9.528e+00  4.174e+01  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.684e+00  1.941e+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:  9.119e-01  1.350e-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.510e+00  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/70815/cmap_HighResolution_685411201_685670401_4FGL_J2353.2+3135_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2022-09-24 01:27:14.455481', job_id='70815', GAL2='0.91', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1664008034.46', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.79e-04', ts2='0.07', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1721' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:27:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 70815: <4FGL_J2353.2+3135_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:48 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:14:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:14:41 2022
Terminated at Sat Sep 24 01:27:15 2022
Results reported at Sat Sep 24 01:27:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1721 358.322 31.5927 685411201 685670401 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 :                                   623.54 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            987 sec.

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

