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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1359
RA = 339.144, Dec = -14.5557
tmin = 591580801, tmax = 591840001
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='415299', job_status='RUN', time_executed='2021-09-28 17:36:19.748709', time_epoch_executed='1632875779.75' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415299/ft1_4FGL_J2236.5-1433_daily_bin1359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415299/ft1_4FGL_J2236.5-1433_daily_bin1359.fits outfile=/scratch/kocevski/415299/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1359.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=591580801.0 tmax=591840001.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.78
user 3.55
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits" evtable="EVENTS" scfile=/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits sctable="SC_DATA" outfile=/scratch/kocevski/415299/ltcube_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.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/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits
.....................!
real 12.10
user 11.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits sctable="SC_DATA" expcube=/scratch/kocevski/415299/ltcube_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.fits outfile=/scratch/kocevski/415299/expmap_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.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/415299/ltcube_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.fits
.....................!
real 191.75
user 187.42
sys 4.01

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/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits scfile=/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits outfile=/scratch/kocevski/415299/cmap_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits scfile=/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits outfile=/scratch/kocevski/415299/cmap_HighResolution_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.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/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/415299/ft2_4FGL_J2236.5-1433_daily_bin1359.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415299/Model_4FGL_J2236.5-1433_daily_bin1359.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/415299/ft1_filtered_4FGL_J2236.5-1433_daily_bin1359.fits.....................!
real 34.16
user 32.90
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    6.5897       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.824       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.840       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11965E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    260.81       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.635       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1184       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5209       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.717       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .45598       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3028       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=   3101.209     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2324 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4712       -.45889E-06** at limit **
   2  Prefactor     6.5909        30.964       -.56878E-06    .11342E-04
   3  Prefactor     22.818        22.375       -.28093E-06    .14209E-04
   4  Prefactor     31.845        27.570        .10499E-05    .87450E-04
   5  Prefactor     .10001E-03    285.65        .13270E-05** at limit **
   6  Prefactor     .10000E-03    11.959       -.22415E-05** at limit **
   7  Prefactor     .10000E-03    38.906       -.39937E-05** at limit **
   8  norm          .10000E-03    41.715       -.25523E-04** at limit **
   9  Prefactor     260.90        207.83       -.31479E-05   -.10657E-04
  10  Prefactor     33.636        24.278       -.21761E-06    .20687E-03
  11  norm          1.1184        1.4646       -.76526E-07   -.13214E-03
  12  norm          .10000E-03    .93401       -.98437E-08** at limit **
  13  Prefactor     .10000E-03    70.899       -.18137E-05** at limit **
  14  Prefactor     .10000E-03    20.921        .19635E-06** at limit **
  15  norm          3.5208        1.8750       -.60895E-07   -.76944E-03
  16  Prefactor     .10000E-03    21.077       -.14696E-05** at limit **
  17  Prefactor     12.717        19.511       -.26356E-07   -.88714E-06
  18  Prefactor     .10000E-03    4.9633       -.10772E-06** at limit **
  19  Prefactor     .10000E-03    15.922       -.16977E-06** at limit **
  20  Normalizat    .45602        .34304        .36096E-05    .11901E-03
  21  Prefactor     1.3027        .24824       -.55020E-06    .96506E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.59095
  Prefactor  = 22.8185
  Prefactor  = 31.845
  Prefactor  = 0.00010001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 260.902
  Prefactor  = 33.6363
  norm       = 1.1184
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.52085
  Prefactor  = 0.0001
  Prefactor  = 12.7171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.456023
  Prefactor  = 1.30274
 **********
 **   18 **HESSE 
 **********

 FCN=   3101.209     FROM HESSE     STATUS=OK           311 CALLS     2635 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5596        .14871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.5909        30.816        .15633E-03   -1.5194    
   3  Prefactor     22.818        22.302        .83842E-04   -1.4752    
   4  Prefactor     31.845        27.553        .71011E-04   -1.4579    
   5  Prefactor     .10001E-03    286.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.510        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    38.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    41.519        .24780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     260.90        207.84        .12549E-03   -1.2463    
  10  Prefactor     33.636        24.200        .69095E-04   -1.4547    
  11  norm          1.1184        1.4208        .72572E-04   -1.5496    
  12  norm          .10000E-03    .93509        .52552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    70.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5208        1.8689        .52865E-04   -1.5333    
  16  Prefactor     .10000E-03    21.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.717        19.521        .11233E-03   -1.4995    
  18  Prefactor     .10000E-03    4.9650        .12118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .45602        .36216        .40590E-03   -1.1450    
  21  Prefactor     1.3027        .26824        .19279E-03   -.83226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4358e-10
Minuit parameter uncertainties:
  1  0.000101108
  2  28.5269
  3  22.3104
  4  27.5645
  5  0.00333076
  6  0.000420602
  7  0.000210272
  8  0.000421872
  9  208.433
  10  24.2066
  11  1.4208
  12  1.03895e-06
  13  0.000168227
  14  0.00036357
  15  1.86893
  16  6.28553e-05
  17  19.5303
  18  2.09918e-05
  19  2.71609e-05
  20  0.364043
  21  0.268527
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.118e+00  1.421e+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:  1.303e+00  2.685e-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:  4.560e-01  3.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/415299/likelihoodResults_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.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) = 3100.88193329
delta logL = 0.326723183106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3100.87251314
delta logL = 0.336143334572

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97962       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7944       1.0000          .0000       5.0000    
     3 'Normalizat'    .42722       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3118       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=   3100.873     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97800        26.140        .11520E-01    .35262E-03
   2  alpha         2.7949        3.3260        .33986        .20637E-04
   3  Normalizat    .42700        .87139E-01    .94462E-01    .22459E-04
   4  Prefactor     1.3118        .69707E-01    .32408E-01   -.56413E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.978002
  alpha      = 2.79491
  Normalizat = 0.427003
  Prefactor  = 1.31183
 **********
 **   18 **HESSE 
 **********

 FCN=   3100.873     FROM HESSE     STATUS=OK            35 CALLS      242 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97800        1.2722        .52437E-03   -1.5510    
   2  alpha         2.7949        .91329        .13777E-01    .11824    
   3  Normalizat    .42700        .33509        .41855E-03   -1.1593    
   4  Prefactor     1.3118        .25966        .19201E-03   -.82956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66922e-10
Minuit parameter uncertainties:
  1  1.27227
  2  0.93526
  3  0.336677
  4  0.259919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415299': 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) = 3100.87251135
delta logL = 0.336145125443

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  9.780e-01  1.272e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.795e+00  9.353e-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.312e+00  2.599e-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:  4.270e-01  3.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.79 +/- 0.94
Photon Flux (Free Index): 8.55e-08 +/- 8.79e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.98e-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/415299/cmap_HighResolution_591580801_591840001_4FGL_J2236.5-1433_daily_bin1359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-05', comment='SUCCESS', energy_flux2='1.97e-05', dlogl='3.36e-01', photon_flux2='8.55e-08', job_status='DONE', time_completed='2021-09-28 17:43:45.615273', photon_index_error2='0.94', photon_index2='2.79', ts='0.85', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='1.74e-07', energy_flux_error2='1.98e-05', EG='0.46', time_epoch_completed='1632876225.62', return_code='0', job_id='415299', GAL2='1.31', EG2='0.43', return_code2='0', photon_flux_error2='8.79e-08', ts2='1.52', photon_index='2.06' WHERE bin_id='1359' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:43:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 415299: <4FGL_J2236.5-1433_daily_bin1359> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1359 339.144 -14.5557 591580801 591840001 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 :                                   444.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            506 sec.

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

