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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1233
RA = 339.125, Dec = -23.1552
tmin = 558921601, tmax = 559180801
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='408013', job_status='RUN', time_executed='2021-09-28 17:13:56.121619', time_epoch_executed='1632874436.12' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408013

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408013/ft1_4FGL_J2236.4-2309_daily_bin1233.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408013/ft1_4FGL_J2236.4-2309_daily_bin1233.fits outfile=/scratch/kocevski/408013/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1233.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=558921601.0 tmax=559180801.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.54
user 3.34
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.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/408013/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1233.fits evtable="EVENTS" outfile="/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits" evtable="EVENTS" scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits sctable="SC_DATA" outfile=/scratch/kocevski/408013/ltcube_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.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/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits
.....................!
real 11.56
user 11.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits sctable="SC_DATA" expcube=/scratch/kocevski/408013/ltcube_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits outfile=/scratch/kocevski/408013/expmap_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.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/408013/ltcube_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits
.....................!
real 188.65
user 183.69
sys 4.67

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

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits outfile=/scratch/kocevski/408013/cmap_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.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=339.125 yref=-23.1552 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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits outfile=/scratch/kocevski/408013/cmap_HighResolution_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.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=339.125 yref=-23.1552 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408013/Model_4FGL_J2236.4-2309_daily_bin1233.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/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits.....................!
real 36.72
user 35.49
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits', '/scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits', expMap='/scratch/kocevski/408013/expmap_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits', expCube='/scratch/kocevski/408013/ltcube_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/408013/Model_4FGL_J2236.4-2309_daily_bin1233.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/408013/ft1_filtered_4FGL_J2236.4-2309_daily_bin1233.fits
Spacecraft file(s): /scratch/kocevski/408013/ft2_4FGL_J2236.4-2309_daily_bin1233.fits
Exposure map: /scratch/kocevski/408013/expmap_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits
Exposure cube: /scratch/kocevski/408013/ltcube_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/408013/Model_4FGL_J2236.4-2309_daily_bin1233.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) = 3533.20984776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22024       1.0000         .10000E-03   10000.    
     2 'Prefactor '    136.57       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    55.376       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.203       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19447E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.3317       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    44.096       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.183       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8511       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12876E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1841       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71025       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3532.899     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2082 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.882       -.18646E-04** at limit **
   2  Prefactor     153.17        169.51        .37183E-05   -.56441E-04
   3  norm          .10000E-03    .28279       -.65229E-07** at limit **
   4  Prefactor     .10000E-03    9.6147       -.82155E-07** at limit **
   5  Prefactor     .10000E-03    5.6333        .25312E-06** at limit **
   6  Prefactor     .10000E-03    23.167       -.16406E-05** at limit **
   7  Prefactor     .10040E-03    75.060        .37291E-06** at limit **
   8  norm          51.370        49.476       -.21583E-05    .68588E-03
   9  Prefactor     16.012        23.914        .24295E-06   -.42675E-03
  10  norm          .10000E-03    .43162        .35033E-06** at limit **
  11  norm          .10000E-03    2.6895       -.20908E-06** at limit **
  12  Prefactor     .10036E-03    73.977        .12471E-04** at limit **
  13  Prefactor     .10000E-03    19.626        .19604E-05** at limit **
  14  Prefactor     .10000E-03    34.969       -.23209E-04** at limit **
  15  norm          3.3909        1.5536       -.10760E-05   -.30299E-03
  16  norm          .10000E-03    4.3157       -.11599E-05** at limit **
  17  Prefactor     41.087        34.965        .29652E-06   -.40744E-02
  18  Prefactor     .10000E-03    17.884        .25960E-06** at limit **
  19  Prefactor     42.280        15.134       -.21848E-06    .10371E-01
  20  norm          5.9069        2.0399        .15674E-06   -.37429E-03
  21  Prefactor     .10000E-03    3.8849        .11424E-05** at limit **
  22  Prefactor     .10000E-03    35.584        .34044E-05** at limit **
  23  Normalizat    1.1897        .35147        .45514E-06   -.29848E-04
  24  Prefactor     .70741        .26198       -.31042E-06   -.25007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 153.175
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100399
  norm       = 51.37
  Prefactor  = 16.0118
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.39087
  norm       = 0.0001
  Prefactor  = 41.0868
  Prefactor  = 0.0001
  Prefactor  = 42.2803
  norm       = 5.90695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18975
  Prefactor  = 0.707407
 **********
 **   18 **HESSE 
 **********

 FCN=   3532.899     FROM HESSE     STATUS=OK           439 CALLS     2521 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.879        .10070E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     153.17        168.21        .86162E-03   -1.3226    
   3  norm          .10000E-03    .27659        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.4893        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.6223        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.948        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10040E-03    75.800        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          51.370        49.374        .13476E-02   -1.4273    
   9  Prefactor     16.012        23.815        .24875E-02   -1.4907    
  10  norm          .10000E-03    .41693        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.6636        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10036E-03    74.775        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.733        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3909        1.5684        .55438E-02   -1.5340    
  16  norm          .10000E-03    4.3097        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.087        36.648        .15093E-02   -1.4425    
  18  Prefactor     .10000E-03    17.862        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.280        34.967        .15252E-02   -1.4407    
  20  norm          5.9069        2.6696        .41506E-02   -1.5222    
  21  Prefactor     .10000E-03    3.8897        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    35.389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1897        .28653        .60193E-01   -.86920    
  24  Prefactor     .70741        .21444        .42538E-01   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75685e-07
Minuit parameter uncertainties:
  1  0.000114175
  2  168.743
  3  1.06385e-07
  4  2.00583e-05
  5  6.51516e-08
  6  1.03812e-05
  7  0.0110086
  8  49.4136
  9  23.8296
  10  5.7882e-07
  11  3.91198e-07
  12  0.0104034
  13  1.79528e-05
  14  2.57517e-05
  15  1.56838
  16  5.82271e-06
  17  36.6684
  18  9.71872e-06
  19  34.9844
  20  2.66964
  21  4.79716e-06
  22  4.57535e-05
  23  0.286913
  24  0.214686
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.601e+01  2.383e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  7.074e-01  2.147e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.190e+00  2.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 2.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.87e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408013/likelihoodResults_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.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): 0
logL (Free Index) = 3532.52947814
delta logL = 0.369549526312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3532.52581006
delta logL = 0.373217607018

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3532.526     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      291 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5450        208.80        .72792E-03   -.17462E-03
   2  Index         4.0833        6.8566        .74018E-02   -.26986E-04
   3  Normalizat    1.1206        .34743        .27298E-03   -.17791E-03
   4  Prefactor     .74945        .26955        .25538E-03   -.20990E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.54501
  Index      = 4.08332
  Normalizat = 1.12062
  Prefactor  = 0.749448
 **********
 **   18 **HESSE 
 **********

 FCN=   3532.526     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5450        18.927        .29117E-04   -1.5159    
   2  Index         4.0833        2.0091        .29607E-03   -.18438    
   3  Normalizat    1.1206        .34819        .54596E-04   -.89092    
   4  Prefactor     .74945        .26543        .51077E-04   -1.0162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11478e-10
Minuit parameter uncertainties:
  1  18.9416
  2  2.06971
  3  0.348908
  4  0.265881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408013': 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) = 3532.52580287
delta logL = 0.373224797151

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  7.545e+00  1.894e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  4.083e+00  2.070e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  7.494e-01  2.659e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.121e+00  3.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 4.08 +/- 2.07
Photon Flux (Free Index): 1.12e-07 +/- 1.14e-07
Energy Flux (Free Index): 1.66e-05 +/- 1.70e-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/408013/cmap_HighResolution_558921601_559180801_4FGL_J2236.4-2309_daily_bin1233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.87e-02', comment='SUCCESS', energy_flux2='1.66e-05', dlogl='3.73e-01', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-28 17:21:44.888969', photon_index_error2='2.07', photon_index2='4.08', ts='0.55', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='2.36e-07', energy_flux_error2='1.70e-05', EG='1.19', time_epoch_completed='1632874904.89', return_code='0', job_id='408013', GAL2='0.75', EG2='1.12', return_code2='0', photon_flux_error2='1.14e-07', ts2='1.39', photon_index='2.74' WHERE bin_id='1233' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:21:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 408013: <4FGL_J2236.4-2309_daily_bin1233> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1233> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:10:51 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:10:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 17:10:53 2021
Terminated at Tue Sep 28 17:21:45 2021
Results reported at Tue Sep 28 17:21:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1233 339.125 -23.1552 558921601 559180801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.4-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   468.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            654 sec.

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

