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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1075
RA = 339.144, Dec = -14.5557
tmin = 517968001, tmax = 518227201
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='413910', job_status='RUN', time_executed='2021-09-28 17:32:12.889953', time_epoch_executed='1632875532.89' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413910

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413910/ft1_4FGL_J2236.5-1433_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413910/ft1_4FGL_J2236.5-1433_daily_bin1075.fits outfile=/scratch/kocevski/413910/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1075.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=517968001.0 tmax=518227201.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.73
user 3.48
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.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/413910/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1075.fits evtable="EVENTS" outfile="/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/413910/ltcube_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.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/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits
.....................!
real 14.58
user 14.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/413910/ltcube_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits outfile=/scratch/kocevski/413910/expmap_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.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/413910/ltcube_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits
.....................!
real 190.54
user 185.52
sys 4.71

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

Setting source of interest to:
4FGL J2236.5-1433 @ 339.144 -14.5557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits outfile=/scratch/kocevski/413910/cmap_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.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.144 yref=-14.5557 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits outfile=/scratch/kocevski/413910/cmap_HighResolution_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.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.144 yref=-14.5557 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413910/Model_4FGL_J2236.5-1433_daily_bin1075.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/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits.....................!
real 51.84
user 50.56
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits', '/scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits', expMap='/scratch/kocevski/413910/expmap_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits', expCube='/scratch/kocevski/413910/ltcube_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/413910/Model_4FGL_J2236.5-1433_daily_bin1075.xml', optimizer='MINUIT')

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

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/413910/ft1_filtered_4FGL_J2236.5-1433_daily_bin1075.fits
Spacecraft file(s): /scratch/kocevski/413910/ft2_4FGL_J2236.5-1433_daily_bin1075.fits
Exposure map: /scratch/kocevski/413910/expmap_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits
Exposure cube: /scratch/kocevski/413910/ltcube_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/413910/Model_4FGL_J2236.5-1433_daily_bin1075.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) = 5606.71659292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1662       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.185       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2680       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13624E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29998E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18971E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.955       1.0000         .10000E-03   10000.    
     8 'norm      '    17.510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3763       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3615       1.0000         .10000E-03   10000.    
    12 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    57.831       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0929       1.0000         .10000E-03   10000.    
    15 'norm      '    6.8465       1.0000         .10000E-03   10000.    
    16 'Prefactor '    59.347       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5994       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .36673       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .47589       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2649       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5606.667     FROM MIGRAD    STATUS=CONVERGED    818 CALLS     2986 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1700        6.7526        .19746E-03    .97300E-05
   2  Prefactor     42.202        24.520        .61721E-04   -.36839E-05
   3  Prefactor     9.2757        12.882        .13165E-03   -.86358E-06
   4  Prefactor     .10001E-03    85.239        .44220E-02** at limit **
   5  Prefactor     .10000E-03    74.437        .19495    ** at limit **
   6  Prefactor     .98559E-01    42.598        .21954E-02    .14535E-03
   7  Prefactor     29.993        57.231        .73204E-04   -.35719E-05
   8  norm          17.496        5.9397        .95714E-04   -.31001E-04
   9  Prefactor     .10000E-03    74.509        .18142E-02** at limit **
  10  Prefactor     1.3876        32.187        .37129E-03    .58177E-06
  11  norm          1.3618        1.0011        .60616E-04    .10447E-03
  12  norm          .10000E-03    1.1321        .77582E-03** at limit **
  13  Prefactor     57.892        56.469        .52754E-04    .48704E-05
  14  Prefactor     5.1415        116.19        .17816E-03   -.16591E-05
  15  norm          6.8429        4.0207        .50643E-04   -.10573E-03
  16  Prefactor     59.359        45.298        .52080E-04    .87317E-05
  17  Prefactor     5.6019        9.1834        .16977E-03    .44866E-05
  18  Prefactor     .10000E-03    23.463        .36285E-03** at limit **
  19  Prefactor     .38388        121.93        .56349E-02    .51861E-04
  20  Normalizat    .47582        .25642        .39923E-03    .12188E-04
  21  Prefactor     1.2645        .19585        .19964E-03   -.39578E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17005
  Prefactor  = 42.2024
  Prefactor  = 9.27574
  Prefactor  = 0.000100009
  Prefactor  = 0.000100003
  Prefactor  = 0.0985587
  Prefactor  = 29.9926
  norm       = 17.4959
  Prefactor  = 0.0001
  Prefactor  = 1.38757
  norm       = 1.36183
  norm       = 0.0001
  Prefactor  = 57.8917
  Prefactor  = 5.14151
  norm       = 6.84286
  Prefactor  = 59.3587
  Prefactor  = 5.60188
  Prefactor  = 0.0001
  Prefactor  = 0.383877
  Normalizat = 0.475823
  Prefactor  = 1.2645
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.667     FROM HESSE     STATUS=OK           309 CALLS     3295 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1700        6.7508        .78985E-05   -1.5300    
   2  Prefactor     42.202        24.514        .24688E-05   -1.4408    
   3  Prefactor     9.2757        12.879        .52658E-05   -1.5099    
   4  Prefactor     .10001E-03    87.165        .17688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    76.331        .19107       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98559E-01    42.513        .87816E-04   -1.5645    
   7  Prefactor     29.993        57.219        .29282E-05   -1.4612    
   8  norm          17.496        5.9251        .38286E-05   -1.4871    
   9  Prefactor     .10000E-03    74.513        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3876        32.103        .14852E-04   -1.5472    
  11  norm          1.3618        1.0008        .24247E-05   -1.5475    
  12  norm          .10000E-03    1.1321        .15516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     57.892        56.435        .10551E-04   -1.4185    
  14  Prefactor     5.1415        115.04        .71265E-05   -1.5254    
  15  norm          6.8429        4.0046        .20257E-05   -1.5185    
  16  Prefactor     59.359        45.272        .20832E-05   -1.4166    
  17  Prefactor     5.6019        9.1823        .67909E-05   -1.5235    
  18  Prefactor     .10000E-03    23.464        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .38388        126.48        .22539E-03   -1.5584    
  20  Normalizat    .47582        .25634        .15969E-04   -1.1355    
  21  Prefactor     1.2645        .19527        .79855E-05   -.84369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37811e-10
Minuit parameter uncertainties:
  1  6.75201
  2  24.5199
  3  12.883
  4  0.00179083
  5  0.000888479
  6  4.09478
  7  57.3242
  8  5.92529
  9  2.67369e-05
  10  13.3561
  11  1.00085
  12  9.51825e-07
  13  56.4875
  14  48.7468
  15  4.00473
  16  45.2982
  17  9.18459
  18  5.1645e-05
  19  13.9641
  20  0.256977
  21  0.195382
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.362e+00  1.001e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.264e+00  1.954e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  4.758e-01  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.62
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.28e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 1.90e-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) = 5606.61814724
delta logL = 0.0487093313477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5606.48050276
delta logL = 0.186353811273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64767       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3553       1.0000          .0000       5.0000    
     3 'Normalizat'    .50600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2580       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5606.480     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64497        .60080        .10531E-01   -.23400E-03
   2  alpha         1.3528        .46296        .33444       -.52758E-04
   3  Normalizat    .50608        .22128        .87617E-01    .49199E-04
   4  Prefactor     1.2579        .17438        .33385E-01    .22022E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.644965
  alpha      = 1.35276
  Normalizat = 0.506081
  Prefactor  = 1.2579
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.480     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64497        .85846        .46642E-04   -1.5547    
   2  alpha         1.3528        .74057        .13106E-01   -.47675    
   3  Normalizat    .50608        .23935        .38818E-03   -1.1213    
   4  Prefactor     1.2579        .18931        .20024E-03   -.84568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47315e-11
Minuit parameter uncertainties:
  1  0.858476
  2  0.755023
  3  0.239835
  4  0.189416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413910': 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) = 5606.4804975
delta logL = 0.186359066663

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.450e-01  8.585e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.353e+00  7.550e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.258e+00  1.894e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  5.061e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 1.35 +/- 0.76
Photon Flux (Free Index): 1.73e-08 +/- 2.28e-08
Energy Flux (Free Index): 4.36e-05 +/- 5.78e-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/413910/cmap_HighResolution_517968001_518227201_4FGL_J2236.5-1433_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.28e-08', energy_flux2='4.36e-05', photon_flux_error='3.88e-08', dlogl='1.86e-01', energy_flux='2.58e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2021-09-28 17:41:28.554463', photon_index_error2='0.76', photon_index2='1.35', ts='4.62', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', energy_flux_error2='5.78e-05', EG='0.48', time_epoch_completed='1632876088.55', return_code='0', job_id='413910', GAL2='1.26', EG2='0.51', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='2.28e-08', ts2='5.01', photon_index='2.06' WHERE bin_id='1075' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:41:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 413910: <4FGL_J2236.5-1433_daily_bin1075> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1075> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 17:30:41 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:30:42 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:30:42 2021
Terminated at Tue Sep 28 17:41:30 2021
Results reported at Tue Sep 28 17:41:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1075 339.144 -14.5557 517968001 518227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.5-1433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   555.00 sec.
    Max Memory :                                 1025 MB
    Average Memory :                             307.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            649 sec.

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

