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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1500
RA = 339.096, Dec = 28.4832
tmin = 628128001, tmax = 628387201
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='401548', job_status='RUN', time_executed='2021-09-28 16:53:32.838191', time_epoch_executed='1632873212.84' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401548

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401548/ft1_4FGL_J2236.3+2828_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401548/ft1_4FGL_J2236.3+2828_daily_bin1500.fits outfile=/scratch/kocevski/401548/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1500.fits ra=339.096 dec=28.4832 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.23
user 4.95
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.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/401548/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1500.fits evtable="EVENTS" outfile="/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/401548/ltcube_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.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/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits
.....................!
real 11.41
user 11.08
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/401548/ltcube_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits outfile=/scratch/kocevski/401548/expmap_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.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/401548/ltcube_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits
.....................!
real 190.81
user 185.20
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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.3+2828 @ 339.096 28.4832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits outfile=/scratch/kocevski/401548/cmap_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.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.096 yref=28.4832 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits outfile=/scratch/kocevski/401548/cmap_HighResolution_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.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.096 yref=28.4832 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/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/401548/Model_4FGL_J2236.3+2828_daily_bin1500.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/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits.....................!
real 92.61
user 91.13
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits', '/scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits', expMap='/scratch/kocevski/401548/expmap_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits', expCube='/scratch/kocevski/401548/ltcube_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/401548/Model_4FGL_J2236.3+2828_daily_bin1500.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.3+2828'

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.238e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/401548/ft1_filtered_4FGL_J2236.3+2828_daily_bin1500.fits
Spacecraft file(s): /scratch/kocevski/401548/ft2_4FGL_J2236.3+2828_daily_bin1500.fits
Exposure map: /scratch/kocevski/401548/expmap_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits
Exposure cube: /scratch/kocevski/401548/ltcube_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/401548/Model_4FGL_J2236.3+2828_daily_bin1500.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) = 8745.92465051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10677E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9570       1.0000         .10000E-03   10000.    
     6 'Prefactor '    113.88       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4662       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6495       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.971       1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6136       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.623       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.639       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    77.208       1.0000         .10000E-03   10000.    
    19 'norm      '    .23084E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5775       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63413       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1562       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8745.909     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2398 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3952        .18484E-07** at limit **
   2  norm          .10000E-03    .32281        .21862E-07** at limit **
   3  Prefactor     .10000E-03    36.141        .79017E-06** at limit **
   4  Prefactor     .10000E-03    5.1271        .79750E-07** at limit **
   5  norm          4.9574        4.8446       -.16975E-05   -.73136E-03
   6  Prefactor     113.87        91.804       -.70307E-05   -.16748E-03
   7  Prefactor     2.4639        9.1600       -.19146E-06   -.11155E-03
   8  norm          1.6495        1.1125        .59437E-07   -.52535E-04
   9  Prefactor     .10000E-03    56.164       -.40824E-06** at limit **
  10  Prefactor     18.970        18.248       -.76234E-07   -.13009E-04
  11  norm          .10000E-03    .94538       -.21727E-06** at limit **
  12  Prefactor     3.6134        5.4475        .25681E-05   -.17885E-02
  13  Prefactor     .10000E-03    12.289        .51505E-06** at limit **
  14  Prefactor     13.622        10.410       -.25166E-06   -.32631E-04
  15  Prefactor     26.637        28.188       -.83707E-06   -.53167E-04
  16  norm          .10000E-03    .33699       -.77544E-08** at limit **
  17  Prefactor     .10000E-03    13.180       -.53289E-06** at limit **
  18  Prefactor     77.219        43.010        .55864E-05    .41406E-03
  19  norm          .10000E-03    1.9181        .10130E-06** at limit **
  20  Prefactor     4.5646        20.333       -.44080E-05   -.89453E-04
  21  Normalizat    .63413        .23369       -.31560E-06   -.11296E-04
  22  Prefactor     1.1562        .10476        .42115E-07   -.10929E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95742
  Prefactor  = 113.867
  Prefactor  = 2.46391
  norm       = 1.6495
  Prefactor  = 0.0001
  Prefactor  = 18.97
  norm       = 0.0001
  Prefactor  = 3.61341
  Prefactor  = 0.0001
  Prefactor  = 13.6222
  Prefactor  = 26.6368
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 77.219
  norm       = 0.0001
  Prefactor  = 4.56459
  Normalizat = 0.634129
  Prefactor  = 1.15623
 **********
 **   18 **HESSE 
 **********

 FCN=   8745.909     FROM HESSE     STATUS=OK           346 CALLS     2744 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3990        .14134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8261        .10235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9574        4.8837        .18064E-03   -1.5263    
   6  Prefactor     113.87        92.586        .37698E-04   -1.3570    
   7  Prefactor     2.4639        9.1414        .26040E-03   -1.5394    
   8  norm          1.6495        1.1111        .32876E-04   -1.5451    
   9  Prefactor     .10000E-03    56.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.970        18.235        .91956E-04   -1.4837    
  11  norm          .10000E-03    .99402        .17767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.6134        8.0834        .10627E-02   -1.5328    
  13  Prefactor     .10000E-03    12.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.622        10.403        .10852E-03   -1.4970    
  15  Prefactor     26.637        28.223        .77617E-04   -1.4675    
  16  norm          .10000E-03    .34121        .52967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     77.219        43.460        .45701E-04   -1.3948    
  19  norm          .10000E-03    3.5936        .24401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5646        19.408        .18814E-03   -1.5281    
  21  Normalizat    .63413        .25021        .44737E-03   -1.0655    
  22  Prefactor     1.1562        .11387        .16339E-03   -.87689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88405e-09
Minuit parameter uncertainties:
  1  4.37338e-07
  2  1.29767e-06
  3  8.90747e-05
  4  1.44371e-05
  5  4.88413
  6  92.704
  7  9.14655
  8  1.11114
  9  5.46355e-05
  10  18.2406
  11  3.45036e-06
  12  8.08587
  13  3.00493e-05
  14  10.4044
  15  28.2369
  16  3.97403e-07
  17  0.0001028
  18  43.4782
  19  5.4025e-05
  20  18.8345
  21  0.250658
  22  0.113892
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.650e+00  1.111e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.156e+00  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  6.341e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 1.45e-05

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) = 8745.9060129
delta logL = 0.00345189677137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8745.90588562
delta logL = 0.00357917070869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6519       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1969       1.0000          .0000       5.0000    
     3 'Normalizat'    .63096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1570       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8745.906     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      219 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6522        31.417        .82117E-03    .66606E-03
   2  alpha         2.1971        2.7644        .41540        .13094E-04
   3  Normalizat    .63098        .14787        .10118        .32187E-04
   4  Prefactor     1.1570        .62352E-01    .35736E-01   -.72205E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65222
  alpha      = 2.19713
  Normalizat = 0.630977
  Prefactor  = 1.15701
 **********
 **   18 **HESSE 
 **********

 FCN=   8745.906     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6522        1.0706        .32847E-04   -1.5451    
   2  alpha         2.1971        .59935        .17741E-01   -.12145    
   3  Normalizat    .63098        .23576        .44840E-03   -1.0668    
   4  Prefactor     1.1570        .11269        .16333E-03   -.87665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74948e-11
Minuit parameter uncertainties:
  1  1.07063
  2  0.605338
  3  0.236139
  4  0.112712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401548': 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) = 8745.90588541
delta logL = 0.00357938341767

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.652e+00  1.071e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.197e+00  6.053e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.157e+00  1.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  6.310e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.75
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.20 +/- 0.61
Photon Flux (Free Index): 5.54e-08 +/- 4.52e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.44e-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/401548/cmap_HighResolution_628128001_628387201_4FGL_J2236.3+2828_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='2.11e-05', photon_flux_error='3.56e-08', dlogl='3.58e-03', energy_flux='2.15e-05', photon_flux2='5.54e-08', job_status='DONE', time_completed='2021-09-28 17:04:51.028594', photon_index_error2='0.61', photon_index2='2.20', ts='5.73', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='0.63', time_epoch_completed='1632873891.03', return_code='0', job_id='401548', GAL2='1.16', EG2='0.63', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.52e-08', ts2='5.75', photon_index='2.15' WHERE bin_id='1500' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:04:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 401548: <4FGL_J2236.3+2828_daily_bin1500> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1500> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 16:50:52 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:50:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:50:53 2021
Terminated at Tue Sep 28 17:04:52 2021
Results reported at Tue Sep 28 17:04:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1500 339.096 28.4832 628128001 628387201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.3+2828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

