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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1720
RA = 338.971, Dec = -36.4605
tmin = 685152001, tmax = 685411201
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='849902', job_status='RUN', time_executed='2022-09-21 01:00:01.808626', time_epoch_executed='1663747201.81' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849902/ft1_4FGL_J2235.8-3627_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849902/ft1_4FGL_J2235.8-3627_daily_bin1720.fits outfile=/scratch/kocevski/849902/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1720.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=685152001.0 tmax=685411201.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.75
user 3.52
sys 0.20

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

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

Number of photons that the gtmktime cut: 237

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/849902/ltcube_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.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/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits
.....................!
real 14.62
user 14.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/849902/ltcube_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits outfile=/scratch/kocevski/849902/expmap_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.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/849902/ltcube_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits
.....................!
real 191.05
user 184.48
sys 6.08

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/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits scfile=/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits outfile=/scratch/kocevski/849902/cmap_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits scfile=/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits outfile=/scratch/kocevski/849902/cmap_HighResolution_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849902/Model_4FGL_J2235.8-3627_daily_bin1720.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/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits......................!
real 27.89
user 26.60
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits', '/scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits', expMap='/scratch/kocevski/849902/expmap_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits', expCube='/scratch/kocevski/849902/ltcube_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849902/Model_4FGL_J2235.8-3627_daily_bin1720.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/849902/ft1_filtered_4FGL_J2235.8-3627_daily_bin1720.fits
Spacecraft file(s): /scratch/kocevski/849902/ft2_4FGL_J2235.8-3627_daily_bin1720.fits
Exposure map: /scratch/kocevski/849902/expmap_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits
Exposure cube: /scratch/kocevski/849902/ltcube_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849902/Model_4FGL_J2235.8-3627_daily_bin1720.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) = 2567.16807988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0839       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.1067       1.0000          .0000       .10000E+07
     3 'norm      '    2.0730       1.0000          .0000       .10000E+07
     4 'norm      '    21.259       1.0000          .0000       .10000E+07
     5 'norm      '    .37791       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10031       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0871       1.0000          .0000       .10000E+07
     8 'norm      '    .74197E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51987E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10814E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36591E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .32424E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    146.77       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.147       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65091E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .87312E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .60362E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.1639       1.0000          .0000       .10000E+07
    19 'norm      '    .15654E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10912E-04   1.0000          .0000       .10000E+07
    21 'norm      '    37.140       1.0000          .0000       .10000E+07
    22 'norm      '    .28271E-04   1.0000          .0000       .10000E+07
    23 'norm      '    19.155       1.0000          .0000       .10000E+07
    24 'Prefactor '    .22077E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    32.672       1.0000          .0000       .10000E+07
    26 'norm      '    .53951E-06   1.0000          .0000       .10000E+07
    27 'Normalizat'    .64645       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0227       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=   2566.847     FROM MIGRAD    STATUS=CONVERGED    243 CALLS     2580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0768        9.2527       -.14771E-05    .58665E-03
   2  Prefactor     1.0809        46.070        .17943E-06   -.51226E-03
   3  norm          2.1224        6.4072        .50290E-06   -.12442E-02
   4  norm          21.335        9.1860       -.15903E-06   -.17505E-02
   5  norm          .37784        .50978        .11055E-06   -.54587E-02
   6  Prefactor     .46443E-01    19.207       -.18861E-05** at limit **
   7  Prefactor     1.0940        3.1305        .11417E-05   -.42353E-02
   8  norm          .66613E-09    16.046       -.10870E-06** at limit **
   9  Prefactor     .16653E-09    32.977       -.88026E-06** at limit **
  10  Prefactor      .0000        14.043        .83688E-06** at limit **
  11  Prefactor     .17764E-08    10.283       -.20393E-05** at limit **
  12  norm          .44409E-09    1.4632        .13457E-05** at limit **
  13  Prefactor     157.73        99.794        .26097E-05   -.13833E-01
  14  Prefactor     13.481        14.073       -.46207E-06    .57777E-01
  15  Prefactor     .44409E-09    3.7861        .94558E-06** at limit **
  16  norm          .11102E-09    6.2320       -.15421E-05** at limit **
  17  Prefactor     .49960E-09    32.825       -.35201E-05** at limit **
  18  Prefactor     8.5348        12.056       -.41682E-07   -.11133E-01
  19  norm           .0000        .30460       -.96890E-07** at limit **
  20  Prefactor     .55511E-10    6.3568        .56962E-06** at limit **
  21  norm          38.211        13.873       -.31216E-06    .11820    
  22  norm          .55511E-10    2.8357        .28293E-06** at limit **
  23  norm          19.142        9.2773       -.31882E-06   -.10920    
  24  Prefactor     .83067E-05    123.70        .52476E-05** at limit **
  25  Prefactor     40.242        73.259       -.45120E-06    .28347E-02
  26  norm          .72164E-09    1.9940        .12484E-05** at limit **
  27  Normalizat    .63843        .30394        .47313E-05   -.45749E-04
  28  Prefactor     1.0261        .28717        .16287E-05   -.73071E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07679
  Prefactor  = 1.08094
  norm       = 2.12238
  norm       = 21.3349
  norm       = 0.377841
  Prefactor  = 0.0464434
  Prefactor  = 1.09398
  norm       = 6.66134e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 1.77636e-09
  norm       = 4.44089e-10
  Prefactor  = 157.73
  Prefactor  = 13.4805
  Prefactor  = 4.44089e-10
  norm       = 1.11022e-10
  Prefactor  = 4.996e-10
  Prefactor  = 8.53483
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 38.2113
  norm       = 5.55112e-11
  norm       = 19.1417
  Prefactor  = 8.30669e-06
  Prefactor  = 40.2417
  norm       = 7.21645e-10
  Normalizat = 0.63843
  Prefactor  = 1.02608
 **********
 **   18 **HESSE 
 **********

 FCN=   2566.847     FROM HESSE     STATUS=OK           583 CALLS     3163 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0768        10.232        .71500E-03   -1.5679    
   2  Prefactor     1.0809        20.576        .62158E-02   -1.5687    
   3  norm          2.1224        6.4374        .71714E-03   -1.5679    
   4  norm          21.335        9.4760        .21695E-03   -1.5616    
   5  norm          .37784        .54819        .85618E-03   -1.5696    
   6  Prefactor     .46443E-01    6.1736        .91828E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0940        3.2149        .11495E-02   -1.5687    
   8  norm          .66613E-09    15.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    33.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        14.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17764E-08    10.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    1.4551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     157.73        100.15        .82549E-04   -1.5457    
  14  Prefactor     13.481        16.620        .27600E-03   -1.5635    
  15  Prefactor     .44409E-09    3.7945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    6.2095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .49960E-09    33.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.5348        12.329        .33083E-03   -1.5650    
  19  norm           .0000        .30571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    6.3501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          38.211        50.638        .16411E-03   -1.5584    
  22  norm          .55511E-10    2.8473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          19.142        15.903        .22856E-03   -1.5620    
  24  Prefactor     .83067E-05    131.90        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     40.242        73.654        .17497E-03   -1.5581    
  26  norm          .72164E-09    1.9991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .63843        .25733        .60849E-01   -1.0638    
  28  Prefactor     1.0261        .24094        .41882E-01   -.91865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32248e-06
Minuit parameter uncertainties:
  1  9.21955
  2  9.43208
  3  6.43742
  4  9.47603
  5  0.548188
  6  1.07093
  7  3.21493
  8  0.000204422
  9  0.000152341
  10  1.55152e-05
  11  0.000272169
  12  5.22796e-05
  13  100.147
  14  16.6196
  15  8.29122e-05
  16  5.11432e-05
  17  0.000256592
  18  12.3286
  19  2.62261e-06
  20  4.25065e-05
  21  50.6383
  22  2.49956e-05
  23  15.9029
  24  0.0662033
  25  73.6556
  26  7.52228e-05
  27  0.257819
  28  0.241194
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.552e-05  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:  1.026e+00  2.412e-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:  6.384e-01  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849902/likelihoodResults_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.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) = 2566.85340906
delta logL = -0.0060960191372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2566.84731699
delta logL = -3.95225970351e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78881E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.4553       1.0000          .0000       10.000    
     3 'Normalizat'    .63852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0261       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2566.847     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      233 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.861        .42118E-03** at limit **
   2  Index         1.2243        .76945       -.31572E-04     .0000    
   3  Normalizat    .63843        .97713       -.12725E-04    .55389E-04
   4  Prefactor     1.0261        1.2256        .11368E-04    .66941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.22428
  Normalizat = 0.63843
  Prefactor  = 1.02608
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2566.847     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .10462        1.2252       -.31572E-04   -.85587    
   3  Normalizat    .63843        .97713       -.12725E-04   -1.0638    
   4  Prefactor     1.0261        1.2256        .11368E-04   -.91865    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.63559e-12
Minuit parameter uncertainties:
  1  4.93449e-06
  2  0.776694
  3  1.00571
  4  1.26169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849902': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 2566.84731304
delta logL = 4.54747350886e-13

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  4.934e-06  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.224e+00  7.767e-01  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:  1.026e+00  1.262e+00  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:  6.384e-01  1.006e+00  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/849902/cmap_HighResolution_685152001_685411201_4FGL_J2235.8-3627_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2022-09-21 01:07:51.513213', job_id='849902', GAL2='1.03', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1663747671.51', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.55e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1720' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:07:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 849902: <4FGL_J2235.8-3627_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:17 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:56:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:56:32 2022
Terminated at Wed Sep 21 01:07:52 2022
Results reported at Wed Sep 21 01:07:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1720 338.971 -36.4605 685152001 685411201 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 :                                   471.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             255.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            755 sec.

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

