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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1666
RA = 338.841, Dec = -48.6015
tmin = 671155201, tmax = 671414401
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='414510', job_status='RUN', time_executed='2022-04-12 00:36:20.177353', time_epoch_executed='1649748980.18' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414510/ft1_4FGL_J2235.3-4836_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414510/ft1_4FGL_J2235.3-4836_daily_bin1666.fits outfile=/scratch/kocevski/414510/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1666.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=671155201.0 tmax=671414401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.25
user 4.96
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.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/414510/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414510/ltcube_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.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/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits
.....................!
real 11.67
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414510/ltcube_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits outfile=/scratch/kocevski/414510/expmap_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.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/414510/ltcube_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits
.....................!
real 192.36
user 187.56
sys 4.38

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/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits scfile=/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits outfile=/scratch/kocevski/414510/cmap_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.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.54
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414510/Model_4FGL_J2235.3-4836_daily_bin1666.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/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits.....................!
real 47.43
user 46.07
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits', '/scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits', expMap='/scratch/kocevski/414510/expmap_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits', expCube='/scratch/kocevski/414510/ltcube_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414510/Model_4FGL_J2235.3-4836_daily_bin1666.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  1.000e-04  1.000e+04 ( 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/414510/ft1_filtered_4FGL_J2235.3-4836_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414510/ft2_4FGL_J2235.3-4836_daily_bin1666.fits
Exposure map: /scratch/kocevski/414510/expmap_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414510/ltcube_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414510/Model_4FGL_J2235.3-4836_daily_bin1666.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) = 6725.13466833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7062       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.0167       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2326       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2083       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12220E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.567       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7579       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .72501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9773       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.826       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .53515       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.7503       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .71500       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95959       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=   6725.132     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     3899 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7066        7.7512       -.14355E-06   -.21442E-03
   2  Prefactor     5.2556        30.428        .21977E-05    .25641E-04
   3  Prefactor     8.0174        4.3007       -.32712E-06    .17947E-03
   4  norm          6.2327        3.6786        .59780E-06    .21284E-04
   5  Prefactor     2.1941        27.366       -.95274E-05   -.19270E-04
   6  Prefactor     .10000E-03    3.6622       -.43781E-05** at limit **
   7  Prefactor     .10000E-03    1.2991       -.69606E-06** at limit **
   8  Prefactor     35.600        59.879        .48780E-04    .14538E-03
   9  norm          5.7579        4.0859       -.20645E-06    .63534E-04
  10  Prefactor     .10000E-03    .57300       -.19539E-07** at limit **
  11  Prefactor     .10000E-03    9.9254       -.24356E-05** at limit **
  12  Prefactor     .10000E-03    2.9059       -.58171E-07** at limit **
  13  Prefactor     .10000E-03    3.6255        .19525E-05** at limit **
  14  Prefactor     .10000E-03    7.4289        .11939E-05** at limit **
  15  Prefactor     .74078        4.2287       -.43175E-06   -.90833E-04
  16  Prefactor     .10000E-03    36.426        .45991E-05** at limit **
  17  Prefactor     1.9772        4.2027       -.23585E-06   -.11965E-03
  18  Prefactor     .10000E-03    8.1363        .32690E-05** at limit **
  19  Prefactor     .10000E-03    7.0333       -.12312E-06** at limit **
  20  norm          .10000E-03    4.3452        .15223E-05** at limit **
  21  norm          .10000E-03    2.1344        .46295E-06** at limit **
  22  norm          .10000E-03    1.8849        .24094E-07** at limit **
  23  Prefactor     11.826        5.8231        .55901E-06   -.99301E-04
  24  Prefactor     .10000E-03    17.357        .41127E-06** at limit **
  25  Prefactor     .10000E-03    6.1683       -.22335E-05** at limit **
  26  norm          .10000E-03    .30583        .35838E-06** at limit **
  27  Prefactor     .53799        .37336        .19347E-06   -.56446E-02
  28  Prefactor     7.7271        21.421       -.26321E-04   -.60331E-04
  29  Normalizat    .71503        .14228       -.15350E-06    .22918E-03
  30  Prefactor     .95957        .13641       -.37171E-06    .31575E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70663
  Prefactor  = 5.25561
  Prefactor  = 8.0174
  norm       = 6.23271
  Prefactor  = 2.19407
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 35.6003
  norm       = 5.75792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.740776
  Prefactor  = 0.0001
  Prefactor  = 1.97717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.537985
  Prefactor  = 7.72713
  Normalizat = 0.715027
  Prefactor  = 0.959575
 **********
 **   18 **HESSE 
 **********

 FCN=   6725.132     FROM HESSE     STATUS=OK           586 CALLS     4485 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7066        7.7503        .67925E-03   -1.5118    
   2  Prefactor     5.2556        30.273        .17536E-03   -1.5249    
   3  Prefactor     8.0174        4.2924        .11695E-03   -1.5142    
   4  norm          6.2327        3.6805        .11710E-03   -1.5209    
   5  Prefactor     2.1941        27.364        .27682E-03   -1.5412    
   6  Prefactor     .10000E-03    3.7682        .15441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6010        .17989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.600        60.069        .67197E-04   -1.4514    
   9  norm          5.7579        4.0885        .13626E-03   -1.5228    
  10  Prefactor     .10000E-03    .57491        .60612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.9379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.9965        .27276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.6296        .15248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.4393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .74078        21.423        .32083E-02   -1.5536    
  16  Prefactor     .10000E-03    36.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9772        4.1868        .23604E-03   -1.5427    
  18  Prefactor     .10000E-03    8.1378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.1064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.3512        .16694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1444        .11696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.8890        .10995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.826        5.7934        .11649E-03   -1.5020    
  24  Prefactor     .10000E-03    17.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.1820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .55846        .87278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .53799        3.7596        .14641E-02   -1.5561    
  28  Prefactor     7.7271        22.365        .14404E-03   -1.5152    
  29  Normalizat    .71503        .17032        .23676E-03   -1.0330    
  30  Prefactor     .95957        .16450        .19996E-03   -.94089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27691e-08
Minuit parameter uncertainties:
  1  7.75123
  2  25.2466
  3  4.29253
  4  3.68067
  5  15.5052
  6  0.000266573
  7  0.000215881
  8  60.1717
  9  4.08868
  10  3.69448e-07
  11  6.873e-07
  12  2.99361e-05
  13  1.40684e-06
  14  2.21076e-05
  15  7.96991
  16  9.44353e-06
  17  4.18737
  18  1.10265e-06
  19  1.95069e-05
  20  1.70123e-06
  21  2.24699e-06
  22  6.20862e-07
  23  5.79368
  24  1.75188e-05
  25  3.47596e-05
  26  3.49595e-05
  27  2.84436
  28  22.3891
  29  0.170447
  30  0.164584
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  2.994e-05  1.000e-04  1.000e+04 ( 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.596e-01  1.646e-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:  7.150e-01  1.704e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414510/likelihoodResults_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.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) = 6725.13392843
delta logL = -0.00159266410083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6725.13233603
delta logL = -2.72586476058e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5152       1.0000          .0000       10.000    
     3 'Normalizat'    .71496       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95967       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6725.132     FROM MIGRAD    STATUS=FAILED        86 CALLS      238 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10017E-03    468.58        .27286E-03** at limit **
   2  Index         2.5447        7.8731        .50000       -.97574E-05
   3  Normalizat    .71503        .56340E-01    .23676E-03    .15476E-03
   4  Prefactor     .95957        .54729E-01    .19996E-03    .14963E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6725.132     FROM SIMPLEX   STATUS=UNCHANGED    159 CALLS      397 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10017E-03    468.58        .23351E-03** at limit **
   2  Index         2.5447        7.8731        .54247E-05   -.97574E-05
   3  Normalizat    .71503        .56340E-01    .22909E-06    .15476E-03
   4  Prefactor     .95957        .54729E-01    .28521E-06    .14963E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6725.132     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      440 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4584        .54573E-04** at limit **
   2  Index         2.6430        8.2204        .50000        .58799E-07
   3  Normalizat    .71503        .16724        .94704E-05    .50419E-05
   4  Prefactor     .95957        .16266        .39992E-04    .36387E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.643
  Normalizat = 0.715027
  Prefactor  = 0.959574
 **********
 **   18 **HESSE 
 **********

 FCN=   6725.132     FROM HESSE     STATUS=OK            29 CALLS      469 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0720        .10915E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6430        7.9481        .50000       -.49088    
   3  Normalizat    .71503        .16738        .18941E-05   -1.0330    
   4  Prefactor     .95957        .16277        .79983E-05   -.94089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97319e-12
Minuit parameter uncertainties:
  1  3.62081e-07
  2  105.193
  3  0.1675
  4  0.162854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414510': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6725.13233556
delta logL = 1.98484485736e-07

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  3.621e-07  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.643e+00  1.052e+02  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.596e-01  1.629e-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:  7.150e-01  1.675e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/414510/cmap_HighResolution_671155201_671414401_4FGL_J2235.3-4836_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2022-04-12 00:51:36.162162', job_id='414510', GAL2='0.96', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1649749896.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1666' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:51:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 414510: <4FGL_J2235.3-4836_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:39 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:40 2022
Terminated at Tue Apr 12 00:51:36 2022
Results reported at Tue Apr 12 00:51:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1666 338.841 -48.6015 671155201 671414401 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 :                                   918.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

