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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1402
RA = 339.144, Dec = -14.5557
tmin = 602726401, tmax = 602985601
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='415362', job_status='RUN', time_executed='2021-09-28 17:37:08.485406', time_epoch_executed='1632875828.49' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415362/ft1_4FGL_J2236.5-1433_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415362/ft1_4FGL_J2236.5-1433_daily_bin1402.fits outfile=/scratch/kocevski/415362/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1402.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=602726401.0 tmax=602985601.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.07
user 2.86
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.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/415362/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/415362/ft1_filtered_4FGL_J2236.5-1433_daily_bin1402.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/415362/ft1_filtered_4FGL_J2236.5-1433_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/415362/ltcube_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.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/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits
.....................!
real 12.11
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415362/ft1_filtered_4FGL_J2236.5-1433_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/415362/ltcube_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.fits outfile=/scratch/kocevski/415362/expmap_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.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/415362/ltcube_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.fits
.....................!
real 190.28
user 185.12
sys 4.84

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/415362/ft1_filtered_4FGL_J2236.5-1433_daily_bin1402.fits scfile=/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits outfile=/scratch/kocevski/415362/cmap_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.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/415362/ft1_filtered_4FGL_J2236.5-1433_daily_bin1402.fits scfile=/scratch/kocevski/415362/ft2_4FGL_J2236.5-1433_daily_bin1402.fits outfile=/scratch/kocevski/415362/cmap_HighResolution_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    265.91       1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.864       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    111.82       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .87586E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    75.823       1.0000         .10000E-03   10000.    
     8 'norm      '    18.491       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .36173       1.0000         .10000E-03   10000.    
    12 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    66.122       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    14.160       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    69.861       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67509       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97642       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=   2070.453     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2717 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.398        .47879E-07** at limit **
   2  Prefactor     265.91        271.20       -.21972E-06   -.51124E-05
   3  Prefactor     68.858        65.523       -.34910E-06   -.28931E-04
   4  Prefactor     .10000E-03    17.749       -.16221E-06** at limit **
   5  Prefactor     111.77        265.59       -.37175E-05   -.19397E-04
   6  Prefactor     .10005E-03    6.7427       -.13041E-05** at limit **
   7  Prefactor     76.194        163.73       -.40532E-05   -.11537E-05
   8  norm          18.498        11.516        .15676E-06    .53739E-04
   9  Prefactor     .10000E-03    169.23       -.76358E-06** at limit **
  10  Prefactor     .10000E-03    20.671       -.82744E-06** at limit **
  11  norm          .36210        2.0836        .33131E-05    .31554E-03
  12  norm          .10000E-03    3.4563       -.40201E-06** at limit **
  13  Prefactor     66.067        118.06       -.88690E-06   -.46251E-05
  14  Prefactor     .10000E-03    117.41        .30445E-06** at limit **
  15  norm          14.159        3.6555        .20160E-06   -.18284E-03
  16  Prefactor     .10000E-03    58.106       -.12001E-06** at limit **
  17  Prefactor     .10000E-03    8.6909       -.14417E-06** at limit **
  18  Prefactor     .10000E-03    17.338       -.12915E-06** at limit **
  19  Prefactor     69.875        45.830        .18725E-06    .27143E-05
  20  Normalizat    .67558        .37419        .54777E-05   -.38618E-04
  21  Prefactor     .97614        .28245       -.42308E-05    .79997E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 265.915
  Prefactor  = 68.8584
  Prefactor  = 0.0001
  Prefactor  = 111.768
  Prefactor  = 0.000100045
  Prefactor  = 76.1943
  norm       = 18.4984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.362098
  norm       = 0.0001
  Prefactor  = 66.0669
  Prefactor  = 0.000100001
  norm       = 14.1586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.8745
  Normalizat = 0.675579
  Prefactor  = 0.976136
 **********
 **   18 **HESSE 
 **********

 FCN=   2070.453     FROM HESSE     STATUS=OK           309 CALLS     3026 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     265.91        271.17        .12431E-03   -1.2432    
   3  Prefactor     68.858        65.520        .48370E-04   -1.4046    
   4  Prefactor     .10000E-03    17.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     111.77        266.10        .38041E-04   -1.3590    
   6  Prefactor     .10005E-03    24.033        .21663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     76.194        163.40        .23056E-03   -1.3960    
   8  norm          18.498        11.443        .93141E-04   -1.4848    
   9  Prefactor     .10000E-03    169.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .36210        2.1102        .12485E-03   -1.5588    
  12  norm          .10000E-03    3.4602        .82606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     66.067        118.84        .24678E-03   -1.4081    
  14  Prefactor     .10000E-03    117.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.159        3.6130        .40872E-04   -1.4955    
  16  Prefactor     .10000E-03    58.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.7031        .13102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     69.875        45.823        .24013E-03   -1.4034    
  20  Normalizat    .67558        .41694        .35926E-03   -1.0487    
  21  Prefactor     .97614        .31438        .22758E-03   -.93529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1827e-09
Minuit parameter uncertainties:
  1  5.59794e-06
  2  272.474
  3  65.5883
  4  1.74354e-05
  5  269.027
  6  0.00209225
  7  164.381
  8  11.444
  9  0.000327628
  10  3.68825e-05
  11  1.7481
  12  5.54066e-06
  13  119.27
  14  0.000718167
  15  3.61309
  16  0.000187688
  17  6.1247e-06
  18  1.68582e-05
  19  45.8465
  20  0.418916
  21  0.314968
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.621e-01  1.748e+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:  9.761e-01  3.150e-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:  6.756e-01  4.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 2.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/415362/likelihoodResults_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.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) = 2070.45237863
delta logL = 0.00065996113517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2070.45237386
delta logL = 0.000664727919229

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36209       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9754       1.0000          .0000       5.0000    
     3 'Normalizat'    .67662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97553       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=   2070.452     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      235 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36245        2.0153        .12356E-03   -.38506E-04
   2  alpha         1.9760        1.9998        .34086E-01   -.30310E-05
   3  Normalizat    .67662        .39999        .35901E-03   -.26853E-04
   4  Prefactor     .97552        .30579        .22765E-03   -.35202E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.362453
  alpha      = 1.97599
  Normalizat = 0.676622
  Prefactor  = 0.975522
 **********
 **   18 **HESSE 
 **********

 FCN=   2070.452     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36245        2.0293        .49424E-05   -1.5588    
   2  alpha         1.9760        2.0064        .13634E-02   -.21117    
   3  Normalizat    .67662        .40008        .14360E-04   -1.0482    
   4  Prefactor     .97552        .30581        .45530E-04   -.93550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.83365e-12
Minuit parameter uncertainties:
  1  1.7151
  2  2.35352
  3  0.40182
  4  0.30635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415362': 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) = 2070.45237381
delta logL = 0.000664780196075

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.625e-01  1.715e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.976e+00  2.354e+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:  9.755e-01  3.064e-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:  6.766e-01  4.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/415362/cmap_HighResolution_602726401_602985601_4FGL_J2236.5-1433_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-04', job_status='DONE', photon_flux_upper_limit='2.20e-07', time_completed='2021-09-28 17:43:54.490254', job_id='415362', GAL2='0.98', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632876234.49', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='6.65e-04', ts2='0.05', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1402' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:43:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 415362: <4FGL_J2236.5-1433_daily_bin1402> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1402 339.144 -14.5557 602726401 602985601 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 :                                   401.15 sec.
    Max Memory :                                 1120 MB
    Average Memory :                             222.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   505 sec.
    Turnaround time :                            508 sec.

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

