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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin630
RA = 339.144, Dec = -14.5557
tmin = 402624001, tmax = 402883201
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='412431', job_status='RUN', time_executed='2021-09-28 17:28:46.031191', time_epoch_executed='1632875326.03' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412431

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412431/ft1_4FGL_J2236.5-1433_daily_bin630.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412431/ft1_4FGL_J2236.5-1433_daily_bin630.fits outfile=/scratch/kocevski/412431/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin630.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=402624001.0 tmax=402883201.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.60
user 3.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412431/ft1_filtered_4FGL_J2236.5-1433_daily_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/412431/ltcube_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.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/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412431/ft1_filtered_4FGL_J2236.5-1433_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/412431/ltcube_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.fits outfile=/scratch/kocevski/412431/expmap_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.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/412431/ltcube_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.fits
.....................!
real 190.24
user 185.20
sys 4.69

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/412431/ft1_filtered_4FGL_J2236.5-1433_daily_bin630.fits scfile=/scratch/kocevski/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits outfile=/scratch/kocevski/412431/cmap_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.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/412431/ft1_filtered_4FGL_J2236.5-1433_daily_bin630.fits scfile=/scratch/kocevski/412431/ft2_4FGL_J2236.5-1433_daily_bin630.fits outfile=/scratch/kocevski/412431/cmap_HighResolution_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10318E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6031       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .52804       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.4148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10413E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .60862       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .26739E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.622       1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .77961E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0197       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.441       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .56523       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2560       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=   5730.038     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2297 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2049        .42799E-07** at limit **
   2  Prefactor     .10000E-03    10.484        .84955E-07** at limit **
   3  Prefactor     3.6079        11.385        .41119E-05    .19825E-03
   4  Prefactor     .46332        9.3384        .19969E-05   -.70066E-03
   5  Prefactor     .10000E-03    44.004        .12032E-06** at limit **
   6  Prefactor     .10000E-03    1.7939       -.62024E-07** at limit **
   7  Prefactor     .10000E-03    30.071       -.32758E-06** at limit **
   8  norm          7.4149        3.7609        .10717E-10   -.13485E-03
   9  Prefactor     .10000E-03    86.099        .49866E-07** at limit **
  10  Prefactor     .10000E-03    6.4035       -.28465E-07** at limit **
  11  norm          .60859        .95554        .20612E-07   -.45884E-04
  12  norm          .10000E-03    1.0837        .13490E-07** at limit **
  13  Prefactor     .10001E-03    180.94        .14130E-04** at limit **
  14  Prefactor     17.601        14.233        .32444E-05    .72362E-03
  15  norm          .10000E-03    .69554       -.12913E-05** at limit **
  16  Prefactor     .10492E-03    28.718       -.41062E-05** at limit **
  17  Prefactor     1.0230        9.5366       -.56553E-06    .17964E-03
  18  Prefactor     13.455        13.028        .10293E-05    .27388E-03
  19  Prefactor     .10000E-03    16.842        .57455E-07** at limit **
  20  Normalizat    .56503        .20094        .95975E-07   -.17079E-04
  21  Prefactor     1.2561        .15608       -.84678E-07    .51034E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.60787
  Prefactor  = 0.463324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.41487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.608594
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 17.6008
  norm       = 0.0001
  Prefactor  = 0.000104922
  Prefactor  = 1.02298
  Prefactor  = 13.4554
  Prefactor  = 0.0001
  Normalizat = 0.565033
  Prefactor  = 1.25612
 **********
 **   18 **HESSE 
 **********

 FCN=   5730.038     FROM HESSE     STATUS=OK           327 CALLS     2624 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2195        .10975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6079        11.402        .21287E-03   -1.5328    
   4  Prefactor     .46332        49.465        .43236E-02   -1.5572    
   5  Prefactor     .10000E-03    44.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8091        .98884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    30.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.4149        3.7553        .99937E-04   -1.5163    
   9  Prefactor     .10000E-03    86.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.4963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .60859        .91746        .86168E-04   -1.5552    
  12  norm          .10000E-03    1.0981        .76921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    186.68        .42875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.601        17.000        .95408E-04   -1.4869    
  15  norm          .10000E-03    1.0136        .11455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10492E-03    37.488        .98553E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0230        24.890        .43716E-02   -1.5506    
  18  Prefactor     13.455        13.049        .10926E-03   -1.4974    
  19  Prefactor     .10000E-03    16.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .56503        .22636        .33288E-03   -1.0949    
  21  Prefactor     1.2561        .17860        .18422E-03   -.84621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00678e-08
Minuit parameter uncertainties:
  1  7.9177e-06
  2  5.39859e-05
  3  11.4085
  4  9.58175
  5  3.97831e-05
  6  6.8088e-06
  7  6.05104e-05
  8  3.75543
  9  3.18833e-05
  10  5.00755e-06
  11  0.917484
  12  3.77439e-06
  13  0.00275654
  14  17.0044
  15  4.46291e-05
  16  0.027185
  17  10.0963
  18  13.0513
  19  1.04297e-05
  20  0.226727
  21  0.178685
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.086e-01  9.175e-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:  1.256e+00  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  5.650e-01  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412431/likelihoodResults_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.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) = 5729.58373745
delta logL = 0.454463473279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5729.58306789
delta logL = 0.455133029946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58594       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9455       1.0000          .0000       5.0000    
     3 'Normalizat'    .52469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2720       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=   5729.583     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58543        8.2970        .11243E-01    .11845E-02
   2  alpha         2.9462        3.9726        .42009        .40066E-04
   3  Normalizat    .52465        .41960E-01    .77789E-01    .34802E-04
   4  Prefactor     1.2720        .34216E-01    .33117E-01   -.63559E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.585427
  alpha      = 2.94615
  Normalizat = 0.52465
  Prefactor  = 1.272
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.583     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58543        1.1192        .51088E-03   -1.5555    
   2  alpha         2.9462        1.3220        .15283E-01    .17942    
   3  Normalizat    .52465        .22620        .34448E-03   -1.1129    
   4  Prefactor     1.2720        .18012        .18309E-03   -.84143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.051e-09
Minuit parameter uncertainties:
  1  1.1192
  2  1.39573
  3  0.226598
  4  0.180211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412431': 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) = 5729.58306763
delta logL = 0.455133288145

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  5.854e-01  1.119e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.946e+00  1.396e+00  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.272e+00  1.802e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  5.246e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.95 +/- 1.40
Photon Flux (Free Index): 6.23e-08 +/- 5.78e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.41e-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/412431/cmap_HighResolution_402624001_402883201_4FGL_J2236.5-1433_daily_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-05', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='4.55e-01', photon_flux2='6.23e-08', job_status='DONE', time_completed='2021-09-28 17:37:52.496940', photon_index_error2='1.40', photon_index2='2.95', ts='0.57', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.41e-05', EG='0.57', time_epoch_completed='1632875872.5', return_code='0', job_id='412431', GAL2='1.27', EG2='0.52', return_code2='0', photon_flux_error2='5.78e-08', ts2='1.51', photon_index='2.06' WHERE bin_id='630' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:37:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 412431: <4FGL_J2236.5-1433_daily_bin630> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin630 339.144 -14.5557 402624001 402883201 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 :                                   547.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            742 sec.

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

