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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1750
RA = 358.322, Dec = 31.5927
tmin = 692928001, tmax = 693187201
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='29728', job_status='RUN', time_executed='2022-12-20 02:04:08.232308', time_epoch_executed='1671530648.23' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29728/ft1_4FGL_J2353.2+3135_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29728/ft2_4FGL_J2353.2+3135_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29728/ft1_4FGL_J2353.2+3135_daily_bin1750.fits outfile=/scratch/kocevski/29728/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1750.fits ra=358.322 dec=31.5927 rad=12.0 tmin=692928001.0 tmax=693187201.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.64
user 3.30
sys 0.21

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

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

Number of photons that the gtmktime cut: 831

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29728/ft1_filtered_4FGL_J2353.2+3135_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/29728/ft2_4FGL_J2353.2+3135_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/29728/ltcube_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.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/29728/ft2_4FGL_J2353.2+3135_daily_bin1750.fits
.....................!
real 12.16
user 11.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29728/ft1_filtered_4FGL_J2353.2+3135_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29728/ft2_4FGL_J2353.2+3135_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/29728/ltcube_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.fits outfile=/scratch/kocevski/29728/expmap_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.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/29728/ltcube_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.fits
.....................!
real 193.27
user 186.00
sys 6.29

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/29728/ft1_filtered_4FGL_J2353.2+3135_daily_bin1750.fits scfile=/scratch/kocevski/29728/ft2_4FGL_J2353.2+3135_daily_bin1750.fits outfile=/scratch/kocevski/29728/cmap_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=358.322 yref=31.5927 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0991       1.0000          .0000       .10000E+07
     2 'norm      '    .59553E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9021       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1097       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30757E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .81657E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .29987E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    13.034       1.0000          .0000       .10000E+07
     9 'norm      '    1.1323       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6333       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58436E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    68.574       1.0000          .0000       .10000E+07
    13 'norm      '    .89360E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .73992E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .79614E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17936E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11425E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .89863E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.6332       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88499       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=   8833.253     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1552 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1016        2.6923        .14745E-06    .25156E-02
   2  norm          .11405E-05    12.238        .12226E-05** at limit **
   3  Prefactor     2.9063        3.2810       -.74911E-07   -.13987E-02
   4  Prefactor     3.1019        2.2062       -.15994E-06   -.91782E-01
   5  Prefactor      .0000        2.9932       -.57957E-07** at limit **
   6  Prefactor     .84205E-06    13.981        .12441E-05** at limit **
   7  norm           .0000        1.2015        .23612E-07** at limit **
   8  Prefactor     13.034        1.0074        .67670E-08    .37963E-02
   9  norm          1.1319        1.1151        .67588E-10    .98348E-04
  10  Prefactor     2.5536        2.0231        .42188E-08   -.16506E-02
  11  Prefactor     .27756E-09    3.5028       -.45978E-07** at limit **
  12  Prefactor     68.716        1.9200        .16702E-07   -.13734    
  13  norm          .40579E-07    9.7558        .99540E-06** at limit **
  14  Prefactor     .22260E-07    6.8723       -.44266E-06** at limit **
  15  norm           .0000        1.5293        .80778E-07** at limit **
  16  Prefactor     .10936E-07    11.350        .15276E-06** at limit **
  17  Prefactor     .24980E-08    43.126        .32004E-06** at limit **
  18  Prefactor     .27756E-09    3.8823       -.19557E-06** at limit **
  19  Normalizat    1.6334        .23054       -.79995E-06   -.19598E-03
  20  Prefactor     .88495        .12313       -.59391E-05   -.29605E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10156
  norm       = 1.14048e-06
  Prefactor  = 2.90635
  Prefactor  = 3.10188
  Prefactor  = 0
  Prefactor  = 8.42049e-07
  norm       = 0
  Prefactor  = 13.0339
  norm       = 1.13186
  Prefactor  = 2.55363
  Prefactor  = 2.77556e-10
  Prefactor  = 68.7159
  norm       = 4.05787e-08
  Prefactor  = 2.226e-08
  norm       = 0
  Prefactor  = 1.09357e-08
  Prefactor  = 2.498e-09
  Prefactor  = 2.77556e-10
  Normalizat = 1.63344
  Prefactor  = 0.884946
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.253     FROM HESSE     STATUS=OK           329 CALLS     1881 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1016        2.7694        .11340E-02   -1.5687    
   2  norm          .11405E-05    26.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9063        3.2854        .59621E-03   -1.5674    
   4  Prefactor     3.1019        11.213        .57476E-03   -1.5673    
   5  Prefactor      .0000        2.9936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .84205E-06    25.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.1935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.034        12.953        .27719E-03   -1.5636    
   9  norm          1.1319        1.1321        .10965E-02   -1.5687    
  10  Prefactor     2.5536        79.039        .62812E-03   -1.5676    
  11  Prefactor     .27756E-09    3.5096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     68.716        40.034        .12077E-03   -1.5542    
  13  norm          .40579E-07    9.5071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22260E-07    6.9566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.5194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10936E-07    11.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24980E-08    43.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27756E-09    3.8857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6334        .19835        .66218E-01   -.74095    
  20  Prefactor     .88495        .10530        .44813E-01   -.96669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64897e-07
Minuit parameter uncertainties:
  1  2.76942
  2  0.0110541
  3  3.28538
  4  11.2127
  5  1.81116e-05
  6  0.00926519
  7  7.56715e-07
  8  12.9534
  9  1.13206
  10  28.4142
  11  6.345e-05
  12  40.0346
  13  0.00124242
  14  0.000787108
  15  9.80075e-06
  16  0.000705045
  17  0.000656295
  18  6.3914e-05
  19  0.198448
  20  0.105327
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.094e-08  7.050e-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:  8.849e-01  1.053e-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.633e+00  1.984e-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: 6.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29728/likelihoodResults_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.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) = 8833.25289891
delta logL = -8.71772281243e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8833.25281641
delta logL = -4.67790596304e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52990E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9893       1.0000          .0000       10.000    
     3 'Normalizat'    1.6334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88511       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=   8833.253     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      255 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13989E-07    1.9105        .42118E-03** at limit **
   2  Index         2.2600        5.4809        .50000        .63665E-09
   3  Normalizat    1.6334        .19761E-02    .66218E-01   -.40948E-03
   4  Prefactor     .88495        .10622E-02    .44815E-01   -.52269E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39888e-08
  Index      = 2.25997
  Normalizat = 1.63344
  Prefactor  = 0.884946
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.253     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13989E-07    9.5644        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2600        5.9875        .50000       -.57998    
   3  Normalizat    1.6334        .44191E-02    .29289E-03   -.74095    
   4  Prefactor     .88495        .23762E-02    .20430E-03   -.96669    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.013e-10
Minuit parameter uncertainties:
  1  0.000732132
  2  16876.4
  3  0.00441913
  4  0.00237622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29728': 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) = 8833.25281173
delta logL = -1.01863406599e-10

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.399e-08  7.321e-04  0.000e+00  1.000e+06 ( 1.000e-13)
484        Index:  2.260e+00  1.688e+04  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.849e-01  2.376e-03  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.633e+00  4.419e-03  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/29728/cmap_HighResolution_692928001_693187201_4FGL_J2353.2+3135_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2022-12-20 02:14:54.642914', job_id='29728', GAL2='0.88', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1671531294.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-1.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1750' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:14:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 29728: <4FGL_J2353.2+3135_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 02:00:22 2022
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:00:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:00:23 2022
Terminated at Tue Dec 20 02:14:55 2022
Results reported at Tue Dec 20 02:14:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1750 358.322 31.5927 692928001 693187201 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 :                                   647.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            873 sec.

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

