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 102 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1667
RA = 358.322, Dec = 31.5927
tmin = 671414401, tmax = 671673601
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='534458', job_status='RUN', time_executed='2022-04-15 03:47:31.061697', time_epoch_executed='1650019651.06' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534458

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534458/ft1_4FGL_J2353.2+3135_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534458/ft1_4FGL_J2353.2+3135_daily_bin1667.fits outfile=/scratch/kocevski/534458/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1667.fits ra=358.322 dec=31.5927 rad=12.0 tmin=671414401.0 tmax=671673601.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.48
user 3.27
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.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/534458/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.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.53
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 813

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/534458/ltcube_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits outfile=/scratch/kocevski/534458/expmap_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.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/534458/ltcube_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits
.....................!
real 191.98
user 186.95
sys 4.18

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/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.fits scfile=/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits outfile=/scratch/kocevski/534458/cmap_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.fits scfile=/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits outfile=/scratch/kocevski/534458/cmap_HighResolution_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.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.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.fits', '/scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits', expMap='/scratch/kocevski/534458/expmap_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits', expCube='/scratch/kocevski/534458/ltcube_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534458/Model_4FGL_J2353.2+3135_daily_bin1667.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  1.000e-04  1.000e+04 ( 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/534458/ft1_filtered_4FGL_J2353.2+3135_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/534458/ft2_4FGL_J2353.2+3135_daily_bin1667.fits
Exposure map: /scratch/kocevski/534458/expmap_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits
Exposure cube: /scratch/kocevski/534458/ltcube_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534458/Model_4FGL_J2353.2+3135_daily_bin1667.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) = 9003.19282892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6706       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1293       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .99501       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1090       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1242       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2911       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.627       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.076       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.217       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4867       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.771       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5819       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81770       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.

 FCN=   9003.188     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2343 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6693        3.0222        .85942E-08    .28225E-04
   2  norm          .10000E-03    4.7605       -.92515E-07** at limit **
   3  Prefactor     8.1305        7.6689        .26947E-05    .21937E-03
   4  Prefactor     .10000E-03    7.4006        .77660E-07** at limit **
   5  Prefactor     .99227        3.6965       -.46614E-07   -.30554E-04
   6  Prefactor     3.1022        47.429        .41215E-06   -.88337E-05
   7  Prefactor     .10000E-03    23.381        .34026E-06** at limit **
   8  norm          .10000E-03    .80496        .80734E-07** at limit **
   9  Prefactor     .10000E-03    9.8680        .74770E-07** at limit **
  10  norm          2.1243        1.4868        .74781E-07    .12692E-04
  11  Prefactor     .10000E-03    15.805        .17654E-06** at limit **
  12  Prefactor     4.2897        12.465        .57880E-06    .81076E-06
  13  Prefactor     44.626        28.410        .71280E-07   -.64848E-05
  14  norm          .10000E-03    3.3263        .15284E-06** at limit **
  15  Prefactor     10.077        14.165       -.14437E-06   -.68386E-05
  16  norm          .10000E-03    .87525        .55533E-07** at limit **
  17  Prefactor     14.218        17.719        .15813E-06   -.54101E-05
  18  Prefactor     8.4386        47.295       -.18261E-05   -.79223E-04
  19  Prefactor     15.774        24.252       -.32737E-06    .89649E-05
  20  Prefactor     .10000E-03    2.9436       -.10158E-06** at limit **
  21  Normalizat    1.5822        .21752        .25801E-05   -.14083E-03
  22  Prefactor     .81753        .11083       -.22009E-05    .17704E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66926
  norm       = 0.0001
  Prefactor  = 8.13053
  Prefactor  = 0.0001
  Prefactor  = 0.992271
  Prefactor  = 3.10221
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.12432
  Prefactor  = 0.0001
  Prefactor  = 4.28971
  Prefactor  = 44.6263
  norm       = 0.0001
  Prefactor  = 10.0774
  norm       = 0.0001
  Prefactor  = 14.2185
  Prefactor  = 8.43856
  Prefactor  = 15.7742
  Prefactor  = 0.0001
  Normalizat = 1.58223
  Prefactor  = 0.817532
 **********
 **   18 **HESSE 
 **********

 FCN=   9003.188     FROM HESSE     STATUS=OK           346 CALLS     2689 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6693        3.0282        .14344E-03   -1.5325    
   2  norm          .10000E-03    4.7689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.1305        7.8301        .70308E-03   -1.5138    
   4  Prefactor     .10000E-03    7.4290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .99227        10.582        .32837E-02   -1.5509    
   6  Prefactor     3.1022        47.575        .22997E-03   -1.5356    
   7  Prefactor     .10000E-03    23.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .81084        .83134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.8749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1243        1.4797        .92204E-04   -1.5416    
  11  Prefactor     .10000E-03    15.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2897        12.449        .19448E-03   -1.5294    
  13  Prefactor     44.626        28.412        .60015E-04   -1.4371    
  14  norm          .10000E-03    3.3647        .16868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.077        14.137        .12623E-03   -1.5073    
  16  norm          .10000E-03    .88320        .86646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.218        17.733        .10623E-03   -1.4954    
  18  Prefactor     8.4386        47.702        .13761E-03   -1.5127    
  19  Prefactor     15.774        24.250        .10085E-03   -1.4913    
  20  Prefactor     .10000E-03    2.9594        .15898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5822        .24235        .29720E-03   -.75493    
  22  Prefactor     .81753        .12206        .20573E-03   -.99085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70494e-08
Minuit parameter uncertainties:
  1  3.02837
  2  1.47553e-05
  3  7.8311
  4  3.86185e-06
  5  6.48195
  6  24.3198
  7  1.89601e-05
  8  6.59854e-07
  9  1.12435e-05
  10  1.47968
  11  1.77612e-05
  12  12.4566
  13  28.4204
  14  6.21324e-06
  15  14.1415
  16  1.21521e-06
  17  17.7398
  18  40.1752
  19  24.2653
  20  1.68723e-05
  21  0.24253
  22  0.122097
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  8.439e+00  4.018e+01  1.000e-04  1.000e+04 ( 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:  8.175e-01  1.221e-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.582e+00  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534458/likelihoodResults_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.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) = 9002.88622107
delta logL = 0.302191847506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9002.70251899
delta logL = 0.485893926658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37766       1.0000         .10000E-03   10000.    
     2 'Index     '    5.6107       1.0000          .0000       10.000    
     3 'Normalizat'    1.5133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84161       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9002.703     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      245 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37038        4.4593        .10761E-01    .27650E-02
   2  Index         5.6235        2.3472        .20296        .14722E-03
   3  Normalizat    1.5131        .35909E-01    .68416E-01    .41614E-04
   4  Prefactor     .84184        .18728E-01    .44256E-01    .61275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.370383
  Index      = 5.62347
  Normalizat = 1.51305
  Prefactor  = 0.841844
 **********
 **   18 **HESSE 
 **********

 FCN=   9002.703     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      280 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37038        19.760        .59694E-03   -1.5586    
   2  Index         5.6235        7.8065        .69653E-02    .12502    
   3  Normalizat    1.5131        .16237        .30266E-03   -.77412    
   4  Prefactor     .84184        .83057E-01    .20306E-03   -.98204    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.72878e-11
Minuit parameter uncertainties:
  1  5.41179
  2  8.09319
  3  0.162429
  4  0.0830692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534458': 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) = 9002.70250675
delta logL = 0.48590616623

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  3.704e-01  5.412e+00  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  5.623e+00  8.093e+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:  8.418e-01  8.307e-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.513e+00  1.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 358.322 31.593
Photon Index (Free Index): 5.62 +/- 8.09
Photon Flux (Free Index): 6.52e-08 +/- 6.35e-08
Energy Flux (Free Index): 8.29e-06 +/- 9.27e-06

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/534458/cmap_HighResolution_671414401_671673601_4FGL_J2353.2+3135_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.17e-03', comment='SUCCESS', energy_flux2='8.29e-06', dlogl='4.86e-01', photon_flux2='6.52e-08', job_status='DONE', time_completed='2022-04-15 04:00:14.414260', photon_index_error2='8.09', photon_index2='5.62', ts='0.05', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='9.27e-06', EG='1.58', time_epoch_completed='1650020414.41', return_code='0', job_id='534458', GAL2='0.84', EG2='1.51', return_code2='102', photon_flux_error2='6.35e-08', ts2='1.11', photon_index='2.63' WHERE bin_id='1667' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 04:00:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 534458: <4FGL_J2353.2+3135_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1667> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Apr 15 03:45:17 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:45:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:45:39 2022
Terminated at Fri Apr 15 04:00:15 2022
Results reported at Fri Apr 15 04:00:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1667 358.322 31.5927 671414401 671673601 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 :                                   764.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            898 sec.

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

