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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1415
RA = 338.971, Dec = -36.4605
tmin = 606096001, tmax = 606355201
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='394797', job_status='RUN', time_executed='2021-09-28 16:34:15.595601', time_epoch_executed='1632872055.6' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/394797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/394797/ft1_4FGL_J2235.8-3627_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/394797/ft1_4FGL_J2235.8-3627_daily_bin1415.fits outfile=/scratch/kocevski/394797/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1415.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=606096001.0 tmax=606355201.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.66
user 3.42
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/394797/ltcube_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.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/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits
.....................!
real 12.20
user 11.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/394797/ltcube_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits outfile=/scratch/kocevski/394797/expmap_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.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/394797/ltcube_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits
.....................!
real 195.81
user 187.33
sys 8.06

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/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits scfile=/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits outfile=/scratch/kocevski/394797/cmap_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits scfile=/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits outfile=/scratch/kocevski/394797/cmap_HighResolution_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/394797/Model_4FGL_J2235.8-3627_daily_bin1415.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/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits.....................!
real 39.90
user 38.53
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits', '/scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits', expMap='/scratch/kocevski/394797/expmap_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits', expCube='/scratch/kocevski/394797/ltcube_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/394797/Model_4FGL_J2235.8-3627_daily_bin1415.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  1.000e-04  1.000e+04 ( 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/394797/ft1_filtered_4FGL_J2235.8-3627_daily_bin1415.fits
Spacecraft file(s): /scratch/kocevski/394797/ft2_4FGL_J2235.8-3627_daily_bin1415.fits
Exposure map: /scratch/kocevski/394797/expmap_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits
Exposure cube: /scratch/kocevski/394797/ltcube_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/394797/Model_4FGL_J2235.8-3627_daily_bin1415.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) = 4644.00234817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0529       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3310       1.0000         .10000E-03   10000.    
     3 'norm      '    6.9591       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .26534       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6011       1.0000         .10000E-03   10000.    
     8 'norm      '    21.670       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.006       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3025       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.984       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9058       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.622       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10946E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .95308E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.6340       1.0000         .10000E-03   10000.    
    24 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12227E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10318E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.5694       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .28674       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4643.890     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3245 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0528        10.269       -.57646E-06   -.29874E-04
   2  Prefactor     7.3296        8.7113        .16758E-05   -.26736E-04
   3  norm          6.9575        8.5271        .25271E-05   -.47302E-04
   4  norm          .10000E-03    1.3754       -.20711E-07** at limit **
   5  norm          .26532        .20075       -.16929E-09   -.47758E-04
   6  Prefactor     .10000E-03    18.528        .75542E-06** at limit **
   7  Prefactor     5.6008        4.2266       -.11181E-07    .13768E-04
   8  norm          21.664        24.505        .12555E-06   -.92881E-05
   9  Prefactor     .10000E-03    23.038       -.46357E-06** at limit **
  10  Prefactor     36.008        24.472        .21421E-06    .28215E-05
  11  Prefactor     9.3036        20.731       -.10115E-06    .14742E-05
  12  norm          2.1255        2.0470       -.28077E-06    .28926E-05
  13  Prefactor     .10003E-03    124.54       -.34184E-05** at limit **
  14  Prefactor     10.986        12.465        .21447E-06   -.91156E-05
  15  Prefactor     6.9074        8.3857        .33096E-05   -.46527E-04
  16  norm          .10000E-03    2.1077       -.11866E-07** at limit **
  17  Prefactor     12.612        12.604        .31135E-07   -.11505E-03
  18  Prefactor     .10000E-03    19.386        .71414E-07** at limit **
  19  norm          .95549E-01    .35055        .40300E-06   -.11107E-03
  20  Prefactor     .10000E-03    41.247       -.79137E-06** at limit **
  21  Prefactor     .10000E-03    11.280        .34660E-06** at limit **
  22  norm          .10000E-03    20.568        .23419E-06** at limit **
  23  norm          1.6379        3.8138        .76127E-06    .43388E-03
  24  norm          .10000E-03    6.5860        .79938E-07** at limit **
  25  Prefactor     .10002E-03    72.452        .33357E-05** at limit **
  26  Prefactor     .10000E-03    14.737       -.38129E-06** at limit **
  27  norm          .10002E-03    2.9838       -.11615E-05** at limit **
  28  Normalizat    1.5691        .22184        .39054E-06    .85533E-04
  29  Prefactor     .28705        .20095       -.31598E-05    .63266E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05281
  Prefactor  = 7.32964
  norm       = 6.95754
  norm       = 0.0001
  norm       = 0.265321
  Prefactor  = 0.0001
  Prefactor  = 5.60078
  norm       = 21.6635
  Prefactor  = 0.0001
  Prefactor  = 36.0081
  Prefactor  = 9.3036
  norm       = 2.12549
  Prefactor  = 0.000100026
  Prefactor  = 10.9862
  Prefactor  = 6.90738
  norm       = 0.0001
  Prefactor  = 12.6117
  Prefactor  = 0.0001
  norm       = 0.0955489
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.63787
  norm       = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  norm       = 0.000100018
  Normalizat = 1.56914
  Prefactor  = 0.287047
 **********
 **   18 **HESSE 
 **********

 FCN=   4643.890     FROM HESSE     STATUS=OK           557 CALLS     3802 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0528        10.188        .23219E-03   -1.5359    
   2  Prefactor     7.3296        8.6780        .74068E-03   -1.5166    
   3  norm          6.9575        8.5174        .76039E-03   -1.5180    
   4  norm          .10000E-03    1.3790        .78038E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .26532        .20238        .25840E-04   -1.5605    
   6  Prefactor     .10000E-03    19.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6008        4.2252        .11604E-03   -1.5235    
   8  norm          21.664        24.467        .86043E-04   -1.4777    
   9  Prefactor     .10000E-03    23.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.008        24.490        .66788E-04   -1.4507    
  11  Prefactor     9.3036        20.756        .13140E-03   -1.5098    
  12  norm          2.1255        2.0436        .92507E-04   -1.5416    
  13  Prefactor     .10003E-03    125.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.986        12.516        .12089E-03   -1.5045    
  15  Prefactor     6.9074        8.4002        .76335E-03   -1.5182    
  16  norm          .10000E-03    2.1220        .96512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.612        12.141        .11275E-03   -1.4998    
  18  Prefactor     .10000E-03    19.752        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .95549E-01    .34668        .69069E-03   -1.5646    
  20  Prefactor     .10000E-03    41.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    20.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6379        3.5765        .18731E-03   -1.5452    
  24  norm          .10000E-03    6.7018        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10002E-03    73.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    14.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10002E-03    10.712        .20876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5691        .23896        .19267E-03   -.75854    
  29  Prefactor     .28705        .21231        .38130E-03   -1.2303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22757e-08
Minuit parameter uncertainties:
  1  10.1935
  2  8.67946
  3  8.51888
  4  1.26294e-06
  5  0.202385
  6  0.000149475
  7  4.22545
  8  24.4784
  9  0.000203765
  10  24.4964
  11  20.7721
  12  2.04362
  13  0.00363799
  14  12.5187
  15  8.40162
  16  1.68036e-06
  17  12.1431
  18  1.24569e-05
  19  0.346684
  20  0.000506521
  21  8.74045e-05
  22  7.93437e-05
  23  3.57697
  24  1.21772e-05
  25  0.00256815
  26  0.000147406
  27  0.000866479
  28  0.239128
  29  0.212883
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.601e+01  2.450e+01  1.000e-04  1.000e+04 ( 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:  2.870e-01  2.129e-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.569e+00  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.99
Ra Dec: 338.971 -36.461
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.04e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 1.46e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4643.88853596
delta logL = 0.00125522794769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4643.88826535
delta logL = 0.0015258350104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.283       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1803       1.0000          .0000       10.000    
     3 'Normalizat'    1.5734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28470       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=   4643.888     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      243 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.340        580.46        .16633E-02   -.75115E-05
   2  Index         2.1836        5.8801        .21499        .13912E-04
   3  Normalizat    1.5731        .14433        .43548E-01   -.11081E-04
   4  Prefactor     .28472        .71791E-01    .86416E-01    .57892E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.3399
  Index      = 2.18363
  Normalizat = 1.57314
  Prefactor  = 0.284719
 **********
 **   18 **HESSE 
 **********

 FCN=   4643.888     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.340        25.471        .66533E-04   -1.4502    
   2  Index         2.1836        .82338        .75651E-02   -.59834    
   3  Normalizat    1.5731        .24044        .19248E-03   -.75743    
   4  Prefactor     .28472        .21101        .38278E-03   -1.2317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94094e-10
Minuit parameter uncertainties:
  1  25.4782
  2  0.82893
  3  0.240613
  4  0.211582
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/394797': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4643.88825166
delta logL = 0.00153952544679

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.634e+01  2.548e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.184e+00  8.289e-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:  2.847e-01  2.116e-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.573e+00  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.98
Ra Dec: 338.971 -36.461
Photon Index (Free Index): 2.18 +/- 0.83
Photon Flux (Free Index): 4.75e-08 +/- 5.95e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.89e-05

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/394797/cmap_HighResolution_606096001_606355201_4FGL_J2235.8-3627_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.04e-08', energy_flux2='2.20e-05', photon_flux_error='3.42e-08', dlogl='1.54e-03', energy_flux='2.15e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-28 16:43:54.233378', photon_index_error2='0.83', photon_index2='2.18', ts='7.99', fit_tolerance='1e-08', GAL='0.29', photon_index_error='0.00', energy_flux_error2='1.89e-05', EG='1.57', time_epoch_completed='1632872634.23', return_code='0', job_id='394797', GAL2='0.28', EG2='1.57', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='5.95e-08', ts2='7.98', photon_index='2.23' WHERE bin_id='1415' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:43:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 394797: <4FGL_J2235.8-3627_daily_bin1415> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1415> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep 28 16:30:24 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:30:25 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:30:25 2021
Terminated at Tue Sep 28 16:43:54 2021
Results reported at Tue Sep 28 16:43:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1415 338.971 -36.4605 606096001 606355201 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 :                                   575.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            810 sec.

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

