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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1097
RA = 339.144, Dec = -14.5557
tmin = 523670401, tmax = 523929601
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='413944', job_status='RUN', time_executed='2021-09-28 17:31:45.041439', time_epoch_executed='1632875505.04' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1097'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413944/ft1_4FGL_J2236.5-1433_daily_bin1097.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413944/ft1_4FGL_J2236.5-1433_daily_bin1097.fits outfile=/scratch/kocevski/413944/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1097.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=523670401.0 tmax=523929601.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.53
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.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/413944/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1097.fits evtable="EVENTS" outfile="/scratch/kocevski/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.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/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits" evtable="EVENTS" scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits sctable="SC_DATA" outfile=/scratch/kocevski/413944/ltcube_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.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/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits
.....................!
real 11.71
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits sctable="SC_DATA" expcube=/scratch/kocevski/413944/ltcube_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.fits outfile=/scratch/kocevski/413944/expmap_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.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/413944/ltcube_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.fits
.....................!
real 189.50
user 185.18
sys 3.99

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/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits outfile=/scratch/kocevski/413944/cmap_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits outfile=/scratch/kocevski/413944/cmap_HighResolution_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/413944/ft2_4FGL_J2236.5-1433_daily_bin1097.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413944/Model_4FGL_J2236.5-1433_daily_bin1097.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/413944/ft1_filtered_4FGL_J2236.5-1433_daily_bin1097.fits.....................!
real 47.93
user 46.73
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.123       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.372       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9534       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2516       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.767       1.0000         .10000E-03   10000.    
    11 'norm      '    .29420E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .48868       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.067       1.0000         .10000E-03   10000.    
    15 'norm      '    .11562E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10611E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.785       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11278E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0928       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84847       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=   5067.635     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2310 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.964        13.717        .11526E-06   -.46029E-05
   2  Prefactor     15.122        19.364        .48120E-06   -.84041E-04
   3  Prefactor     23.366        19.532       -.12996E-06   -.32426E-04
   4  Prefactor     12.045        16.422        .14790E-06   -.12880E-04
   5  Prefactor     .10000E-03    31.135        .12665E-05** at limit **
   6  Prefactor     4.9533        4.3129       -.39243E-07   -.63192E-04
   7  Prefactor     .10000E-03    44.195       -.18873E-06** at limit **
   8  norm          2.2520        3.4659        .76320E-07   -.23362E-03
   9  Prefactor     21.091        74.933        .62939E-05    .27344E-04
  10  Prefactor     10.763        15.274        .11397E-05   -.31336E-03
  11  norm          .26319E-01    .52211        .38003E-07    .94069E-04
  12  norm          .48860        1.5889        .36382E-06   -.31740E-03
  13  Prefactor     .10000E-03    19.763        .19291E-06** at limit **
  14  Prefactor     55.074        18.940       -.10092E-05   -.59253E-03
  15  norm          .10000E-03    1.0028        .91556E-06** at limit **
  16  Prefactor     .10000E-03    25.550       -.75746E-06** at limit **
  17  Prefactor     .10000E-03    3.7056       -.91386E-08** at limit **
  18  Prefactor     12.780        16.466       -.10923E-06   -.94734E-04
  19  Prefactor     .10000E-03    11.165        .56161E-07** at limit **
  20  Normalizat    1.0928        .23518       -.20005E-06   -.12118E-03
  21  Prefactor     .84853        .16795       -.55398E-06   -.90256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.9641
  Prefactor  = 15.1222
  Prefactor  = 23.3663
  Prefactor  = 12.0455
  Prefactor  = 0.0001
  Prefactor  = 4.9533
  Prefactor  = 0.0001
  norm       = 2.25196
  Prefactor  = 21.0907
  Prefactor  = 10.7628
  norm       = 0.0263187
  norm       = 0.488596
  Prefactor  = 0.0001
  Prefactor  = 55.0742
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7804
  Prefactor  = 0.0001
  Normalizat = 1.09282
  Prefactor  = 0.848527
 **********
 **   18 **HESSE 
 **********

 FCN=   5067.635     FROM HESSE     STATUS=OK           325 CALLS     2635 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.964        13.714        .69791E-04   -1.4559    
   2  Prefactor     15.122        19.328        .51496E-03   -1.4930    
   3  Prefactor     23.366        19.589        .82855E-04   -1.4741    
   4  Prefactor     12.045        16.403        .11544E-03   -1.5014    
   5  Prefactor     .10000E-03    31.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9533        4.3050        .12820E-03   -1.5263    
   7  Prefactor     .10000E-03    44.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2520        3.4601        .15605E-03   -1.5408    
   9  Prefactor     21.091        75.761        .87268E-04   -1.4789    
  10  Prefactor     10.763        15.184        .61051E-03   -1.5052    
  11  norm          .26319E-01    4.8407        .97878E-03   -1.5676    
  12  norm          .48860        1.4340        .15705E-02   -1.5568    
  13  Prefactor     .10000E-03    19.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.074        19.556        .54054E-04   -1.4222    
  15  norm          .10000E-03    1.5281        .12818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7096        .13383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.780        16.524        .11203E-03   -1.4993    
  19  Prefactor     .10000E-03    11.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0928        .28405        .27917E-03   -.89983    
  21  Prefactor     .84853        .20318        .23051E-03   -.97964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87127e-09
Minuit parameter uncertainties:
  1  13.7151
  2  19.3362
  3  19.5948
  4  16.4092
  5  9.59441e-05
  6  4.30525
  7  6.40092e-06
  8  3.46042
  9  76.1093
  10  15.1891
  11  0.712563
  12  1.43412
  13  8.19206e-06
  14  19.5578
  15  2.989e-05
  16  8.00467e-05
  17  2.5421e-07
  18  16.5301
  19  5.24526e-06
  20  0.284446
  21  0.203361
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.632e-02  7.126e-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:  8.485e-01  2.034e-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.093e+00  2.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 8.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413944/likelihoodResults_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.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) = 5067.4860974
delta logL = 0.149243985789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5067.48443617
delta logL = 0.150905214705

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17404       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1941       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83573       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=   5067.484     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      256 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17405        .45945        .15238E-01    .46522E-02
   2  alpha         1.1941        .65274        .50000       -.33784E-04
   3  Normalizat    1.1044        .22251        .62817E-01    .10705E-04
   4  Prefactor     .83577        .16528        .44181E-01    .83884E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.174046
  alpha      = 1.19409
  Normalizat = 1.1044
  Prefactor  = 0.83577
 **********
 **   18 **HESSE 
 **********

 FCN=   5067.484     FROM HESSE     STATUS=OK            35 CALLS      291 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17405        .44214        .69856E-03   -1.5625    
   2  alpha         1.1941        .95709        .19839E-01   -.54962    
   3  Normalizat    1.1044        .26611        .27785E-03   -.89611    
   4  Prefactor     .83577        .19788        .23202E-03   -.98423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17461e-09
Minuit parameter uncertainties:
  1  0.442144
  2  0.992566
  3  0.266434
  4  0.198047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413944': 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) = 5067.48443614
delta logL = 0.150905237832

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.740e-01  4.421e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.194e+00  9.926e-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:  8.358e-01  1.980e-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.104e+00  2.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.144 -14.556

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/413944/cmap_HighResolution_523670401_523929601_4FGL_J2236.5-1433_daily_bin1097.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', job_status='DONE', photon_flux_upper_limit='8.63e-08', time_completed='2021-09-28 17:40:35.310202', job_id='413944', GAL2='0.84', fit_tolerance='1e-08', EG2='1.10', EG='1.09', time_epoch_completed='1632876035.31', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.51e-01', ts2='0.31', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1097' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:40:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 413944: <4FGL_J2236.5-1433_daily_bin1097> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1097 339.144 -14.5557 523670401 523929601 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 :                                   527.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            593 sec.

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

