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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1452
RA = 339.144, Dec = -14.5557
tmin = 615686401, tmax = 615945601
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='415438', job_status='RUN', time_executed='2021-09-28 17:37:10.039137', time_epoch_executed='1632875830.04' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415438

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415438/ft1_4FGL_J2236.5-1433_daily_bin1452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415438/ft1_4FGL_J2236.5-1433_daily_bin1452.fits outfile=/scratch/kocevski/415438/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1452.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=615686401.0 tmax=615945601.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.43
user 3.19
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.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/415438/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1452.fits evtable="EVENTS" outfile="/scratch/kocevski/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.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/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits" evtable="EVENTS" scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits sctable="SC_DATA" outfile=/scratch/kocevski/415438/ltcube_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.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/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits
.....................!
real 12.39
user 12.06
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits sctable="SC_DATA" expcube=/scratch/kocevski/415438/ltcube_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.fits outfile=/scratch/kocevski/415438/expmap_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.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/415438/ltcube_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.fits
.....................!
real 190.57
user 185.02
sys 5.19

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/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits outfile=/scratch/kocevski/415438/cmap_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits outfile=/scratch/kocevski/415438/cmap_HighResolution_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/415438/ft2_4FGL_J2236.5-1433_daily_bin1452.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415438/Model_4FGL_J2236.5-1433_daily_bin1452.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/415438/ft1_filtered_4FGL_J2236.5-1433_daily_bin1452.fits.....................!
real 59.20
user 57.75
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9149       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49832E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .26484E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8998       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10340E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1647       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.625       1.0000         .10000E-03   10000.    
    15 'norm      '    .92212       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.707       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0687       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2014       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0638       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99251       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=   6935.194     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2271 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4534        .87466E-08** at limit **
   2  Prefactor     5.7914        18.761        .39594E-06   -.58086E-05
   3  Prefactor     .74537        8.6376        .18259E-06    .10099E-03
   4  Prefactor     .10000E-03    5.1136        .89229E-08** at limit **
   5  Prefactor     .10000E-03    57.193        .28617E-06** at limit **
   6  Prefactor     2.9036        3.3593        .24449E-06   -.18753E-04
   7  Prefactor     .10000E-03    645.49       -.11391E-04** at limit **
   8  norm          .10000E-03    .68566        .10731E-07** at limit **
   9  Prefactor     .10000E-03    24.061        .98708E-08** at limit **
  10  Prefactor     .10000E-03    4.7180        .36991E-07** at limit **
  11  norm          2.1630        .98546       -.13541E-06    .45753E-03
  12  norm          .10000E-03    .68689        .11500E-07** at limit **
  13  Prefactor     .10000E-03    45.360        .75193E-07** at limit **
  14  Prefactor     35.700        30.368        .86740E-06    .37329E-04
  15  norm          .91694        2.3145       -.49309E-06   -.18115E-03
  16  Prefactor     10.767        21.585        .86440E-06    .18332E-04
  17  Prefactor     3.0734        5.5847        .31610E-06   -.11417E-04
  18  Prefactor     1.5480        5.6921        .17152E-05   -.82490E-05
  19  Prefactor     4.2012        12.385        .41006E-06    .22422E-04
  20  Normalizat    1.0613        .18365       -.68990E-06    .63546E-04
  21  Prefactor     .99304        .14008       -.43920E-06    .64073E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.79143
  Prefactor  = 0.745369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90363
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.16298
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.7005
  norm       = 0.916942
  Prefactor  = 10.767
  Prefactor  = 3.07339
  Prefactor  = 1.54802
  Prefactor  = 4.20124
  Normalizat = 1.06133
  Prefactor  = 0.993037
 **********
 **   18 **HESSE 
 **********

 FCN=   6935.194     FROM HESSE     STATUS=OK           321 CALLS     2592 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5083        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7914        18.693        .16512E-03   -1.5227    
   3  Prefactor     .74537        54.452        .44744E-02   -1.5535    
   4  Prefactor     .10000E-03    5.1290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    57.516        .21442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9036        3.3547        .15762E-03   -1.5367    
   7  Prefactor     .10000E-03    649.83        .36299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .68965        .67337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.7365        .17665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1630        .97630        .52645E-04   -1.5414    
  12  norm          .10000E-03    .69008        .67403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    45.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.700        27.714        .67143E-04   -1.4512    
  15  norm          .91694        2.0082        .90584E-04   -1.5516    
  16  Prefactor     10.767        21.392        .12244E-03   -1.5052    
  17  Prefactor     3.0734        5.5716        .23156E-03   -1.5357    
  18  Prefactor     1.5480        5.6575        .34360E-03   -1.5459    
  19  Prefactor     4.2012        12.381        .19661E-03   -1.5298    
  20  Normalizat    1.0613        .22282        .26951E-03   -.91003    
  21  Prefactor     .99304        .16926        .21409E-03   -.92962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95993e-10
Minuit parameter uncertainties:
  1  7.08905e-06
  2  18.7117
  3  12.7528
  4  1.44857e-06
  5  0.00016461
  6  3.35496
  7  0.000671128
  8  6.82591e-07
  9  2.95881e-06
  10  5.52598e-06
  11  0.976307
  12  5.76695e-07
  13  1.95826e-05
  14  27.7241
  15  2.00839
  16  21.4073
  17  5.5725
  18  5.65943
  19  12.3884
  20  0.223017
  21  0.169354
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.163e+00  9.763e-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:  9.930e-01  1.694e-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.061e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.85
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 8.39e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.85e-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) = 6934.09538202
delta logL = 1.09911571287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6934.09131715
delta logL = 1.10318057909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8726       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7198       1.0000          .0000       5.0000    
     3 'Normalizat'    .98864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0257       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=   6934.091     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      275 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8725        .95247        .40303E-04    .15091E-03
   2  alpha         2.7198        .47180        .98427E-02    .10492E-04
   3  Normalizat    .98874        .22203        .27719E-03    .32894E-04
   4  Prefactor     1.0257        .16869        .21073E-03   -.36631E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.87254
  alpha      = 2.71985
  Normalizat = 0.988743
  Prefactor  = 1.02567
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.091     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8725        .91645        .16121E-05   -1.5434    
   2  alpha         2.7198        .45372        .39371E-03    .88052E-01
   3  Normalizat    .98874        .22197        .11087E-04   -.93409    
   4  Prefactor     1.0257        .16869        .84293E-05   -.91879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01041e-11
Minuit parameter uncertainties:
  1  0.916455
  2  0.456265
  3  0.222173
  4  0.168774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415438': 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) = 6934.09131699
delta logL = 1.10318073934

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.873e+00  9.165e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.720e+00  4.563e-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.026e+00  1.688e-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:  9.887e-01  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.14
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.72 +/- 0.46
Photon Flux (Free Index): 1.49e-07 +/- 6.66e-08
Energy Flux (Free Index): 3.59e-05 +/- 1.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/415438/cmap_HighResolution_615686401_615945601_4FGL_J2236.5-1433_daily_bin1452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.39e-08', energy_flux2='3.59e-05', photon_flux_error='3.79e-08', dlogl='1.10e+00', energy_flux='4.10e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-09-28 17:46:34.402640', photon_index_error2='0.46', photon_index2='2.72', ts='11.85', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='1.06', time_epoch_completed='1632876394.4', return_code='0', job_id='415438', GAL2='1.03', EG2='0.99', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='6.66e-08', ts2='14.14', photon_index='2.06' WHERE bin_id='1452' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:46:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 415438: <4FGL_J2236.5-1433_daily_bin1452> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1452 339.144 -14.5557 615686401 615945601 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 :                                   559.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            662 sec.

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

