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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1719
RA = 338.971, Dec = -36.4605
tmin = 684892801, tmax = 685152001
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='668228', job_status='RUN', time_executed='2022-09-18 01:22:04.401938', time_epoch_executed='1663489324.4' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668228/ft1_4FGL_J2235.8-3627_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668228/ft1_4FGL_J2235.8-3627_daily_bin1719.fits outfile=/scratch/kocevski/668228/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1719.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=684892801.0 tmax=685152001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.16
user 2.95
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.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/668228/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.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.34
sys 0.16

Number of photons that the gtmktime cut: 30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668228/ltcube_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.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/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits
.....................!
real 16.15
user 15.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668228/ltcube_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits outfile=/scratch/kocevski/668228/expmap_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.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/668228/ltcube_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits
.....................!
real 191.49
user 186.39
sys 4.40

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits outfile=/scratch/kocevski/668228/cmap_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.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.971 yref=-36.4605 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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits outfile=/scratch/kocevski/668228/cmap_HighResolution_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.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.971 yref=-36.4605 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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668228/Model_4FGL_J2235.8-3627_daily_bin1719.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/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits..............................!
real 15.90
user 14.57
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits', '/scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits', expMap='/scratch/kocevski/668228/expmap_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits', expCube='/scratch/kocevski/668228/ltcube_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668228/Model_4FGL_J2235.8-3627_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668228/ft1_filtered_4FGL_J2235.8-3627_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/668228/ft2_4FGL_J2235.8-3627_daily_bin1719.fits
Exposure map: /scratch/kocevski/668228/expmap_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits
Exposure cube: /scratch/kocevski/668228/ltcube_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668228/Model_4FGL_J2235.8-3627_daily_bin1719.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) = 368.240992757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.512       1.0000          .0000       .10000E+07
     2 'Prefactor '    .24721E-05   1.0000          .0000       .10000E+07
     3 'norm      '    18.174       1.0000          .0000       .10000E+07
     4 'norm      '    .76439E-07   1.0000          .0000       .10000E+07
     5 'norm      '    4.6876       1.0000          .0000       .10000E+07
     6 'Prefactor '    .56066E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.792       1.0000          .0000       .10000E+07
     8 'norm      '    .88374E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35361E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15671E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    150.08       1.0000          .0000       .10000E+07
    12 'norm      '    .24758E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12729E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .88951E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .41356E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .61062E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21896E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22887E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .54401E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    .87728E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .21655E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .76965E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .24447E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .36696E+06   1.0000          .0000       .10000E+07
    25 'Prefactor '    14.201       1.0000          .0000       .10000E+07
    26 'norm      '    .24494E-01   1.0000          .0000       .10000E+07
    27 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .30333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   362.9820     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     3639 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.509        23.228        .21161E-05    .10290E-03
   2  Prefactor      .0000        11.609       -.45927E-05** at limit **
   3  norm          18.181        17.297       -.31947E-06   -.59101E-05
   4  norm           .0000        14.267       -.30730E-05** at limit **
   5  norm          4.6875        1.7924       -.70128E-07   -.16728E-03
   6  Prefactor      .0000        25.785       -.57777E-05** at limit **
   7  Prefactor     11.797        15.459        .62115E-06    .58415E-04
   8  norm          .51249E-04    120.34       -.22783E-05** at limit **
   9  Prefactor     .11838E-04    78.462        .79881E-05** at limit **
  10  Prefactor     .26275E-04    118.37        .11525E-04** at limit **
  11  Prefactor     150.06        1.0234        .33860E-08   -.20079E-03
  12  norm           .0000        36.031       -.29666E-05** at limit **
  13  Prefactor     .86896E-03    236.15        .40652E-05** at limit **
  14  Prefactor     .16628E-04    164.92        .30098E-05** at limit **
  15  Prefactor      .0000        61.377       -.17623E-05** at limit **
  16  norm          .57421E-04    143.30        .66309E-05** at limit **
  17  Prefactor     .26867E-02    259.77        .18844E-05** at limit **
  18  Prefactor     .21670E-02    509.95        .38736E-05** at limit **
  19  norm           .0000        41.750       -.49107E-06** at limit **
  20  Prefactor     .13717E-02    421.35       -.17679E-05** at limit **
  21  norm          .52483E-04    558.41       -.44673E-05** at limit **
  22  norm          .21317        395.64       -.78014E-05** at limit **
  23  norm          .77410        18.623       -.19287E-05    .13830E-01
  24  Prefactor     .36696E+06    1.0000       -.42553E-11    .13335E-02
  25  Prefactor     14.215        1.1790        .37699E-07   -.69760E-03
  26  norm          .84898E-02    7.5019       -.10717E-05** at limit **
  27  Normalizat    .10000E-01    .43176        .20768E-03** at limit **
  28  Prefactor     .30333        .23356        .40264E-04    .19350E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.5087
  Prefactor  = 0
  norm       = 18.1808
  norm       = 0
  norm       = 4.68755
  Prefactor  = 0
  Prefactor  = 11.7967
  norm       = 5.12492e-05
  Prefactor  = 1.18381e-05
  Prefactor  = 2.62751e-05
  Prefactor  = 150.063
  norm       = 0
  Prefactor  = 0.000868958
  Prefactor  = 1.66275e-05
  Prefactor  = 0
  norm       = 5.7421e-05
  Prefactor  = 0.00268671
  Prefactor  = 0.00216697
  norm       = 0
  Prefactor  = 0.00137168
  norm       = 5.24826e-05
  norm       = 0.213173
  norm       = 0.774096
  Prefactor  = 366957
  Prefactor  = 14.2146
  norm       = 0.00848983
  Normalizat = 0.01
  Prefactor  = 0.303325
 **********
 **   18 **HESSE 
 **********

 FCN=   362.9820     FROM HESSE     STATUS=OK           561 CALLS     4200 TOTAL
                     EDM=   .74E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.509        23.202        .18731E-03   -1.5601    
   2  Prefactor      .0000        11.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.181        17.295        .23466E-03   -1.5623    
   4  norm           .0000        14.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6875        1.7871        .33896E-03   -1.5665    
   6  Prefactor      .0000        25.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.797        15.462        .29147E-03   -1.5639    
   8  norm          .51249E-04    125.43        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11838E-04    192.83        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26275E-04    120.73        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     150.06        173.31        .81633E-04   -1.5463    
  12  norm           .0000        36.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86896E-03    870.20        .42118E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16628E-04    211.05        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        61.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .57421E-04    168.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .26867E-02    1047.0        .42118E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .21670E-02    663.37        .42118E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        41.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13717E-02    1329.5        .42118E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .52483E-04    1613.1        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .21317        4796.3        .42118E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .77410        27668.        .42118E-03   -1.5690    
  24  Prefactor     .36696E+06    .15681E+06    .20748E-04   -.26933    
  25  Prefactor     14.215        .22984E+06    .26553E-03   -1.5633    
  26  norm          .84898E-02    70714.        .16757E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .34046        .17549       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .30333        .24401        .36838E-01   -1.2207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35642e-05
Minuit parameter uncertainties:
  1  23.2023
  2  1.18403e-05
  3  17.295
  4  8.83896e-06
  5  1.78712
  6  2.81175e-05
  7  15.4625
  8  0.160354
  9  0.0955583
  10  0.112646
  11  173.311
  12  2.02994e-05
  13  1.73941
  14  0.118483
  15  7.41757e-05
  16  0.196696
  17  3.35502
  18  2.39819
  19  2.40014e-06
  20  2.70145
  21  0.582084
  22  64.0026
  23  294.063
  24  159716
  25  3770.2
  26  49.6009
  27  8.23691e-08
  28  0.244837
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  2.628e-05  1.126e-01  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  3.033e-01  2.448e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.000e-02  8.237e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 9.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668228/likelihoodResults_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.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) = 362.985891615
delta logL = -0.00393499008283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 362.98195655
delta logL = 7.42537054066e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   362.9820     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      268 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12323E-07    118.80        .42118E-03** at limit **
   2  Index         1.1437        5.5717        .50000       -.28137E-09
   3  Normalizat    .10000E-01    .81504E-03    .17549    ** at limit **
   4  Prefactor     .30333        .10199E-01    .36839E-01   -.33695E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23235e-08
  Index      = 1.14375
  Normalizat = 0.01
  Prefactor  = 0.303325
 **********
 **   18 **HESSE 
 **********

 FCN=   362.9820     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      301 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12323E-07    585.82        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1437        5.4101        .50000       -.88080    
   3  Normalizat    .10000E-01    .52714E-02    .68382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .30333        .22734E-01    .22511E-03   -1.2207    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45001e-09
Minuit parameter uncertainties:
  1  0.00537636
  2  121508
  3  9.66676e-08
  4  0.0227349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668228': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 362.981956516
delta logL = 1.08694962364e-07

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  1.232e-08  5.376e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.144e+00  1.215e+05  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  3.033e-01  2.273e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.000e-02  9.667e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/668228/cmap_HighResolution_684892801_685152001_4FGL_J2235.8-3627_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-02', job_status='DONE', photon_flux_upper_limit='9.06e-07', time_completed='2022-09-18 01:27:54.939941', job_id='668228', GAL2='0.30', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663489674.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.30', dlogl='1.09e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1719' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:27:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 668228: <4FGL_J2235.8-3627_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:19 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:20:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:20:34 2022
Terminated at Sun Sep 18 01:27:55 2022
Results reported at Sun Sep 18 01:27:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1719 338.971 -36.4605 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.8-3627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   352.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   444 sec.
    Turnaround time :                            456 sec.

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

