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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1724
RA = 338.841, Dec = -48.6015
tmin = 686188801, tmax = 686448001
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='707879', job_status='RUN', time_executed='2022-10-03 01:19:30.125145', time_epoch_executed='1664785170.13' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707879

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707879/ft1_4FGL_J2235.3-4836_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707879/ft1_4FGL_J2235.3-4836_daily_bin1724.fits outfile=/scratch/kocevski/707879/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1724.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=686188801.0 tmax=686448001.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 4.64
user 4.34
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.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/707879/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.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.33
sys 0.17

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707879/ltcube_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.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/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits
.....................!
real 14.23
user 13.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707879/ltcube_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits outfile=/scratch/kocevski/707879/expmap_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.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/707879/ltcube_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits
.....................!
real 194.31
user 186.35
sys 5.45

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.3-4836 @ 338.841 -48.6015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits outfile=/scratch/kocevski/707879/cmap_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.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=338.841 yref=-48.6015 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits outfile=/scratch/kocevski/707879/cmap_HighResolution_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.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=338.841 yref=-48.6015 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707879/Model_4FGL_J2235.3-4836_daily_bin1724.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/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits.....................!
real 48.87
user 46.91
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits', '/scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits', expMap='/scratch/kocevski/707879/expmap_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits', expCube='/scratch/kocevski/707879/ltcube_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707879/Model_4FGL_J2235.3-4836_daily_bin1724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.3-4836'

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.864e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/707879/ft1_filtered_4FGL_J2235.3-4836_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707879/ft2_4FGL_J2235.3-4836_daily_bin1724.fits
Exposure map: /scratch/kocevski/707879/expmap_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707879/ltcube_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707879/Model_4FGL_J2235.3-4836_daily_bin1724.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) = 6560.95569349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0694       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.857       1.0000          .0000       .10000E+07
     3 'Prefactor '    .75581E-01   1.0000          .0000       .10000E+07
     4 'norm      '    17.957       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10591       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13694E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0602       1.0000          .0000       .10000E+07
     8 'Prefactor '    46.222       1.0000          .0000       .10000E+07
     9 'norm      '    .59847E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10453E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .82494E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10326E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .36959E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .68835E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45160E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.034       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.6704       1.0000          .0000       .10000E+07
    18 'norm      '    .25890E-03   1.0000          .0000       .10000E+07
    19 'norm      '    1.7591       1.0000          .0000       .10000E+07
    20 'norm      '    .62372E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.888       1.0000          .0000       .10000E+07
    22 'Prefactor '    .98978E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .34971E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .75909       1.0000          .0000       .10000E+07
    25 'Prefactor '    4.7410       1.0000          .0000       .10000E+07
    26 'Prefactor '    .25245E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .90408       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0552       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6560.937     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     2493 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0643        6.4690       -.15251E-05   -.26710E-01
   2  Prefactor     29.035        1.4243       -.74124E-07    .23844E-01
   3  Prefactor     .76511E-01    1.0684       -.16867E-06** at limit **
   4  norm          17.892        5.9034        .57221E-07    .62128E-02
   5  Prefactor     .69722E-07    2.6257       -.10659E-05** at limit **
   6  Prefactor     .16653E-09    3.0187       -.67669E-07** at limit **
   7  Prefactor     3.0605        2.6303       -.34426E-07    .29093E-04
   8  Prefactor     45.989        6.0514       -.35491E-06    .22092    
   9  norm          .27756E-09    1.6813        .31114E-07** at limit **
  10  Prefactor      .0000        2.1875        .65759E-06** at limit **
  11  Prefactor     .12768E-08    6.7961       -.32950E-06** at limit **
  12  Prefactor     .55511E-10    1.8180       -.50535E-07** at limit **
  13  Prefactor     .31974E-07    24.795        .26610E-06** at limit **
  14  Prefactor      .0000        4.8673        .39862E-06** at limit **
  15  Prefactor      .0000        2.3176       -.99510E-08** at limit **
  16  Prefactor     22.826        1.4857        .23234E-07   -.22825E-02
  17  Prefactor     8.6744        4.1241        .58886E-06    .15797E-02
  18  norm          .49960E-09    3.0855       -.43063E-06** at limit **
  19  norm          1.7612        3.8443       -.19929E-06    .13303E-02
  20  norm           .0000        1.6946        .78710E-09** at limit **
  21  Prefactor     11.868        6.2252       -.72866E-06   -.48276E-01
  22  Prefactor     .46629E-07    5.8914       -.93123E-07** at limit **
  23  Prefactor     .61290E-06    67.511        .50108E-06** at limit **
  24  norm          .75797        1.1667       -.67378E-07   -.18958E-02
  25  Prefactor     4.7470        4.7938       -.80998E-07   -.25920E-02
  26  Prefactor     .12657E-07    11.217        .29757E-06** at limit **
  27  Normalizat    .90421        .19293       -.43558E-06   -.16391E-03
  28  Prefactor     1.0553        .18199        .93686E-06   -.15167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06431
  Prefactor  = 29.0354
  Prefactor  = 0.0765114
  norm       = 17.8921
  Prefactor  = 6.9722e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 3.06054
  Prefactor  = 45.9893
  norm       = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 3.19744e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 22.826
  Prefactor  = 8.67443
  norm       = 4.996e-10
  norm       = 1.76118
  norm       = 0
  Prefactor  = 11.8684
  Prefactor  = 4.66294e-08
  Prefactor  = 6.12899e-07
  norm       = 0.757969
  Prefactor  = 4.74697
  Prefactor  = 1.26565e-08
  Normalizat = 0.904208
  Prefactor  = 1.05534
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.937     FROM HESSE     STATUS=OK           575 CALLS     3068 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0643        8.9411        .71785E-03   -1.5679    
   2  Prefactor     29.035        27.851        .18618E-03   -1.5600    
   3  Prefactor     .76511E-01    1.5421        .88344E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.892        5.9259        .23608E-03   -1.5623    
   5  Prefactor     .69722E-07    32.432        .13773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    3.0620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0605        2.6390        .57965E-03   -1.5673    
   8  Prefactor     45.989        59.647        .14710E-03   -1.5572    
   9  norm          .27756E-09    1.6813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.4610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12768E-08    12.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    1.8191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .31974E-07    24.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        4.9254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.3215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.826        23.368        .20841E-03   -1.5612    
  17  Prefactor     8.6744        9.7976        .34018E-03   -1.5649    
  18  norm          .49960E-09    4.2199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.7612        3.8974        .78980E-03   -1.5681    
  20  norm           .0000        1.6968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.868        6.3332        .29029E-03   -1.5639    
  22  Prefactor     .46629E-07    12.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .61290E-06    66.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .75797        1.1931        .56035E-03   -1.5691    
  25  Prefactor     4.7470        4.8086        .46187E-03   -1.5664    
  26  Prefactor     .12657E-07    11.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90421        .16679        .44954E-01   -.96312    
  28  Prefactor     1.0553        .15747        .39615E-01   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85761e-06
Minuit parameter uncertainties:
  1  8.5924
  2  27.8508
  3  0.686993
  4  5.92592
  5  0.00300725
  6  4.65499e-05
  7  2.63902
  8  59.6481
  9  4.43863e-05
  10  1.60754e-05
  11  0.000251966
  12  2.17425e-05
  13  0.00177923
  14  1.61418e-05
  15  1.02964e-05
  16  23.3686
  17  9.7976
  18  9.23406e-05
  19  3.8974
  20  1.22287e-05
  21  6.33318
  22  0.00152715
  23  0.0128141
  24  1.19311
  25  4.80859
  26  0.000755364
  27  0.166883
  28  0.157538
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  5.551e-11  2.174e-05  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.055e+00  1.575e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.042e-01  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 4.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707879/likelihoodResults_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.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) = 6560.93864084
delta logL = -0.00115278521298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6560.93748879
delta logL = -7.41189978726e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35727E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0478       1.0000          .0000       10.000    
     3 'Normalizat'    .90410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0554       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6560.937     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      252 TOTAL
                     EDM=   .65E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42923        .42118E-03** at limit **
   2  Index         4.3025        1.9298        .11281E-04     .0000    
   3  Normalizat    .90421        1.2393        .46371E-05    .11837E-04
   4  Prefactor     1.0553        1.1853       -.62056E-05    .50031E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.30251
  Normalizat = 0.904209
  Prefactor  = 1.05534
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6560.937     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .65E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9743        2.3834        .11281E-04   -.13995    
   3  Normalizat    .90421        1.2393        .46371E-05   -.96312    
   4  Prefactor     1.0553        1.1853       -.62056E-05   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.50871e-12
Minuit parameter uncertainties:
  1  1.93833e-06
  2  1.98235
  3  1.28206
  4  1.21683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707879': 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): 101
logL (Free Index) = 6560.93748805
delta logL = 2.63753463514e-11

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  1.938e-06  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  4.303e+00  1.982e+00  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.055e+00  1.217e+00  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.042e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.841 -48.602

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/707879/cmap_HighResolution_686188801_686448001_4FGL_J2235.3-4836_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='4.98e-08', time_completed='2022-10-03 01:31:31.120137', job_id='707879', GAL2='1.06', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1664785891.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1724' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:31:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 707879: <4FGL_J2235.3-4836_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:42 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:17:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:17:52 2022
Terminated at Mon Oct  3 01:31:31 2022
Results reported at Mon Oct  3 01:31:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1724 338.841 -48.6015 686188801 686448001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.3-4836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            949 sec.

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

