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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1722
RA = 338.971, Dec = -36.4605
tmin = 685670401, tmax = 685929601
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='248930', job_status='RUN', time_executed='2022-09-27 01:09:52.080965', time_epoch_executed='1664266192.08' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248930

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248930/ft1_4FGL_J2235.8-3627_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248930/ft1_4FGL_J2235.8-3627_daily_bin1722.fits outfile=/scratch/kocevski/248930/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1722.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=685670401.0 tmax=685929601.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.80
user 3.54
sys 0.21

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248930/ltcube_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.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/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits
.....................!
real 15.03
user 14.41
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248930/ltcube_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits outfile=/scratch/kocevski/248930/expmap_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.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/248930/ltcube_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits
.....................!
real 193.89
user 186.35
sys 5.47

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/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits scfile=/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits outfile=/scratch/kocevski/248930/cmap_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.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.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits scfile=/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits outfile=/scratch/kocevski/248930/cmap_HighResolution_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.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.61
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248930/Model_4FGL_J2235.8-3627_daily_bin1722.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/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits.....................!
real 53.36
user 51.73
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits', '/scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits', expMap='/scratch/kocevski/248930/expmap_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits', expCube='/scratch/kocevski/248930/ltcube_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248930/Model_4FGL_J2235.8-3627_daily_bin1722.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/248930/ft1_filtered_4FGL_J2235.8-3627_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/248930/ft2_4FGL_J2235.8-3627_daily_bin1722.fits
Exposure map: /scratch/kocevski/248930/expmap_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits
Exposure cube: /scratch/kocevski/248930/ltcube_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248930/Model_4FGL_J2235.8-3627_daily_bin1722.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6711.7692932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26479E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23298E-06   1.0000          .0000       .10000E+07
     3 'norm      '    1.1774       1.0000          .0000       .10000E+07
     4 'norm      '    7.6357       1.0000          .0000       .10000E+07
     5 'norm      '    .74180       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14400E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59952E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .26635E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11104E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .48052E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .23241E-01   1.0000          .0000       .10000E+07
    12 'norm      '    1.4758       1.0000          .0000       .10000E+07
    13 'Prefactor '    39.466       1.0000          .0000       .10000E+07
    14 'Prefactor '    35.503       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4159       1.0000          .0000       .10000E+07
    16 'norm      '    3.1941       1.0000          .0000       .10000E+07
    17 'Prefactor '    .70867E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.1529       1.0000          .0000       .10000E+07
    19 'norm      '    1.0044       1.0000          .0000       .10000E+07
    20 'Prefactor '    14.993       1.0000          .0000       .10000E+07
    21 'norm      '    22.169       1.0000          .0000       .10000E+07
    22 'norm      '    .39180E-06   1.0000          .0000       .10000E+07
    23 'norm      '    .36064E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    25.222       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12795E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .89828E-06   1.0000          .0000       .10000E+07
    27 'Normalizat'    .91263       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78816       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=   6708.717     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1481 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    3.3634        .30613E-08** at limit **
   2  Prefactor      .0000        2.6170       -.58625E-07** at limit **
   3  norm          1.1153        7.4351       -.24950E-08   -.75579E-04
   4  norm          7.6419        3.7642        .12155E-07    .16825E-03
   5  norm          .74183        .26506       -.78275E-09    .10964E-03
   6  Prefactor     .11102E-08    3.1693       -.43378E-07** at limit **
   7  Prefactor      .0000        2.3469       -.58899E-07** at limit **
   8  norm          .32996E-06    45.789        .49718E-06** at limit **
   9  Prefactor     .44409E-08    19.419       -.12733E-06** at limit **
  10  Prefactor     .22204E-09    5.9010        .31755E-06** at limit **
  11  Prefactor     .28311E-08    38.113        .48394E-06** at limit **
  12  norm          1.4726        1.5774       -.13429E-06   -.10852E-03
  13  Prefactor     39.743        41.680        .21416E-05   -.39878E-01
  14  Prefactor     35.488        10.339       -.11149E-05   -.40141E-01
  15  Prefactor     1.4151        2.4310       -.21761E-07   -.37422E-04
  16  norm          3.1916        3.2253       -.12018E-06   -.23199E-02
  17  Prefactor     .55511E-10    4.4751        .20689E-06** at limit **
  18  Prefactor     5.1804        4.3529        .97744E-06    .38088E-01
  19  norm          1.0035        .56414       -.11646E-06   -.51203E-02
  20  Prefactor     14.951        2.3572        .35609E-06    .71130E-01
  21  norm          22.451        5.5079        .19531E-06   -.46535E-01
  22  norm           .0000        1.2963        .37085E-07** at limit **
  23  norm          .55511E-10    4.9073       -.39768E-06** at limit **
  24  Prefactor     25.389        13.161        .12606E-06   -.10076    
  25  Prefactor     .15543E-08    11.383        .55527E-07** at limit **
  26  norm           .0000        1.8490       -.22361E-08** at limit **
  27  Normalizat    .91211        .17332        .88888E-06    .42142E-05
  28  Prefactor     .78863        .17018       -.19839E-06    .47550E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  norm       = 1.11525
  norm       = 7.64185
  norm       = 0.741829
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  norm       = 3.29958e-07
  Prefactor  = 4.44089e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 2.83107e-09
  norm       = 1.47256
  Prefactor  = 39.7426
  Prefactor  = 35.4883
  Prefactor  = 1.41507
  norm       = 3.19162
  Prefactor  = 5.55112e-11
  Prefactor  = 5.18037
  norm       = 1.0035
  Prefactor  = 14.9506
  norm       = 22.4509
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 25.3894
  Prefactor  = 1.55431e-09
  norm       = 0
  Normalizat = 0.912109
  Prefactor  = 0.788628
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.717     FROM HESSE     STATUS=OK           581 CALLS     2062 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    3.3853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.6235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1153        7.3912        .10544E-02   -1.5687    
   4  norm          7.6419        3.7821        .36267E-03   -1.5653    
   5  norm          .74183        .26408        .54067E-03   -1.5691    
   6  Prefactor     .11102E-08    3.1952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .32996E-06    45.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-08    19.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    5.9384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28311E-08    13.658        .94853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4726        1.6028        .88368E-03   -1.5684    
  13  Prefactor     39.743        48.420        .15920E-03   -1.5582    
  14  Prefactor     35.488        12.318        .16785E-03   -1.5589    
  15  Prefactor     1.4151        2.4858        .90940E-03   -1.5684    
  16  norm          3.1916        3.3083        .56670E-03   -1.5672    
  17  Prefactor     .55511E-10    4.5054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.1804        10.191        .44264E-03   -1.5662    
  19  norm          1.0035        .67591        .43922E-03   -1.5688    
  20  Prefactor     14.951        9.5931        .25840E-03   -1.5631    
  21  norm          22.451        24.103        .21244E-03   -1.5613    
  22  norm           .0000        1.2998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    4.9576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.389        25.926        .19916E-03   -1.5607    
  25  Prefactor     .15543E-08    11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        1.8510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .91211        .15358        .45063E-01   -.96036    
  28  Prefactor     .78863        .14479        .43563E-01   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66158e-06
Minuit parameter uncertainties:
  1  0.00011141
  2  1.06319e-05
  3  5.74216
  4  3.78213
  5  0.264084
  6  0.000118022
  7  1.14048e-05
  8  0.00772088
  9  0.00058742
  10  7.02536e-05
  11  0.000393675
  12  1.60276
  13  48.4208
  14  12.3181
  15  2.48585
  16  3.30835
  17  3.61371e-05
  18  10.1911
  19  0.675907
  20  9.59309
  21  24.1033
  22  5.6828e-06
  23  3.31129e-05
  24  25.9261
  25  0.000268651
  26  5.66584e-06
  27  0.153657
  28  0.144863
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  2.220e-10  7.025e-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:  7.886e-01  1.449e-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:  9.121e-01  1.537e-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: 3.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248930/likelihoodResults_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.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) = 6708.71755365
delta logL = -0.000163279442859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6708.71739122
delta logL = -8.47940100357e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26174E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .42085       1.0000          .0000       10.000    
     3 'Normalizat'    .91200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78866       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=   6708.717     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      261 TOTAL
                     EDM=   .92E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .25551E-01    .42118E-03** at limit **
   2  Index         2.6494        8.5930        .38552        .29490E-10
   3  Normalizat    .91211        .27197E-03    .45055E-01    .11360E-03
   4  Prefactor     .78863        .26502E-03    .43569E-01    .43898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.64937
  Normalizat = 0.91211
  Prefactor  = 0.788627
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.717     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      292 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .71853E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6494        5.4965        .50000       -.48943    
   3  Normalizat    .91211        .45554E-03    .22525E-03   -.96036    
   4  Prefactor     .78863        .44391E-03    .23318E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98598e-13
Minuit parameter uncertainties:
  1  3.34661e-06
  2  14084.7
  3  0.000455539
  4  0.00044391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248930': 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) = 6708.71739038
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  3.347e-06  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.649e+00  1.408e+04  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:  7.886e-01  4.439e-04  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:  9.121e-01  4.555e-04  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/248930/cmap_HighResolution_685670401_685929601_4FGL_J2235.8-3627_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-03', job_status='DONE', photon_flux_upper_limit='3.96e-08', time_completed='2022-09-27 01:20:19.550292', job_id='248930', GAL2='0.79', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1664266819.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.82e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1722' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:20:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 248930: <4FGL_J2235.8-3627_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:57 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:07:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:07:52 2022
Terminated at Tue Sep 27 01:20:20 2022
Results reported at Tue Sep 27 01:20:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1722 338.971 -36.4605 685670401 685929601 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 :                                   627.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            863 sec.

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

