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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1774
RA = 338.841, Dec = -48.6015
tmin = 699148801, tmax = 699408001
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='697916', job_status='RUN', time_executed='2023-03-02 01:41:08.858914', time_epoch_executed='1677750068.86' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697916/ft1_4FGL_J2235.3-4836_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697916/ft1_4FGL_J2235.3-4836_daily_bin1774.fits outfile=/scratch/kocevski/697916/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1774.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.81
user 2.63
sys 0.15

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

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

Number of photons that the gtmktime cut: 113

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697916/ft1_filtered_4FGL_J2235.3-4836_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/697916/ltcube_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.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/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits
.....................!
real 12.49
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697916/ft1_filtered_4FGL_J2235.3-4836_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/697916/ltcube_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.fits outfile=/scratch/kocevski/697916/expmap_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.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/697916/ltcube_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.fits
.....................!
real 189.92
user 184.89
sys 4.72

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/697916/ft1_filtered_4FGL_J2235.3-4836_daily_bin1774.fits scfile=/scratch/kocevski/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits outfile=/scratch/kocevski/697916/cmap_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697916/ft1_filtered_4FGL_J2235.3-4836_daily_bin1774.fits scfile=/scratch/kocevski/697916/ft2_4FGL_J2235.3-4836_daily_bin1774.fits outfile=/scratch/kocevski/697916/cmap_HighResolution_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.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.56
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68334E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30641E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    4244.9       1.0000          .0000       .10000E+07
     4 'norm      '    .15551E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14305E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87663E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .39085E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12394E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .90483E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21255E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    185.00       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.630       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57516E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    24.601       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79904       1.0000          .0000       .10000E+07
    16 'Prefactor '    .73624E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .41848E-05   1.0000          .0000       .10000E+07
    18 'norm      '    13.671       1.0000          .0000       .10000E+07
    19 'norm      '    .90761E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .33806E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    49.439       1.0000          .0000       .10000E+07
    22 'Prefactor '    .62275E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10167E-05   1.0000          .0000       .10000E+07
    24 'norm      '    2.7104       1.0000          .0000       .10000E+07
    25 'Prefactor '    .11390E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .12133E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .65185       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0776       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=   1217.318     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     3672 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40912E-07    75.763        .30416E-05** at limit **
   2  Prefactor     .65143E-04    417.44       -.35189E-04** at limit **
   3  Prefactor     4244.9        1.0011       -.44084E-09    .11062E-02
   4  norm          .67945E-05    79.031        .97072E-05** at limit **
   5  Prefactor     .78897E-04    68.039        .68544E-05** at limit **
   6  Prefactor     .11102E-09    22.160       -.10240E-06** at limit **
   7  Prefactor      .0000        3.8899        .11669E-06** at limit **
   8  Prefactor     .99989E-05    147.35       -.19098E-04** at limit **
   9  norm          .55511E-10    8.5456       -.17217E-06** at limit **
  10  Prefactor     .99920E-09    17.613       -.38589E-06** at limit **
  11  Prefactor     184.93        1.6231       -.10957E-06    .11821E-01
  12  Prefactor     11.628        18.895        .24401E-05   -.32496E-04
  13  Prefactor     .14401E-03    89.400        .31916E-05** at limit **
  14  Prefactor     24.601        2.1744        .17753E-06    .47113E-03
  15  Prefactor     .66079        1.2641        .93734E-06    .64732E-03
  16  Prefactor     .22204E-09    29.439       -.21240E-05** at limit **
  17  Prefactor     .19429E-08    15.431       -.14316E-05** at limit **
  18  norm          13.670        2.0137       -.17688E-06   -.81976E-03
  19  norm          .27756E-09    6.0629        .56015E-06** at limit **
  20  norm          .11102E-09    6.6104        .27153E-06** at limit **
  21  Prefactor     49.437        21.334       -.89427E-06   -.19784E-02
  22  Prefactor     .14433E-08    37.096        .86715E-06** at limit **
  23  Prefactor      .0000        53.831       -.60787E-05** at limit **
  24  norm          2.7083        2.8789       -.96907E-07    .61253E-02
  25  Prefactor     .77716E-09    4.2545       -.84923E-06** at limit **
  26  Prefactor     .85447E-05    64.265        .91999E-05** at limit **
  27  Normalizat    .65141        .52058        .75158E-06   -.28353E-05
  28  Prefactor     1.0782        .50670       -.25447E-08   -.20503E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.09117e-08
  Prefactor  = 6.51429e-05
  Prefactor  = 4244.93
  norm       = 6.79451e-06
  Prefactor  = 7.88967e-05
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 9.99889e-06
  norm       = 5.55112e-11
  Prefactor  = 9.99201e-10
  Prefactor  = 184.928
  Prefactor  = 11.6283
  Prefactor  = 0.000144008
  Prefactor  = 24.6007
  Prefactor  = 0.660787
  Prefactor  = 2.22045e-10
  Prefactor  = 1.94289e-09
  norm       = 13.6702
  norm       = 2.77556e-10
  norm       = 1.11022e-10
  Prefactor  = 49.4371
  Prefactor  = 1.44329e-09
  Prefactor  = 0
  norm       = 2.70831
  Prefactor  = 7.77156e-10
  Prefactor  = 8.54472e-06
  Normalizat = 0.651406
  Prefactor  = 1.07816
 **********
 **   18 **HESSE 
 **********

 FCN=   1217.318     FROM HESSE     STATUS=OK           563 CALLS     4235 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40912E-07    75.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .65143E-04    476.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4244.9        1841.4        .15381E-04   -1.4404    
   4  norm          .67945E-05    259.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .78897E-04    209.45        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    22.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.8895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .99989E-05    157.61        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    8.5518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .99920E-09    17.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     184.93        464.25        .73528E-04   -1.5436    
  12  Prefactor     11.628        19.299        .29350E-03   -1.5640    
  13  Prefactor     .14401E-03    301.72        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.601        29.537        .20166E-03   -1.5609    
  15  Prefactor     .66079        666.33        .53007E-03   -1.5692    
  16  Prefactor     .22204E-09    29.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .19429E-08    15.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.670        27.957        .27065E-03   -1.5634    
  19  norm          .27756E-09    6.0691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11102E-09    6.6176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     49.437        21.458        .14223E-03   -1.5567    
  22  Prefactor     .14433E-08    37.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        53.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.7083        2.9168        .61842E-03   -1.5675    
  25  Prefactor     .77716E-09    4.2801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .85447E-05    247.93        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .65141        .45990        .71653E-01   -1.0584    
  28  Prefactor     1.0782        .42397        .56124E-01   -.90168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26167e-06
Minuit parameter uncertainties:
  1  0.00352339
  2  0.352262
  3  1841.67
  4  0.084011
  5  0.257109
  6  0.000104089
  7  1.7703e-05
  8  0.0793992
  9  3.33689e-05
  10  0.000263494
  11  464.344
  12  19.2994
  13  0.416917
  14  29.5374
  15  41.9716
  16  0.000159755
  17  0.000345887
  18  27.9577
  19  7.86483e-05
  20  4.9207e-05
  21  21.4581
  22  0.00046279
  23  4.23685e-05
  24  2.9168
  25  0.000116758
  26  0.0920577
  27  0.462646
  28  0.425304
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.163e+01  1.930e+01  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.078e+00  4.253e-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:  6.514e-01  4.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 3.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697916/likelihoodResults_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.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): 0
logL (Free Index) = 1217.25647827
delta logL = 0.0616084172054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1217.25574706
delta logL = 0.0623396247177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1501       1.0000          .0000       .10000E+07
     2 'Index     '    3.0135       1.0000          .0000       10.000    
     3 'Normalizat'    .64017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0856       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.

 FCN=   1217.256     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      288 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1588        18.923        .14038E-04    .37071E-02
   2  Index         3.0149        1.6038        .38240E-02    .29363E-04
   3  Normalizat    .63976        .51110        .31957E-03    .40235E-04
   4  Prefactor     1.0858        .50630        .24730E-03    .24695E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.1588
  Index      = 3.01494
  Normalizat = 0.639755
  Prefactor  = 1.08575
 **********
 **   18 **HESSE 
 **********

 FCN=   1217.256     FROM HESSE     STATUS=OK            23 CALLS      311 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1588        18.061        .56152E-06   -1.5651    
   2  Index         3.0149        1.5335        .15296E-03   -.40826    
   3  Normalizat    .63976        .51160        .12783E-04   -1.0632    
   4  Prefactor     1.0858        .50676        .49461E-04   -.89923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10324e-10
Minuit parameter uncertainties:
  1  18.061
  2  1.56359
  3  0.515468
  4  0.509026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697916': 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) = 1217.2557447
delta logL = 0.06234198482

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  8.159e+00  1.806e+01  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  3.015e+00  1.564e+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.086e+00  5.090e-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:  6.398e-01  5.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
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/697916/cmap_HighResolution_699148801_699408001_4FGL_J2235.3-4836_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-02', job_status='DONE', photon_flux_upper_limit='3.99e-07', time_completed='2023-03-02 01:47:52.263919', job_id='697916', GAL2='1.09', fit_tolerance='1e-08', EG2='0.64', EG='0.65', time_epoch_completed='1677750472.26', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.23e-02', ts2='0.62', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1774' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:47:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 697916: <4FGL_J2235.3-4836_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:40:21 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:40:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:40:22 2023
Terminated at Thu Mar  2 01:47:53 2023
Results reported at Thu Mar  2 01:47:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1774 338.841 -48.6015 699148801 699408001 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 :                                   406.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   450 sec.
    Turnaround time :                            452 sec.

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

