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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1390
RA = 339.144, Dec = -14.5557
tmin = 599616001, tmax = 599875201
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='415345', job_status='RUN', time_executed='2021-09-28 17:36:52.628762', time_epoch_executed='1632875812.63' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415345

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415345/ft1_4FGL_J2236.5-1433_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415345/ft1_4FGL_J2236.5-1433_daily_bin1390.fits outfile=/scratch/kocevski/415345/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1390.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=599616001.0 tmax=599875201.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 2.53
user 2.32
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/415345/ltcube_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.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/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits
.....................!
real 12.19
user 11.86
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/415345/ltcube_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.fits outfile=/scratch/kocevski/415345/expmap_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.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/415345/ltcube_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.fits
.....................!
real 191.53
user 186.93
sys 4.29

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/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits scfile=/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits outfile=/scratch/kocevski/415345/cmap_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits scfile=/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits outfile=/scratch/kocevski/415345/cmap_HighResolution_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/415345/ft2_4FGL_J2236.5-1433_daily_bin1390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415345/Model_4FGL_J2236.5-1433_daily_bin1390.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/415345/ft1_filtered_4FGL_J2236.5-1433_daily_bin1390.fits.....................!
real 57.81
user 55.97
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .58467       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4584       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4035       1.0000         .10000E-03   10000.    
     8 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10714E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6359       1.0000         .10000E-03   10000.    
    12 'norm      '    .21751E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    80.901       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.7965       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.028       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.584       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7061       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2710       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .71425       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=   6515.934     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2258 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9420        .26835E-06** at limit **
   2  Prefactor     48.457        26.163       -.50789E-06   -.16826E-03
   3  Prefactor     .60077        56.786        .75686E-05    .64876E-05
   4  Prefactor     2.4597        7.7711        .31619E-06   -.56374E-04
   5  Prefactor     44.323        66.150       -.28163E-06   -.24256E-04
   6  Prefactor     .10000E-03    3.2577        .46697E-06** at limit **
   7  Prefactor     8.4031        49.300        .23730E-08   -.89448E-05
   8  norm          .10000E-03    1.3254        .30460E-06** at limit **
   9  Prefactor     .10000E-03    157.35        .19799E-05** at limit **
  10  Prefactor     .10001E-03    64.108       -.16359E-05** at limit **
  11  norm          3.6359        1.1337       -.14804E-09   -.37912E-03
  12  norm          .10004E-03    2.4070        .10855E-05** at limit **
  13  Prefactor     80.997        59.358        .82643E-07   -.97678E-04
  14  Prefactor     .10000E-03    24.922        .26936E-06** at limit **
  15  norm          4.7949        1.7984        .43449E-07   -.33220E-03
  16  Prefactor     11.042        31.910       -.35444E-06   -.28818E-04
  17  Prefactor     29.584        12.691        .10638E-06   -.33303E-04
  18  Prefactor     2.7051        10.825        .31424E-06   -.25933E-04
  19  Prefactor     .10000E-03    7.8956        .79414E-07** at limit **
  20  Normalizat    1.2711        .23142        .20142E-05   -.41662E-03
  21  Prefactor     .71423        .17204       -.35775E-05   -.25899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 48.4572
  Prefactor  = 0.600767
  Prefactor  = 2.4597
  Prefactor  = 44.3227
  Prefactor  = 0.0001
  Prefactor  = 8.40311
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 3.63589
  norm       = 0.000100042
  Prefactor  = 80.9966
  Prefactor  = 0.0001
  norm       = 4.79494
  Prefactor  = 11.0422
  Prefactor  = 29.5838
  Prefactor  = 2.70512
  Prefactor  = 0.0001
  Normalizat = 1.27106
  Prefactor  = 0.714227
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.934     FROM HESSE     STATUS=OK           319 CALLS     2577 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0015        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     48.457        26.023        .57604E-04   -1.4315    
   3  Prefactor     .60077        59.201        .46171E-02   -1.5553    
   4  Prefactor     2.4597        7.7343        .26085E-03   -1.5394    
   5  Prefactor     44.323        66.108        .60217E-04   -1.4375    
   6  Prefactor     .10000E-03    3.4366        .28544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4031        49.259        .13829E-03   -1.5128    
   8  norm          .10000E-03    1.3754        .18225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    158.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    68.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6359        1.1329        .45778E-04   -1.5327    
  12  norm          .10004E-03    23.952        .18524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     80.997        59.775        .22327E-03   -1.3906    
  14  Prefactor     .10000E-03    25.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.7949        1.8305        .49570E-04   -1.5270    
  16  Prefactor     11.042        32.600        .12064E-03   -1.5043    
  17  Prefactor     29.584        12.688        .73661E-04   -1.4620    
  18  Prefactor     2.7051        10.815        .24761E-03   -1.5379    
  19  Prefactor     .10000E-03    7.8990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2711        .23929        .25376E-03   -.84434    
  21  Prefactor     .71423        .17432        .24435E-03   -1.0297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21213e-09
Minuit parameter uncertainties:
  1  2.03522e-05
  2  26.0291
  3  11.9386
  4  7.73742
  5  66.2171
  6  3.68697e-05
  7  40.741
  8  1.22533e-05
  9  0.000202341
  10  0.00150247
  11  1.13287
  12  0.00201389
  13  59.8195
  14  4.10478e-05
  15  1.83051
  16  32.6526
  17  12.6894
  18  10.8208
  19  7.35464e-06
  20  0.239495
  21  0.174456
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.636e+00  1.133e+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:  7.142e-01  1.745e-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.271e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.19
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.41e-07 +/- 4.39e-08
Energy Flux (Fixed Index): 6.89e-05 +/- 2.15e-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) = 6515.89232739
delta logL = 0.0416246020623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6515.8895071
delta logL = 0.044444889535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5811       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1439       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71771       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=   6515.890     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5813        1.7765        .53387E-02   -.89345E-03
   2  alpha         2.1440        .40729        .18543        .66238E-05
   3  Normalizat    1.2629        .19379        .57525E-01   -.14694E-04
   4  Prefactor     .71776        .14453        .42636E-01    .30597E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.5813
  alpha      = 2.14396
  Normalizat = 1.26286
  Prefactor  = 0.717757
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.890     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5813        1.1276        .44897E-04   -1.5329    
   2  alpha         2.1440        .26867        .79013E-02   -.14290    
   3  Normalizat    1.2629        .23078        .25439E-03   -.84682    
   4  Prefactor     .71776        .17174        .24376E-03   -1.0284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5718e-11
Minuit parameter uncertainties:
  1  1.12766
  2  0.269203
  3  0.230972
  4  0.171868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415345': 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) = 6515.88950699
delta logL = 0.0444450008135

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.581e+00  1.128e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.144e+00  2.692e-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:  7.178e-01  1.719e-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.263e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.23
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.14 +/- 0.27
Photon Flux (Free Index): 1.50e-07 +/- 5.34e-08
Energy Flux (Free Index): 6.47e-05 +/- 2.40e-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/415345/cmap_HighResolution_599616001_599875201_4FGL_J2236.5-1433_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-07', energy_flux2='6.47e-05', photon_flux_error='4.39e-08', dlogl='4.44e-02', energy_flux='6.89e-05', photon_flux2='1.50e-07', job_status='DONE', time_completed='2021-09-28 17:45:57.982607', photon_index_error2='0.27', photon_index2='2.14', ts='30.19', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.27', time_epoch_completed='1632876357.98', return_code='0', job_id='415345', GAL2='0.72', EG2='1.26', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='5.34e-08', ts2='30.23', photon_index='2.06' WHERE bin_id='1390' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 415345: <4FGL_J2236.5-1433_daily_bin1390> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1390 339.144 -14.5557 599616001 599875201 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 :                                   535.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            632 sec.

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

