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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1769
RA = 338.841, Dec = -48.6015
tmin = 697852801, tmax = 698112001
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='446404', job_status='RUN', time_executed='2023-02-15 01:35:57.838623', time_epoch_executed='1676453757.84' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446404

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446404/ft1_4FGL_J2235.3-4836_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446404/ft1_4FGL_J2235.3-4836_daily_bin1769.fits outfile=/scratch/kocevski/446404/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1769.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=697852801.0 tmax=698112001.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.37
user 4.17
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.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/446404/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 542

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/446404/ltcube_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.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/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits
.....................!
real 11.79
user 11.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/446404/ltcube_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits outfile=/scratch/kocevski/446404/expmap_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.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/446404/ltcube_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits
.....................!
real 189.95
user 184.85
sys 4.80

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/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits outfile=/scratch/kocevski/446404/cmap_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits outfile=/scratch/kocevski/446404/cmap_HighResolution_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446404/Model_4FGL_J2235.3-4836_daily_bin1769.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/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits.....................!
real 44.06
user 42.90
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits', '/scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits', expMap='/scratch/kocevski/446404/expmap_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits', expCube='/scratch/kocevski/446404/ltcube_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/446404/Model_4FGL_J2235.3-4836_daily_bin1769.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/446404/ft1_filtered_4FGL_J2235.3-4836_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/446404/ft2_4FGL_J2235.3-4836_daily_bin1769.fits
Exposure map: /scratch/kocevski/446404/expmap_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits
Exposure cube: /scratch/kocevski/446404/ltcube_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/446404/Model_4FGL_J2235.3-4836_daily_bin1769.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) = 5943.5650097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43416E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27031E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4840       1.0000          .0000       .10000E+07
     4 'norm      '    6.7256       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31419E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.8052       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1797       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.6754       1.0000          .0000       .10000E+07
     9 'norm      '    4.3278       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10490E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31617E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .72296E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.046       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.635       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14392E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .37930E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6617       1.0000          .0000       .10000E+07
    18 'norm      '    4.6030       1.0000          .0000       .10000E+07
    19 'norm      '    .52728E-05   1.0000          .0000       .10000E+07
    20 'norm      '    .10252E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.5279       1.0000          .0000       .10000E+07
    22 'Prefactor '    37.714       1.0000          .0000       .10000E+07
    23 'Prefactor '    .56912       1.0000          .0000       .10000E+07
    24 'norm      '    .80087       1.0000          .0000       .10000E+07
    25 'Prefactor '    .76509E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    9.5403       1.0000          .0000       .10000E+07
    27 'Normalizat'    .85291       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94819       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5943.506     FROM MIGRAD    STATUS=CONVERGED    884 CALLS     3219 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-08    9.7970        .36029E-07** at limit **
   2  Prefactor      .0000        11.154        .43968E-08** at limit **
   3  Prefactor     3.4889        4.6388       -.20436E-07   -.38317E-02
   4  norm          6.7274        4.3303        .31356E-08   -.81353E-03
   5  Prefactor     .55511E-10    13.772        .98968E-08** at limit **
   6  Prefactor     9.0675        8.1589       -.24430E-06   -.69563E-02
   7  Prefactor     3.1918        3.2084       -.24826E-07   -.36904E-02
   8  Prefactor     .58725E-06    162.19        .13345E-05** at limit **
   9  norm          4.3067        4.7992        .10256E-07    .59764E-03
  10  Prefactor      .0000        1.7115        .10483E-07** at limit **
  11  Prefactor      .0000        21.718        .35667E-07** at limit **
  12  Prefactor      .0000        1.4630       -.47320E-08** at limit **
  13  Prefactor     12.055        11.599       -.79496E-08   -.10804E-03
  14  Prefactor     22.014        24.103       -.94654E-07   -.35718E-02
  15  Prefactor      .0000        2.5931        .72747E-08** at limit **
  16  Prefactor      .0000        10.391       -.23019E-08** at limit **
  17  Prefactor     2.6639        12.688       -.47194E-07   -.14031E-03
  18  norm          4.6033        6.3715        .42253E-08   -.12420E-03
  19  norm           .0000        2.4515        .30079E-08** at limit **
  20  norm           .0000        2.1883       -.71640E-09** at limit **
  21  Prefactor     1.5977        5.2974       -.10568E-06   -.37529E-02
  22  Prefactor     38.520        34.307       -.35942E-07   -.26681E-03
  23  Prefactor     .34224        83.954        .47499E-06   -.75839E-03
  24  norm          .80012        .86656       -.89060E-08    .13145E-02
  25  Prefactor     .16653E-09    4.3893       -.81342E-07** at limit **
  26  Prefactor     9.9387        28.188       -.28072E-07   -.16997E-02
  27  Normalizat    .85160        .19316        .45460E-05   -.43471E-03
  28  Prefactor     .94912        .17178       -.41053E-05    .11390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-09
  Prefactor  = 0
  Prefactor  = 3.4889
  norm       = 6.72737
  Prefactor  = 5.55112e-11
  Prefactor  = 9.06751
  Prefactor  = 3.19178
  Prefactor  = 5.87252e-07
  norm       = 4.3067
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.0549
  Prefactor  = 22.0138
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66392
  norm       = 4.60334
  norm       = 0
  norm       = 0
  Prefactor  = 1.59774
  Prefactor  = 38.5202
  Prefactor  = 0.342235
  norm       = 0.800123
  Prefactor  = 1.66533e-10
  Prefactor  = 9.93866
  Normalizat = 0.851597
  Prefactor  = 0.949117
 **********
 **   18 **HESSE 
 **********

 FCN=   5943.506     FROM HESSE     STATUS=OK           541 CALLS     3760 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-08    9.3429        .68076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        11.160        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4889        4.6556        .18049E-04   -1.5671    
   4  norm          6.7274        4.3325        .12486E-04   -1.5656    
   5  Prefactor     .55511E-10    13.780        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.0675        10.184        .13502E-04   -1.5648    
   7  Prefactor     3.1918        3.2053        .13179E-04   -1.5672    
   8  Prefactor     .58725E-06    178.58        .20383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.3067        4.8025        .86836E-04   -1.5666    
  10  Prefactor      .0000        1.7197        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        21.795        .32732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4645        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.055        11.599        .11535E-04   -1.5639    
  14  Prefactor     22.014        24.256        .86021E-05   -1.5614    
  15  Prefactor      .0000        2.5956        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        10.392        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.6639        12.407        .24979E-04   -1.5675    
  18  norm          4.6033        6.3643        .18756E-04   -1.5665    
  19  norm           .0000        2.4550        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        2.1889        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5977        5.5434        .26728E-04   -1.5683    
  22  Prefactor     38.520        34.320        .65141E-05   -1.5584    
  23  Prefactor     .34224        92.238        .36859E-03   -1.5696    
  24  norm          .80012        .84894        .67117E-05   -1.5690    
  25  Prefactor     .16653E-09    4.4503        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.9387        28.113        .12968E-04   -1.5645    
  27  Normalizat    .85160        .19716        .23839E-03   -.98182    
  28  Prefactor     .94912        .17852        .21614E-03   -.94445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26857e-09
Minuit parameter uncertainties:
  1  0.000321538
  2  1.66586e-05
  3  4.6556
  4  4.33253
  5  4.26112e-05
  6  10.184
  7  3.20532
  8  0.0204824
  9  4.80254
  10  1.33798e-06
  11  8.73601e-06
  12  3.74702e-06
  13  11.5985
  14  24.2566
  15  5.12855e-07
  16  9.82075e-06
  17  11.4981
  18  6.36432
  19  1.28064e-05
  20  7.69876e-07
  21  5.54344
  22  34.3197
  23  11.2371
  24  0.84894
  25  5.24772e-05
  26  28.1138
  27  0.197325
  28  0.178634
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  3.747e-06  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:  9.491e-01  1.786e-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:  8.516e-01  1.973e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446404/likelihoodResults_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.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) = 5943.50694142
delta logL = -0.00105655451443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5943.50588661
delta logL = -1.74172055267e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16803E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .83087       1.0000          .0000       10.000    
     3 'Normalizat'    .85189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94893       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=   5943.506     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      247 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .57608        .42118E-03** at limit **
   2  Index         3.9490        2.0873        .24645E-04     .0000    
   3  Normalizat    .85160        1.1890        .87875E-05    .59516E-04
   4  Prefactor     .94911        1.2913       -.53379E-05    .62517E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.94901
  Normalizat = 0.851604
  Prefactor  = 0.949112
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5943.506     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .57608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6964        2.3532        .24645E-04   -.21178    
   3  Normalizat    .85160        1.1890        .87875E-05   -.98182    
   4  Prefactor     .94911        1.2913       -.53379E-05   -.94446    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.52057e-12
Minuit parameter uncertainties:
  1  6.03442e-07
  2  2.1566
  3  1.22877
  4  1.33725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446404': 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) = 5943.50588486
delta logL = 5.96628524363e-10

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  6.034e-07  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  3.949e+00  2.157e+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:  9.491e-01  1.337e+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:  8.516e-01  1.229e+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/446404/cmap_HighResolution_697852801_698112001_4FGL_J2235.3-4836_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-03', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2023-02-15 01:47:50.181531', job_id='446404', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1676454470.18', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1769' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:47:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 446404: <4FGL_J2235.3-4836_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:35:14 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:35:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:35:16 2023
Terminated at Wed Feb 15 01:47:50 2023
Results reported at Wed Feb 15 01:47:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1769 338.841 -48.6015 697852801 698112001 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 :                                   714.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

