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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1726
RA = 338.971, Dec = -36.4605
tmin = 686707201, tmax = 686966401
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='88352', job_status='RUN', time_executed='2022-10-09 00:38:42.054749', time_epoch_executed='1665301122.05' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88352/ft1_4FGL_J2235.8-3627_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88352/ft1_4FGL_J2235.8-3627_daily_bin1726.fits outfile=/scratch/kocevski/88352/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1726.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=686707201.0 tmax=686966401.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.09
user 2.85
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.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/88352/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 743

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88352/ltcube_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.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/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits
.....................!
real 15.90
user 15.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88352/ltcube_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.fits outfile=/scratch/kocevski/88352/expmap_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.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/88352/ltcube_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.fits
.....................!
real 190.43
user 185.75
sys 4.09

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/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits outfile=/scratch/kocevski/88352/cmap_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits outfile=/scratch/kocevski/88352/cmap_HighResolution_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88352/ft2_4FGL_J2235.8-3627_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88352/Model_4FGL_J2235.8-3627_daily_bin1726.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/88352/ft1_filtered_4FGL_J2235.8-3627_daily_bin1726.fits.....................!
real 59.42
user 57.96
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32624E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.8461       1.0000          .0000       .10000E+07
     3 'norm      '    .79667E-03   1.0000          .0000       .10000E+07
     4 'norm      '    6.9565       1.0000          .0000       .10000E+07
     5 'norm      '    1.0497       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18148E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .16985E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    29.658       1.0000          .0000       .10000E+07
    10 'Prefactor '    .44475E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58896E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .88207E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    81.012       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.544       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.1125       1.0000          .0000       .10000E+07
    16 'norm      '    .50339       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2846       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.611       1.0000          .0000       .10000E+07
    19 'norm      '    .18643E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .58932E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .87139E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .74595       1.0000          .0000       .10000E+07
    23 'norm      '    18.516       1.0000          .0000       .10000E+07
    24 'Prefactor '    81.626       1.0000          .0000       .10000E+07
    25 'Prefactor '    .40321       1.0000          .0000       .10000E+07
    26 'norm      '    .44742E-07   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .83760       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=   8126.322     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     1586 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    2.2195        .84637E-07** at limit **
   2  Prefactor     7.7906        2.2661       -.58938E-09    .28805E-01
   3  norm          .10825E-07    35.243        .72683E-07** at limit **
   4  norm          6.9600        4.4916       -.47852E-07   -.44641E-02
   5  norm          1.0495        .32327       -.60622E-08   -.21179E-01
   6  Prefactor     .76050E-08    7.7246        .12906E-06** at limit **
   7  Prefactor      .0000        2.0680        .38357E-07** at limit **
   8  norm          .28311E-08    5.2136       -.67712E-07** at limit **
   9  Prefactor     29.647        1.0890       -.28719E-09   -.26460E-02
  10  Prefactor     .89928E-08    2.6584       -.69356E-08** at limit **
  11  Prefactor     .34694E-07    4.8882       -.75564E-08** at limit **
  12  norm           .0000        1.0047       -.80030E-08** at limit **
  13  Prefactor     80.340        50.698       -.12958E-07    .65494E-01
  14  Prefactor     18.383        3.4416       -.58760E-09   -.68806E-02
  15  Prefactor     4.0324        6.7988       -.49243E-08   -.90276E-02
  16  norm          .49966        4.7378        .34557E-07    .79097E-03
  17  Prefactor     4.4298        7.3653       -.39443E-07    .23570E-02
  18  Prefactor     19.613        6.5628        .66294E-08   -.82776E-02
  19  norm          .18602E-01    1.7661       -.40310E-07** at limit **
  20  Prefactor     .16653E-09    3.1535       -.96787E-07** at limit **
  21  norm          .12990E-07    3.0849       -.56715E-08** at limit **
  22  norm          .71697        3.0783       -.55159E-07   -.22193E-02
  23  norm          18.525        3.1855        .30877E-09    .61756E-01
  24  Prefactor     81.786        17.668       -.57642E-08    .20062    
  25  Prefactor     .16376E-07    53.132        .17508E-06** at limit **
  26  norm          .11102E-09    2.5944        .39964E-07** at limit **
  27  Normalizat    1.1386        .18086       -.44679E-06   -.16254E-03
  28  Prefactor     .83750        .16852        .20584E-06   -.12936E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 7.79058
  norm       = 1.08247e-08
  norm       = 6.96
  norm       = 1.04947
  Prefactor  = 7.60503e-09
  Prefactor  = 0
  norm       = 2.83107e-09
  Prefactor  = 29.6467
  Prefactor  = 8.99281e-09
  Prefactor  = 3.46945e-08
  norm       = 0
  Prefactor  = 80.3399
  Prefactor  = 18.3835
  Prefactor  = 4.03244
  norm       = 0.49966
  Prefactor  = 4.42984
  Prefactor  = 19.6125
  norm       = 0.0186025
  Prefactor  = 1.66533e-10
  norm       = 1.29896e-08
  norm       = 0.716967
  norm       = 18.525
  Prefactor  = 81.7863
  Prefactor  = 1.63758e-08
  norm       = 1.11022e-10
  Normalizat = 1.13861
  Prefactor  = 0.837504
 **********
 **   18 **HESSE 
 **********

 FCN=   8126.322     FROM HESSE     STATUS=OK           575 CALLS     2161 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    2.2358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.7906        7.0312        .35774E-03   -1.5652    
   3  norm          .10825E-07    34.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.9600        4.5053        .38013E-03   -1.5655    
   5  norm          1.0495        .32348        .60653E-03   -1.5687    
   6  Prefactor     .76050E-08    7.8686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.0627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .28311E-08    5.2743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.647        35.438        .18365E-03   -1.5599    
  10  Prefactor     .89928E-08    6.2247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .34694E-07    5.8513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.0098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     80.340        56.026        .11111E-03   -1.5529    
  14  Prefactor     18.383        11.639        .23230E-03   -1.5622    
  15  Prefactor     4.0324        7.1823        .49685E-03   -1.5668    
  16  norm          .49966        4.9288        .78369E-03   -1.5694    
  17  Prefactor     4.4298        10.977        .48648E-03   -1.5666    
  18  Prefactor     19.613        12.317        .22589E-03   -1.5619    
  19  norm          .18602E-01    .40483        .17128E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .16653E-09    3.1547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .12990E-07    6.2273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .71697        3.3539        .57054E-03   -1.5691    
  23  norm          18.525        8.4092        .23248E-03   -1.5622    
  24  Prefactor     81.786        41.205        .11069E-03   -1.5527    
  25  Prefactor     .16376E-07    52.912        .89116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .11102E-09    2.5931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1386        .16058        .54491E-01   -.88521    
  28  Prefactor     .83750        .14531        .44205E-01   -.98360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35876e-06
Minuit parameter uncertainties:
  1  4.22535e-05
  2  7.03125
  3  0.00121954
  4  4.50526
  5  0.323478
  6  0.000489461
  7  1.45153e-05
  8  0.000244254
  9  35.4378
  10  0.000473185
  11  0.000900999
  12  2.31127e-06
  13  56.0265
  14  11.6394
  15  7.1823
  16  3.1386
  17  10.9768
  18  12.3174
  19  0.173561
  20  4.69529e-05
  21  0.000569298
  22  3.10138
  23  8.40922
  24  41.2054
  25  0.00186264
  26  3.52597e-05
  27  0.160646
  28  0.145375
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.993e-09  4.732e-04  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:  8.375e-01  1.454e-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.139e+00  1.606e-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: 4.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88352/likelihoodResults_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.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) = 8126.32254909
delta logL = -0.000608116974036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8123.77790372
delta logL = 2.5440372604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16508E-02   1.0000          .0000       .10000E+07
     2 'Index     '    7.5356       1.0000          .0000       10.000    
     3 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91483       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=   8126.322     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      352 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.6914        .42118E-03** at limit **
   2  Index         2.6452        1.0340       -.10126E-04     .0000    
   3  Normalizat    1.1386        1.3578       -.72226E-05   -.64789E-05
   4  Prefactor     .83750        1.2097        .40538E-05    .35124E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.64523
  Normalizat = 1.13862
  Prefactor  = 0.837505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8126.322     FROM HESSE     STATUS=FAILED         9 CALLS      361 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.6914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79164        1.9192       -.10126E-04   -19.340    
   3  Normalizat    1.1386        1.3578       -.72226E-05   -.88521    
   4  Prefactor     .83750        1.2097        .40538E-05   -.98360    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.9147e-13
Minuit parameter uncertainties:
  1  8.61805e-06
  2  1.04371
  3  1.40345
  4  1.25193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88352': 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) = 8126.32194098
delta logL = 7.32143234927e-10

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  8.618e-06  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.645e+00  1.044e+00  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:  8.375e-01  1.252e+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:  1.139e+00  1.403e+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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/88352/cmap_HighResolution_686707201_686966401_4FGL_J2235.8-3627_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='4.04e-08', time_completed='2022-10-09 00:50:14.767890', job_id='88352', GAL2='0.84', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1665301814.77', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='7.32e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1726' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:50:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 88352: <4FGL_J2235.8-3627_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:52 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:36:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:36:04 2022
Terminated at Sun Oct  9 00:50:15 2022
Results reported at Sun Oct  9 00:50:15 2022

Your job looked like:

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

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

