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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1675
RA = 338.799, Dec = -6.3955
tmin = 673488001, tmax = 673747201
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='884161', job_status='RUN', time_executed='2022-05-09 01:27:12.648056', time_epoch_executed='1652084832.65' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884161

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884161/ft1_4FGL_J2235.1-0623_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884161/ft1_4FGL_J2235.1-0623_daily_bin1675.fits outfile=/scratch/kocevski/884161/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1675.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=673488001.0 tmax=673747201.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.58
user 2.36
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.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/884161/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.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.54
user 0.39
sys 0.13

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884161/ltcube_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.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/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits
.....................!
real 16.13
user 15.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884161/ltcube_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits outfile=/scratch/kocevski/884161/expmap_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.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/884161/ltcube_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits
.....................!
real 192.51
user 187.77
sys 3.62

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

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits outfile=/scratch/kocevski/884161/cmap_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.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.799 yref=-6.3955 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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits outfile=/scratch/kocevski/884161/cmap_HighResolution_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.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.799 yref=-6.3955 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.64
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884161/Model_4FGL_J2235.1-0623_daily_bin1675.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/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits.....................!
real 64.72
user 63.37
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits', '/scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits', expMap='/scratch/kocevski/884161/expmap_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits', expCube='/scratch/kocevski/884161/ltcube_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884161/Model_4FGL_J2235.1-0623_daily_bin1675.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/884161/ft1_filtered_4FGL_J2235.1-0623_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884161/ft2_4FGL_J2235.1-0623_daily_bin1675.fits
Exposure map: /scratch/kocevski/884161/expmap_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884161/ltcube_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884161/Model_4FGL_J2235.1-0623_daily_bin1675.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) = 6881.92654978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .88314       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9589       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0596       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.582       1.0000         .10000E-03   10000.    
    10 'norm      '    .10359E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.233       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2645       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.193       1.0000         .10000E-03   10000.    
    14 'norm      '    .97309       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.382       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8943       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1405       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84794       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6881.885     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2398 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1760       -.37429E-07** at limit **
   2  Prefactor     3.1934        9.3936       -.12711E-05   -.67801E-04
   3  Prefactor     .87557        27.244       -.67339E-05    .23598E-03
   4  Prefactor     .10000E-03    4.0168        .49589E-07** at limit **
   5  Prefactor     2.2733        14.636        .78491E-07    .75534E-04
   6  Prefactor     5.9598        5.9267        .10618E-06    .98147E-03
   7  Prefactor     .10000E-03    52.303       -.15160E-05** at limit **
   8  Prefactor     4.0594        2.9909       -.27992E-07    .16829E-03
   9  Prefactor     11.609        30.007       -.44057E-05   -.12156E-03
  10  norm          .10000E-03    1.9248       -.74239E-06** at limit **
  11  Prefactor     22.219        67.307        .35533E-05    .67068E-04
  12  norm          1.2644        .85356        .46372E-07    .58971E-03
  13  Prefactor     22.225        22.781        .58498E-06   -.53136E-04
  14  norm          .97065        1.5975       -.45880E-06   -.67087E-03
  15  Prefactor     18.402        34.819        .72644E-06    .68346E-04
  16  Prefactor     .10000E-03    8.8620       -.11622E-06** at limit **
  17  Prefactor     .10000E-03    6.9568       -.96383E-07** at limit **
  18  norm          .10000E-03    11.282       -.15757E-06** at limit **
  19  Prefactor     .10000E-03    83.383        .11751E-05** at limit **
  20  Prefactor     3.8941        7.3134       -.82963E-07    .11373E-04
  21  Normalizat    1.1404        .19046       -.24248E-06    .18649E-03
  22  Prefactor     .84791        .11984        .45048E-06    .21391E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.19336
  Prefactor  = 0.875565
  Prefactor  = 0.0001
  Prefactor  = 2.27328
  Prefactor  = 5.95984
  Prefactor  = 0.0001
  Prefactor  = 4.05939
  Prefactor  = 11.6093
  norm       = 0.0001
  Prefactor  = 22.2189
  norm       = 1.26439
  Prefactor  = 22.225
  norm       = 0.970645
  Prefactor  = 18.4018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.89412
  Normalizat = 1.14038
  Prefactor  = 0.847908
 **********
 **   18 **HESSE 
 **********

 FCN=   6881.885     FROM HESSE     STATUS=OK           350 CALLS     2748 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1824        .11949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1934        9.3739        .22689E-03   -1.5351    
   3  Prefactor     .87557        32.447        .46824E-02   -1.5521    
   4  Prefactor     .10000E-03    4.0214        .16236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2733        14.824        .27249E-03   -1.5406    
   6  Prefactor     5.9598        6.1514        .82248E-03   -1.5220    
   7  Prefactor     .10000E-03    52.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0594        2.9846        .11748E-03   -1.5305    
   9  Prefactor     11.609        30.349        .11771E-03   -1.5026    
  10  norm          .10000E-03    3.4100        .21570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.219        67.698        .84949E-04   -1.4765    
  12  norm          1.2644        .84472        .60074E-04   -1.5483    
  13  Prefactor     22.225        23.334        .85025E-04   -1.4765    
  14  norm          .97065        1.5000        .85919E-03   -1.5511    
  15  Prefactor     18.402        34.105        .93416E-04   -1.4850    
  16  Prefactor     .10000E-03    8.9636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.9944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    83.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.8941        7.2971        .20446E-03   -1.5313    
  21  Normalizat    1.1404        .22555        .26924E-03   -.88466    
  22  Prefactor     .84791        .14265        .20004E-03   -.97986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27083e-09
Minuit parameter uncertainties:
  1  1.58398e-06
  2  9.37818
  3  10.6658
  4  6.9059e-06
  5  11.6141
  6  6.15207
  7  0.000245063
  8  2.9847
  9  30.3895
  10  6.16535e-05
  11  67.9334
  12  0.844727
  13  23.3434
  14  1.50008
  15  34.1414
  16  2.1576e-06
  17  4.00352e-06
  18  2.15219e-05
  19  0.000247831
  20  7.29872
  21  0.225738
  22  0.142713
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  2.222e+01  6.793e+01  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.479e-01  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.140e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 7.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884161/likelihoodResults_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.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) = 6881.84740032
delta logL = 0.037580815937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6881.83738098
delta logL = 0.0476001550351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.735       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6815       1.0000          .0000       10.000    
     3 'Normalizat'    1.1310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6881.837     FROM MIGRAD    STATUS=FAILED        85 CALLS      281 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.735        90.189        .10808E-03    .72355E-03
   2  Index         2.6817        2.2951        .45890E-02   -.96283E-04
   3  Normalizat    1.1298        .21720        .27033E-03   -.30154E-04
   4  Prefactor     .85163        .14017        .19963E-03   -.15490E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6881.837     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      355 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.735        90.189        .60704E-03   -1.4967    
   2  Index         2.6817        2.2951        .17115E-02   -.48212    
   3  Normalizat    1.1298        .21720        .17753E-03   -.88800    
   4  Prefactor     .85163        .14017        .17059E-03   -.97852    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6881.837     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      384 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.726        59.304        .21616E-04    .83310E-04
   2  Index         2.6820        1.8907        .18356E-03    .30348E-04
   3  Normalizat    1.1298        .21651        .10813E-04   -.54672E-04
   4  Prefactor     .85164        .13974        .79853E-05   -.43850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7263
  Index      = 2.68196
  Normalizat = 1.12982
  Prefactor  = 0.851635
 **********
 **   18 **HESSE 
 **********

 FCN=   6881.837     FROM HESSE     STATUS=OK            23 CALLS      407 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.726        58.130        .43232E-05   -1.4967    
   2  Index         2.6820        1.8725        .73424E-05   -.48206    
   3  Normalizat    1.1298        .21622        .21626E-05   -.88800    
   4  Prefactor     .85164        .13958        .15971E-05   -.97852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.92022e-11
Minuit parameter uncertainties:
  1  56.5886
  2  1.93332
  3  0.21639
  4  0.139636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884161': 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) = 6881.83736615
delta logL = 0.0476149888518

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.373e+01  5.659e+01  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.682e+00  1.933e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.516e-01  1.396e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.130e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 338.799 -6.396

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/884161/cmap_HighResolution_673488001_673747201_4FGL_J2235.1-0623_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', job_status='DONE', photon_flux_upper_limit='7.87e-08', time_completed='2022-05-09 01:38:10.003349', job_id='884161', GAL2='0.85', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1652085490.0', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.76e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1675' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:38:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 884161: <4FGL_J2235.1-0623_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:28 2022
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:34 2022
Terminated at Mon May  9 01:38:10 2022
Results reported at Mon May  9 01:38:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1675 338.799 -6.3955 673488001 673747201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.1-0623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            762 sec.

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

