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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1597
RA = 338.841, Dec = -48.6015
tmin = 653270401, tmax = 653529601
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='386644', job_status='RUN', time_executed='2021-09-28 16:07:36.398756', time_epoch_executed='1632870456.4' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386644

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386644/ft1_4FGL_J2235.3-4836_daily_bin1597.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386644/ft1_4FGL_J2235.3-4836_daily_bin1597.fits outfile=/scratch/kocevski/386644/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1597.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=653270401.0 tmax=653529601.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.31
user 3.08
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.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/386644/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1597.fits evtable="EVENTS" outfile="/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits" evtable="EVENTS" scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits sctable="SC_DATA" outfile=/scratch/kocevski/386644/ltcube_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.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/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits
.....................!
real 12.61
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits evtable="EVENTS" scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits sctable="SC_DATA" expcube=/scratch/kocevski/386644/ltcube_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits outfile=/scratch/kocevski/386644/expmap_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.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/386644/ltcube_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits
.....................!
real 191.29
user 186.26
sys 4.70

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

Setting source of interest to:
4FGL J2235.3-4836 @ 338.841 -48.6015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits outfile=/scratch/kocevski/386644/cmap_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.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.841 yref=-48.6015 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits outfile=/scratch/kocevski/386644/cmap_HighResolution_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.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.841 yref=-48.6015 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits evtable="EVENTS" scfile=/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386644/Model_4FGL_J2235.3-4836_daily_bin1597.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/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits....................!
real 19.75
user 18.49
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits', '/scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits', expMap='/scratch/kocevski/386644/expmap_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits', expCube='/scratch/kocevski/386644/ltcube_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386644/Model_4FGL_J2235.3-4836_daily_bin1597.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.3-4836'

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.864e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/386644/ft1_filtered_4FGL_J2235.3-4836_daily_bin1597.fits
Spacecraft file(s): /scratch/kocevski/386644/ft2_4FGL_J2235.3-4836_daily_bin1597.fits
Exposure map: /scratch/kocevski/386644/expmap_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits
Exposure cube: /scratch/kocevski/386644/ltcube_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386644/Model_4FGL_J2235.3-4836_daily_bin1597.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) = 1102.56886309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.822       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .59905       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    23.460       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.840       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.836       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29324E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .57483E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.502       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8698       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.063       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.820       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.097       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.285       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.2826       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .32997       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1577       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1102.549     FROM MIGRAD    STATUS=CONVERGED    746 CALLS     4477 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.823        18.007        .21552E-06    .36588E-06
   2  Prefactor     .60683        46.496        .14835E-05   -.44027E-04
   3  Prefactor     .10000E-03    12.527        .20578E-06** at limit **
   4  norm          23.461        13.284        .98899E-07    .92060E-05
   5  Prefactor     .10000E-03    97.561        .26488E-05** at limit **
   6  Prefactor     29.839        24.893       -.25382E-05    .57457E-06
   7  Prefactor     14.837        10.551       -.12867E-06   -.26978E-04
   8  Prefactor     .10003E-03    1232.6       -.49987E-04** at limit **
   9  norm          .10000E-03    11.421       -.28781E-07** at limit **
  10  Prefactor     .10253E-03    10.098       -.17732E-05** at limit **
  11  Prefactor     .10000E-03    57.776       -.13388E-05** at limit **
  12  Prefactor     .10000E-03    20.308       -.11013E-05** at limit **
  13  Prefactor     27.492        65.490       -.42187E-06    .59647E-05
  14  Prefactor     3.7071        523.92        .13729E-04   -.42646E-05
  15  Prefactor     32.129        51.277       -.58330E-05   -.89600E-04
  16  Prefactor     22.722        1021.3       -.11561E-04   -.70383E-05
  17  Prefactor     .10000E-03    18.071       -.68237E-06** at limit **
  18  Prefactor     27.147        98.938       -.20067E-05    .85658E-06
  19  Prefactor     .10000E-03    15.033        .60876E-06** at limit **
  20  norm          .10000E-03    36.647        .14489E-05** at limit **
  21  norm          .10000E-03    10.201       -.95624E-08** at limit **
  22  norm          .10000E-03    12.879       -.99552E-07** at limit **
  23  Prefactor     13.284        15.562       -.75363E-07   -.64901E-05
  24  Prefactor     2.3158        1111.5        .14408E-04    .50386E-05
  25  Prefactor     .10000E-03    45.419       -.96172E-06** at limit **
  26  norm          .10000E-03    1.5266        .53339E-07** at limit **
  27  Prefactor     .10000E-03    6.7314        .41826E-07** at limit **
  28  Prefactor     .10000E-03    98.454        .23978E-05** at limit **
  29  Normalizat    .33006        .42901       -.60003E-06    .22299E-04
  30  Prefactor     1.1576        .36311       -.74390E-06    .21210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8227
  Prefactor  = 0.606832
  Prefactor  = 0.0001
  norm       = 23.4612
  Prefactor  = 0.000100001
  Prefactor  = 29.839
  Prefactor  = 14.8373
  Prefactor  = 0.000100027
  norm       = 0.0001
  Prefactor  = 0.000102529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4918
  Prefactor  = 3.70707
  Prefactor  = 32.1294
  Prefactor  = 22.7216
  Prefactor  = 0.0001
  Prefactor  = 27.1465
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.2843
  Prefactor  = 2.31583
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.330064
  Prefactor  = 1.15763
 **********
 **   18 **HESSE 
 **********

 FCN=   1102.549     FROM HESSE     STATUS=OK           582 CALLS     5059 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.823        17.995        .92319E-04   -1.4840    
   2  Prefactor     .60683        224.54        .43347E-02   -1.5552    
   3  Prefactor     .10000E-03    13.079        .22916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.461        13.290        .82699E-04   -1.4739    
   5  Prefactor     .10000E-03    97.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.839        24.545        .73345E-04   -1.4615    
   7  Prefactor     14.837        10.541        .86656E-04   -1.4937    
   8  Prefactor     .10003E-03    1219.3        .19853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.422        .10963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10253E-03    147.18        .19232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    57.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.710        .14586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.492        65.321        .76393E-04   -1.4659    
  14  Prefactor     3.7071        538.42        .20513E-03   -1.5323    
  15  Prefactor     32.129        51.390        .70764E-04   -1.4574    
  16  Prefactor     22.722        1024.0        .83851E-04   -1.4754    
  17  Prefactor     .10000E-03    18.130        .13789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     27.147        98.782        .76960E-04   -1.4665    
  19  Prefactor     .10000E-03    15.041        .12581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    36.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    10.201        .10361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    12.882        .11642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     13.284        15.539        .10990E-03   -1.4979    
  24  Prefactor     2.3158        1083.1        .27175E-03   -1.5404    
  25  Prefactor     .10000E-03    45.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.5493        .40032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.7450        .84145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    98.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .33006        .44443        .36400E-03   -1.2109    
  30  Prefactor     1.1576        .39020        .18606E-03   -.87645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66488e-08
Minuit parameter uncertainties:
  1  18.0002
  2  23.4332
  3  5.7374e-05
  4  13.2913
  5  0.000553646
  6  24.5533
  7  10.5424
  8  0.0117445
  9  1.02962e-05
  10  0.0386792
  11  0.00010157
  12  7.40231e-05
  13  65.4913
  14  90.1907
  15  51.4607
  16  310.906
  17  1.83984e-05
  18  99.385
  19  3.61213e-05
  20  0.000102701
  21  2.15043e-07
  22  1.18213e-05
  23  15.544
  24  102.077
  25  8.40942e-05
  26  1.79467e-06
  27  3.04791e-06
  28  0.000297914
  29  0.449299
  30  0.391177
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  7.402e-05  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.158e+00  3.912e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  3.301e-01  4.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 2.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.81e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/386644/likelihoodResults_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.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) = 1102.54881093
delta logL = -0.000229862075912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1102.54858113
delta logL = -5.31483692612e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1102.549     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.993        .90712E-02** at limit **
   2  Index         2.5016        8.2571        .50000        .18593E-05
   3  Normalizat    .33006        .13475E-01    .82169E-01    .14545E-04
   4  Prefactor     1.1576        .12527E-01    .35717E-01    .87664E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.50156
  Normalizat = 0.330063
  Prefactor  = 1.15763
 **********
 **   18 **HESSE 
 **********

 FCN=   1102.549     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    301.72        .14603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5016        8.2528        .50000       -.52324    
   3  Normalizat    .33006        .34223E-01    .36399E-03   -1.2109    
   4  Prefactor     1.1576        .31904E-01    .18606E-03   -.87645    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.28071e-08
Minuit parameter uncertainties:
  1  3.3095e-05
  2  668.471
  3  0.0342249
  4  0.0319041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386644': 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) = 1102.54858107
delta logL = 4.18708623329e-09

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  3.309e-05  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.502e+00  6.685e+02  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.158e+00  3.190e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  3.301e-01  3.422e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.841 -48.602

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/386644/cmap_HighResolution_653270401_653529601_4FGL_J2235.3-4836_daily_bin1597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-02', job_status='DONE', photon_flux_upper_limit='2.33e-07', time_completed='2021-09-28 16:14:52.188415', job_id='386644', GAL2='1.16', fit_tolerance='1e-08', EG2='0.33', EG='0.33', time_epoch_completed='1632870892.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.19e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1597' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:14:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 386644: <4FGL_J2235.3-4836_daily_bin1597> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1597> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 16:05:53 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:05:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:05:55 2021
Terminated at Tue Sep 28 16:14:52 2021
Results reported at Tue Sep 28 16:14:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1597 338.841 -48.6015 653270401 653529601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.3-4836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   426.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   537 sec.
    Turnaround time :                            539 sec.

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

