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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1453
RA = 339.144, Dec = -14.5557
tmin = 615945601, tmax = 616204801
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='415440', job_status='RUN', time_executed='2021-09-28 17:36:18.998975', time_epoch_executed='1632875779.0' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415440/ft1_4FGL_J2236.5-1433_daily_bin1453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415440/ft1_4FGL_J2236.5-1433_daily_bin1453.fits outfile=/scratch/kocevski/415440/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1453.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=615945601.0 tmax=616204801.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 4.22
user 3.95
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415440/ft1_filtered_4FGL_J2236.5-1433_daily_bin1453.fits" evtable="EVENTS" scfile=/scratch/kocevski/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits sctable="SC_DATA" outfile=/scratch/kocevski/415440/ltcube_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.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/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits
.....................!
real 11.55
user 11.21
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415440/ft1_filtered_4FGL_J2236.5-1433_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits sctable="SC_DATA" expcube=/scratch/kocevski/415440/ltcube_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.fits outfile=/scratch/kocevski/415440/expmap_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.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/415440/ltcube_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.fits
.....................!
real 190.84
user 185.42
sys 5.06

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/415440/ft1_filtered_4FGL_J2236.5-1433_daily_bin1453.fits scfile=/scratch/kocevski/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits outfile=/scratch/kocevski/415440/cmap_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415440/ft1_filtered_4FGL_J2236.5-1433_daily_bin1453.fits scfile=/scratch/kocevski/415440/ft2_4FGL_J2236.5-1433_daily_bin1453.fits outfile=/scratch/kocevski/415440/cmap_HighResolution_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=339.144 yref=-14.5557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.9363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.477       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.047       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5160       1.0000         .10000E-03   10000.    
     7 'Prefactor '    119.62       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0314       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .89647       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0082       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.157       1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.388       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5787       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2145       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74701       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0574       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=   7055.017     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2263 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1593        .84436E-07** at limit **
   2  Prefactor     3.9363        5.4825        .53582E-07   -.18641E-05
   3  Prefactor     .10000E-03    2.2646       -.11762E-06** at limit **
   4  Prefactor     11.478        11.020       -.13526E-07    .37021E-05
   5  Prefactor     15.972        60.838       -.40592E-06   -.40251E-04
   6  Prefactor     5.5161        4.6800        .21800E-06    .21188E-04
   7  Prefactor     119.61        62.148        .22931E-06   -.71112E-05
   8  norm          5.0313        3.2280       -.41986E-08    .80318E-04
   9  Prefactor     .10000E-03    37.600        .22552E-06** at limit **
  10  Prefactor     .10000E-03    3.6554        .11456E-06** at limit **
  11  norm          .89683        .83867       -.11250E-06    .62889E-04
  12  norm          1.0089        1.6131        .49705E-06    .80757E-03
  13  Prefactor     .10000E-03    20.507        .81769E-07** at limit **
  14  Prefactor     63.157        23.539        .27065E-06    .46200E-03
  15  norm          .10000E-03    1.1945       -.27993E-06** at limit **
  16  Prefactor     32.362        37.551       -.37607E-06    .85177E-04
  17  Prefactor     8.5784        8.3018        .44630E-07    .31305E-04
  18  Prefactor     7.2131        11.416        .36822E-05   -.87296E-05
  19  Prefactor     .10000E-03    5.5702        .20099E-07** at limit **
  20  Normalizat    .74714        .17552       -.48289E-06    .47947E-04
  21  Prefactor     1.0573        .13771       -.23325E-06    .83314E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.93626
  Prefactor  = 0.0001
  Prefactor  = 11.4778
  Prefactor  = 15.9717
  Prefactor  = 5.51607
  Prefactor  = 119.611
  norm       = 5.03133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.896831
  norm       = 1.00887
  Prefactor  = 0.0001
  Prefactor  = 63.1569
  norm       = 0.0001
  Prefactor  = 32.3623
  Prefactor  = 8.57838
  Prefactor  = 7.21309
  Prefactor  = 0.0001
  Normalizat = 0.747142
  Prefactor  = 1.05734
 **********
 **   18 **HESSE 
 **********

 FCN=   7055.017     FROM HESSE     STATUS=OK           323 CALLS     2586 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1835        .12053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9363        5.4755        .20333E-03   -1.5311    
   3  Prefactor     .10000E-03    2.2678        .12342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.478        10.999        .11825E-03   -1.5030    
   5  Prefactor     15.972        60.985        .99983E-04   -1.4908    
   6  Prefactor     5.5161        4.6650        .15118E-03   -1.5238    
   7  Prefactor     119.61        61.942        .18397E-03   -1.3516    
   8  norm          5.0313        3.2204        .11374E-03   -1.5259    
   9  Prefactor     .10000E-03    37.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.6630        .15679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .89683        .81001        .69362E-04   -1.5519    
  12  norm          1.0089        1.3900        .13707E-02   -1.5507    
  13  Prefactor     .10000E-03    20.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     63.157        21.149        .50494E-04   -1.4117    
  15  norm          .10000E-03    1.5667        .14530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.362        37.394        .70408E-04   -1.4570    
  17  Prefactor     8.5784        8.2988        .13686E-03   -1.5122    
  18  Prefactor     7.2131        11.071        .74668E-03   -1.5171    
  19  Prefactor     .10000E-03    5.5712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .74714        .20289        .30078E-03   -1.0206    
  21  Prefactor     1.0573        .16002        .20416E-03   -.90842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99237e-10
Minuit parameter uncertainties:
  1  1.39217e-06
  2  5.47616
  3  1.4605e-06
  4  11.0011
  5  61.2244
  6  4.66526
  7  61.9757
  8  3.22055
  9  1.26129e-05
  10  5.31719e-07
  11  0.810024
  12  1.39009
  13  2.40268e-05
  14  21.1516
  15  8.25435e-07
  16  37.4211
  17  8.29993
  18  11.0743
  19  1.21335e-07
  20  0.203097
  21  0.160088
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  8.968e-01  8.100e-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.057e+00  1.601e-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:  7.471e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.54e-05

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

Saving results to:
/scratch/kocevski/415440/likelihoodResults_615945601_616204801_4FGL_J2236.5-1433_daily_bin1453.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) = 7054.60341219
delta logL = 0.413718986148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7054.59872587
delta logL = 0.418405310944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92503       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6419       1.0000          .0000       5.0000    
     3 'Normalizat'    .72198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       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=   7054.599     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92514        10.202        .12008E-01    .85886E-03
   2  alpha         2.6420        3.8199        .39100        .41265E-04
   3  Normalizat    .72202        .47439E-01    .68933E-01    .27906E-04
   4  Prefactor     1.0649        .37853E-01    .39103E-01    .29508E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.925143
  alpha      = 2.64196
  Normalizat = 0.722024
  Prefactor  = 1.0649
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.599     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92514        .75253        .54391E-04   -1.5516    
   2  alpha         2.6420        .63088        .14210E-01    .56814E-01
   3  Normalizat    .72202        .19989        .30504E-03   -1.0303    
   4  Prefactor     1.0649        .15857        .20327E-03   -.90596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78723e-09
Minuit parameter uncertainties:
  1  0.752537
  2  0.637796
  3  0.200095
  4  0.158637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415440': 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) = 7054.59872575
delta logL = 0.418405426449

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  9.251e-01  7.525e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.642e+00  6.378e-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.065e+00  1.586e-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:  7.220e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.64 +/- 0.64
Photon Flux (Free Index): 6.69e-08 +/- 5.16e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.20e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-05', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.70e-05', photon_flux_error='3.14e-08', dlogl='4.18e-01', energy_flux='1.70e-05', photon_flux2='6.69e-08', job_status='DONE', time_completed='2021-09-28 17:46:38.268851', photon_index_error2='0.64', photon_index2='2.64', ts='2.31', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.20e-05', EG='0.75', time_epoch_completed='1632876398.27', return_code='0', job_id='415440', GAL2='1.06', EG2='0.72', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='5.16e-08', ts2='3.16', photon_index='2.06' WHERE bin_id='1453' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:46:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 415440: <4FGL_J2236.5-1433_daily_bin1453> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1453> 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) <bullet0203>, 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:39 2021
Results reported at Tue Sep 28 17:46:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1453 339.144 -14.5557 615945601 616204801 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 :                                   615.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            666 sec.

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

