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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin553
RA = 339.125, Dec = -23.1552
tmin = 382665601, tmax = 382924801
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='406005', job_status='RUN', time_executed='2021-09-28 17:07:41.667781', time_epoch_executed='1632874061.67' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406005

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406005/ft1_4FGL_J2236.4-2309_daily_bin553.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406005/ft1_4FGL_J2236.4-2309_daily_bin553.fits outfile=/scratch/kocevski/406005/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin553.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=382665601.0 tmax=382924801.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.34
user 3.13
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.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/406005/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin553.fits evtable="EVENTS" outfile="/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits" evtable="EVENTS" scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits sctable="SC_DATA" outfile=/scratch/kocevski/406005/ltcube_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.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/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits
.....................!
real 11.62
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits evtable="EVENTS" scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits sctable="SC_DATA" expcube=/scratch/kocevski/406005/ltcube_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits outfile=/scratch/kocevski/406005/expmap_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.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/406005/ltcube_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits
.....................!
real 193.47
user 187.87
sys 5.27

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits outfile=/scratch/kocevski/406005/cmap_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.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.125 yref=-23.1552 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits outfile=/scratch/kocevski/406005/cmap_HighResolution_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.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.125 yref=-23.1552 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits evtable="EVENTS" scfile=/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406005/Model_4FGL_J2236.4-2309_daily_bin553.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/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits.....................!
real 61.07
user 59.63
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits', '/scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits', expMap='/scratch/kocevski/406005/expmap_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits', expCube='/scratch/kocevski/406005/ltcube_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406005/Model_4FGL_J2236.4-2309_daily_bin553.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406005/ft1_filtered_4FGL_J2236.4-2309_daily_bin553.fits
Spacecraft file(s): /scratch/kocevski/406005/ft2_4FGL_J2236.4-2309_daily_bin553.fits
Exposure map: /scratch/kocevski/406005/expmap_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits
Exposure cube: /scratch/kocevski/406005/ltcube_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406005/Model_4FGL_J2236.4-2309_daily_bin553.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) = 7870.93892684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.768       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36904       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    47.584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11379E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.8858       1.0000         .10000E-03   10000.    
    11 'norm      '    3.3685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12661       1.0000         .10000E-03   10000.    
    16 'norm      '    32.025       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4234       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11921E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .75198       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19317E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7280       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75845       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2756       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7870.917     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3213 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.928       -.21895E-06** at limit **
   2  Prefactor     13.774        43.369       -.41781E-06   -.17198E-04
   3  norm          1.8700        .44957       -.10154E-08    .18434E-03
   4  Prefactor     .36903        6.5181       -.66888E-06   -.30976E-04
   5  Prefactor     28.810        16.638       -.10395E-06    .12597E-04
   6  Prefactor     .10000E-03    10.162       -.23555E-06** at limit **
   7  Prefactor     .10000E-03    18.887       -.51471E-08** at limit **
   8  norm          47.591        23.908       -.51150E-07    .15917E-03
   9  Prefactor     .10000E-03    27.328       -.86380E-05** at limit **
  10  norm          3.8857        1.1194       -.15448E-07    .50645E-03
  11  norm          3.3689        2.1888       -.11993E-07    .15572E-02
  12  Prefactor     .10000E-03    70.749       -.34972E-05** at limit **
  13  Prefactor     .10000E-03    9.6532       -.33520E-07** at limit **
  14  Prefactor     .10000E-03    8.0879       -.11227E-06** at limit **
  15  norm          .12639        .42842       -.12575E-06    .71473E-03
  16  norm          32.026        6.8818        .20322E-06    .31019E-04
  17  Prefactor     .10000E-03    48.910       -.10669E-04** at limit **
  18  Prefactor     6.4231        11.005        .72132E-06    .11773E-04
  19  Prefactor     .10000E-03    7.1161        .15619E-05** at limit **
  20  norm          .75190        .55620        .28542E-06    .16319E-02
  21  Prefactor     .10000E-03    5.2316       -.16861E-05** at limit **
  22  Prefactor     1.7299        3.2705        .13680E-05   -.32196E-03
  23  Normalizat    .75827        .17842        .85658E-06    .12134E-03
  24  Prefactor     1.2757        .15970       -.12836E-06    .10435E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 13.7739
  norm       = 1.87
  Prefactor  = 0.369032
  Prefactor  = 28.8097
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 47.5905
  Prefactor  = 0.0001
  norm       = 3.88567
  norm       = 3.36888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.126391
  norm       = 32.0259
  Prefactor  = 0.0001
  Prefactor  = 6.42309
  Prefactor  = 0.000100001
  norm       = 0.751899
  Prefactor  = 0.0001
  Prefactor  = 1.72989
  Normalizat = 0.758268
  Prefactor  = 1.27574
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.917     FROM HESSE     STATUS=OK           413 CALLS     3626 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.774        43.201        .10795E-03   -1.4966    
   3  norm          1.8700        .45008        .28165E-04   -1.5434    
   4  Prefactor     .36903        48.468        .42506E-02   -1.5586    
   5  Prefactor     28.810        16.641        .74645E-04   -1.4634    
   6  Prefactor     .10000E-03    10.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          47.591        23.877        .58129E-04   -1.4327    
   9  Prefactor     .10000E-03    52.683        .41815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8857        1.1163        .48128E-04   -1.5314    
  11  norm          3.3689        2.1773        .10122E-03   -1.5341    
  12  Prefactor     .10000E-03    70.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9201        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.1644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12639        .45772        .97091E-03   -1.5637    
  16  norm          32.026        6.8309        .70806E-04   -1.4576    
  17  Prefactor     .10000E-03    109.12        .63054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4231        11.074        .15836E-03   -1.5201    
  19  Prefactor     .10000E-03    26.854        .31035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .75190        .56552        .52115E-03   -1.5535    
  21  Prefactor     .10000E-03    27.537        .36319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.7299        12.718        .15971E-02   -1.5445    
  23  Normalizat    .75827        .21115        .31312E-03   -1.0164    
  24  Prefactor     1.2757        .19203        .22774E-03   -.84031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7404e-08
Minuit parameter uncertainties:
  1  0.000278124
  2  43.2996
  3  0.450082
  4  8.46426
  5  16.6435
  6  2.3324e-06
  7  4.13074e-06
  8  23.8823
  9  0.000203148
  10  1.11634
  11  2.17733
  12  0.000128294
  13  1.60586e-05
  14  6.44131e-05
  15  0.457733
  16  6.83111
  17  0.00026934
  18  11.0779
  19  0.000240211
  20  0.565522
  21  3.93786e-06
  22  9.38339
  23  0.211375
  24  0.192135
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  2.031e-04  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.276e+00  1.921e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  7.583e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406005/likelihoodResults_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.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): 102
logL (Free Index) = 7870.91741669
delta logL = -8.83826751306e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7870.91741657
delta logL = -8.82566346263e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96159E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7427       1.0000          .0000       10.000    
     3 'Normalizat'    .75815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7870.917     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      230 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .84318        .90732E-01** at limit **
   2  Index         2.7750        5.5516        .50000       -.44784E-05
   3  Normalizat    .75826        .16380E-02    .70755E-01   -.28302E-03
   4  Prefactor     1.2757        .15114E-02    .51514E-01   -.25372E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.77499
  Normalizat = 0.758264
  Prefactor  = 1.27574
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.917     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    276.68        .41263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7750        5.0163        .50000       -.46118    
   3  Normalizat    .75826        .96194E-02    .31312E-03   -1.0164    
   4  Prefactor     1.2757        .88899E-02    .22774E-03   -.84031    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66865e-07
Minuit parameter uncertainties:
  1  0.00164926
  2  393.842
  3  0.0096194
  4  0.00888986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406005': 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): 102
logL (Free Index) = 7870.91732827
delta logL = 3.65271262126e-08

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.649e-03  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.775e+00  3.938e+02  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.276e+00  8.890e-03  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  7.583e-01  9.619e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.125 -23.155

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/406005/cmap_HighResolution_382665601_382924801_4FGL_J2236.4-2309_daily_bin553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', job_status='DONE', photon_flux_upper_limit='8.43e-08', time_completed='2021-09-28 17:20:32.893007', job_id='406005', GAL2='1.28', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1632874832.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='3.65e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='553' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:20:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 406005: <4FGL_J2236.4-2309_daily_bin553> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin553> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:05:17 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:05:19 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:05:19 2021
Terminated at Tue Sep 28 17:20:33 2021
Results reported at Tue Sep 28 17:20:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin553 339.125 -23.1552 382665601 382924801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.4-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   770.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

