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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1354
RA = 339.144, Dec = -14.5557
tmin = 590284801, tmax = 590544001
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='415292', job_status='RUN', time_executed='2021-09-28 17:36:22.284886', time_epoch_executed='1632875782.28' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415292

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415292/ft1_4FGL_J2236.5-1433_daily_bin1354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415292/ft1_4FGL_J2236.5-1433_daily_bin1354.fits outfile=/scratch/kocevski/415292/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1354.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=590284801.0 tmax=590544001.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.67
user 3.46
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits" evtable="EVENTS" scfile=/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits sctable="SC_DATA" outfile=/scratch/kocevski/415292/ltcube_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.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/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits
.....................!
real 11.90
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits evtable="EVENTS" scfile=/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits sctable="SC_DATA" expcube=/scratch/kocevski/415292/ltcube_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits outfile=/scratch/kocevski/415292/expmap_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.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/415292/ltcube_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits
.....................!
real 190.20
user 185.24
sys 4.64

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/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits scfile=/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits outfile=/scratch/kocevski/415292/cmap_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits scfile=/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits outfile=/scratch/kocevski/415292/cmap_HighResolution_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits', '/scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits', expMap='/scratch/kocevski/415292/expmap_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits', expCube='/scratch/kocevski/415292/ltcube_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/415292/Model_4FGL_J2236.5-1433_daily_bin1354.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/415292/ft1_filtered_4FGL_J2236.5-1433_daily_bin1354.fits
Spacecraft file(s): /scratch/kocevski/415292/ft2_4FGL_J2236.5-1433_daily_bin1354.fits
Exposure map: /scratch/kocevski/415292/expmap_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits
Exposure cube: /scratch/kocevski/415292/ltcube_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/415292/Model_4FGL_J2236.5-1433_daily_bin1354.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) = 9091.86760301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.371       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9426       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7725       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11137E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5045       1.0000         .10000E-03   10000.    
     8 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.758       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2583       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4230       1.0000         .10000E-03   10000.    
    12 'norm      '    .83050       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .27777E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    75.830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    114.09       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3183       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .59766       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.

 FCN=   9091.863     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2235 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.370        8.6793        .15154E-07   -.17399E-04
   2  Prefactor     .10000E-03    8.6792       -.20238E-07** at limit **
   3  Prefactor     3.9427        8.1410        .26183E-06   -.45889E-04
   4  Prefactor     9.7855        15.656        .16209E-05    .14167E-03
   5  Prefactor     .10000E-03    36.660       -.36395E-07** at limit **
   6  Prefactor     .10000E-03    3.3485       -.10658E-05** at limit **
   7  Prefactor     6.5141        85.915        .13654E-06    .54660E-05
   8  norm          .10000E-03    3.7006       -.15347E-06** at limit **
   9  Prefactor     11.749        86.978        .91201E-06    .62071E-05
  10  Prefactor     6.2574        8.7285        .49002E-07   -.48203E-04
  11  norm          1.4229        .90392        .14051E-07   -.98769E-04
  12  norm          .83038        1.6036        .47849E-06    .56243E-03
  13  Prefactor     .10000E-03    26.669       -.86633E-07** at limit **
  14  Prefactor     .10000E-03    237.08        .27479E-05** at limit **
  15  norm          75.828        6.1487       -.70412E-07   -.17325E-03
  16  Prefactor     114.14        109.61        .12364E-05    .39958E-04
  17  Prefactor     .10000E-03    12.712        .27237E-06** at limit **
  18  Prefactor     .10000E-03    6.2474        .10557E-06** at limit **
  19  Prefactor     .10000E-03    13.765        .97583E-08** at limit **
  20  Normalizat    1.3183        .21400       -.10504E-05    .16511E-03
  21  Prefactor     .59757        .14914        .11388E-05   -.26545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3702
  Prefactor  = 0.0001
  Prefactor  = 3.94266
  Prefactor  = 9.78547
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.51408
  norm       = 0.0001
  Prefactor  = 11.7487
  Prefactor  = 6.25738
  norm       = 1.42289
  norm       = 0.830379
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 75.828
  Prefactor  = 114.139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.31835
  Prefactor  = 0.597569
 **********
 **   18 **HESSE 
 **********

 FCN=   9091.863     FROM HESSE     STATUS=OK           319 CALLS     2554 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.370        8.6845        .88742E-04   -1.4805    
   2  Prefactor     .10000E-03    8.7075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9427        8.1119        .20316E-03   -1.5311    
   4  Prefactor     9.7855        15.409        .12819E-03   -1.5082    
   5  Prefactor     .10000E-03    36.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6031        .29883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5141        85.862        .15736E-03   -1.5197    
   8  norm          .10000E-03    3.8587        .35736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.749        87.105        .11683E-03   -1.5022    
  10  Prefactor     6.2574        8.7426        .16046E-03   -1.5208    
  11  norm          1.4229        .90177        .69516E-04   -1.5469    
  12  norm          .83038        1.3710        .18294E-02   -1.5526    
  13  Prefactor     .10000E-03    26.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    236.39        .39821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          75.828        6.1396        .45589E-04   -1.3964    
  16  Prefactor     114.14        109.55        .37665E-04   -1.3567    
  17  Prefactor     .10000E-03    12.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3183        .25114        .32512E-03   -.83020    
  21  Prefactor     .59757        .17344        .32946E-03   -1.0769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03232e-10
Minuit parameter uncertainties:
  1  8.68508
  2  2.76296e-07
  3  8.11419
  4  15.4148
  5  7.22623e-06
  6  0.000202515
  7  47.3826
  8  8.26072e-06
  9  64.1111
  10  8.74438
  11  0.901774
  12  1.37101
  13  1.364e-05
  14  0.00111123
  15  6.1397
  16  109.742
  17  3.22423e-05
  18  7.19277e-06
  19  3.25221e-06
  20  0.251369
  21  0.173598
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.423e+00  9.018e-01  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:  5.976e-01  1.736e-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:  1.318e+00  2.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.73
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.52e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 2.70e-05 +/- 1.71e-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) = 9091.58664985
delta logL = 0.276838470943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9091.53329374
delta logL = 0.330194585062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1266       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6266       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59348       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=   9091.533     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1259        .75842        .11026E-01    .61460E-04
   2  alpha         1.6261        .36166        .38050       -.48703E-04
   3  Normalizat    1.3318        .19896        .73237E-01    .39641E-04
   4  Prefactor     .59367        .14180        .74691E-01    .56307E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.12595
  alpha      = 1.62614
  Normalizat = 1.33183
  Prefactor  = 0.593667
 **********
 **   18 **HESSE 
 **********

 FCN=   9091.533     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1259        .93954        .66281E-04   -1.5496    
   2  alpha         1.6261        .51955        .14409E-01   -.35709    
   3  Normalizat    1.3318        .23872        .32405E-03   -.82621    
   4  Prefactor     .59367        .16993        .33074E-03   -1.0785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98183e-09
Minuit parameter uncertainties:
  1  0.939549
  2  0.52391
  3  0.238922
  4  0.170082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415292': 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) = 9091.53329271
delta logL = 0.330195610983

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.126e+00  9.395e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.626e+00  5.239e-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:  5.937e-01  1.701e-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:  1.332e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.42
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 1.63 +/- 0.52
Photon Flux (Free Index): 3.21e-08 +/- 3.18e-08
Energy Flux (Free Index): 3.90e-05 +/- 3.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/415292/cmap_HighResolution_590284801_590544001_4FGL_J2236.5-1433_daily_bin1354.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.52e-08', energy_flux2='3.90e-05', photon_flux_error='3.50e-08', dlogl='3.30e-01', energy_flux='2.70e-05', photon_flux2='3.21e-08', job_status='DONE', time_completed='2021-09-28 17:47:37.769583', photon_index_error2='0.52', photon_index2='1.63', ts='11.73', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='3.49e-05', EG='1.32', time_epoch_completed='1632876457.77', return_code='0', job_id='415292', GAL2='0.59', EG2='1.33', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.18e-08', ts2='12.42', photon_index='2.06' WHERE bin_id='1354' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:47:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 415292: <4FGL_J2236.5-1433_daily_bin1354> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1354> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:35:22 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:35:23 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:35:23 2021
Terminated at Tue Sep 28 17:47:38 2021
Results reported at Tue Sep 28 17:47:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1354 339.144 -14.5557 590284801 590544001 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 :                                   673.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            736 sec.

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

