aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 48 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 = 7446
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1665
RA = 339.096, Dec = 28.4832
tmin = 670896001, tmax = 671155201
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='357083', job_status='RUN', time_executed='2022-04-09 00:36:48.352062', time_epoch_executed='1649489808.35' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357083

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357083/ft1_4FGL_J2236.3+2828_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357083/ft1_4FGL_J2236.3+2828_daily_bin1665.fits outfile=/scratch/kocevski/357083/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1665.fits ra=339.096 dec=28.4832 rad=12.0 tmin=670896001.0 tmax=671155201.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.34
user 5.08
sys 0.25

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

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

Number of photons that the gtmktime cut: 776

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357083/ltcube_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.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/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits
.....................!
real 13.70
user 13.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357083/ltcube_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits outfile=/scratch/kocevski/357083/expmap_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.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/357083/ltcube_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits
.....................!
real 191.03
user 185.26
sys 5.46

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/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits scfile=/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits outfile=/scratch/kocevski/357083/cmap_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits scfile=/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits outfile=/scratch/kocevski/357083/cmap_HighResolution_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357083/Model_4FGL_J2236.3+2828_daily_bin1665.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/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits.....................!
real 94.97
user 93.64
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits', '/scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits', expMap='/scratch/kocevski/357083/expmap_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits', expCube='/scratch/kocevski/357083/ltcube_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357083/Model_4FGL_J2236.3+2828_daily_bin1665.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/357083/ft1_filtered_4FGL_J2236.3+2828_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357083/ft2_4FGL_J2236.3+2828_daily_bin1665.fits
Exposure map: /scratch/kocevski/357083/expmap_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357083/ltcube_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357083/Model_4FGL_J2236.3+2828_daily_bin1665.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) = 8532.0957527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .90505E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.885       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.2057       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11870E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.607       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0884       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6271       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.818       1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.798       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4478       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83838       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0814       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85092       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=   8532.093     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2398 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0793        .97077E-07** at limit **
   2  norm          .89774E-01    .54198        .12100E-06   -.14128E-02
   3  Prefactor     .10000E-03    26.247        .92200E-05** at limit **
   4  Prefactor     .10000E-03    17.422       -.31162E-05** at limit **
   5  norm          .10000E-03    5.4312        .26032E-06** at limit **
   6  Prefactor     40.906        92.519        .25176E-04   -.89513E-06
   7  Prefactor     .10000E-03    3.7414        .54482E-07** at limit **
   8  norm          8.2053        2.0668        .40140E-07    .39548E-04
   9  Prefactor     .10000E-03    38.651       -.17495E-04** at limit **
  10  Prefactor     41.607        28.834       -.67280E-06    .32427E-04
  11  norm          2.0884        1.4024        .10908E-06    .21607E-03
  12  Prefactor     5.4923        7.1649        .73379E-07   -.54658E-04
  13  Prefactor     .10000E-03    17.910        .13382E-05** at limit **
  14  Prefactor     .10000E-03    6.2573       -.29331E-06** at limit **
  15  Prefactor     .10000E-03    11.844        .34884E-06** at limit **
  16  norm          3.6275        2.0730        .21243E-06    .14622E-02
  17  Prefactor     25.796        21.077       -.41484E-06    .17265E-03
  18  Prefactor     26.849        33.238        .64905E-04    .41353E-03
  19  norm          2.4773        6.1415        .20211E-05    .78658E-03
  20  Prefactor     .43781        18.207       -.13096E-04    .29893E-04
  21  Normalizat    1.0819        .22897       -.40941E-05    .65652E-03
  22  Prefactor     .85079        .96653E-01   -.23516E-05    .11424E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0897742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.9055
  Prefactor  = 0.0001
  norm       = 8.20533
  Prefactor  = 0.0001
  Prefactor  = 41.6073
  norm       = 2.08838
  Prefactor  = 5.4923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.6275
  Prefactor  = 25.7955
  Prefactor  = 26.8492
  norm       = 2.47733
  Prefactor  = 0.437811
  Normalizat = 1.08188
  Prefactor  = 0.850787
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1009        .15828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .89774E-01    1.3292        .12850E-02   -1.5648    
   3  Prefactor     .10000E-03    26.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.6830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.906        92.463        .62691E-04   -1.4428    
   7  Prefactor     .10000E-03    3.7511        .17448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.2053        2.0743        .59496E-04   -1.5135    
   9  Prefactor     .10000E-03    38.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.607        28.908        .62146E-04   -1.4417    
  11  norm          2.0884        1.4083        .87108E-04   -1.5419    
  12  Prefactor     5.4923        7.1576        .17143E-03   -1.5239    
  13  Prefactor     .10000E-03    17.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6275        2.0673        .94044E-04   -1.5327    
  17  Prefactor     25.796        21.104        .78839E-04   -1.4692    
  18  Prefactor     26.849        33.568        .77387E-04   -1.4671    
  19  norm          2.4773        6.1849        .26147E-03   -1.5393    
  20  Prefactor     .43781        25.436        .10265       -1.5576    
  21  Normalizat    1.0819        .26864        .37409E-03   -.90336    
  22  Prefactor     .85079        .11408        .18177E-03   -.97883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55948e-09
Minuit parameter uncertainties:
  1  1.23686e-05
  2  0.690513
  3  5.56185e-05
  4  8.7969e-05
  5  5.43122e-05
  6  92.7891
  7  1.15686e-05
  8  2.07433
  9  8.00426e-05
  10  28.9173
  11  1.40831
  12  7.15871
  13  8.90996e-05
  14  1.21597e-05
  15  2.34075e-05
  16  2.06738
  17  21.1102
  18  33.5914
  19  6.18649
  20  6.67637
  21  0.268983
  22  0.114114
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  8.205e+00  2.074e+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:  8.508e-01  1.141e-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:  1.082e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.78
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 2.63e-07 +/- 6.65e-08
Energy Flux (Fixed Index): 1.07e-04 +/- 2.70e-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) = 8532.09311005
delta logL = 0.000108547892523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8532.09310503
delta logL = 0.000113572661576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2053       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1491       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85098       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=   8532.093     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      196 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2026        2.3650        .34990E-02    .71848E-04
   2  alpha         2.1493        .27209        .18383        .38526E-05
   3  Normalizat    1.0811        .22272        .84511E-01   -.50147E-04
   4  Prefactor     .85098        .96081E-01    .44377E-01   -.15948E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.20256
  alpha      = 2.14926
  Normalizat = 1.08112
  Prefactor  = 0.850984
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.093     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2026        1.9451        .59445E-04   -1.5135    
   2  alpha         2.1493        .23088        .78613E-02   -.14076    
   3  Normalizat    1.0811        .26172        .37420E-03   -.90360    
   4  Prefactor     .85098        .11270        .18175E-03   -.97876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16058e-11
Minuit parameter uncertainties:
  1  1.94513
  2  0.23122
  3  0.262035
  4  0.112734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357083': 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) = 8532.09310387
delta logL = 0.000114734217277

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  8.203e+00  1.945e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.149e+00  2.312e-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:  8.510e-01  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:  1.081e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 49.93
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.15 +/- 0.23
Photon Flux (Free Index): 2.64e-07 +/- 7.68e-08
Energy Flux (Free Index): 1.07e-04 +/- 2.81e-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/357083/cmap_HighResolution_670896001_671155201_4FGL_J2236.3+2828_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.63e-07', energy_flux2='1.07e-04', photon_flux_error='6.65e-08', dlogl='1.15e-04', energy_flux='1.07e-04', photon_flux2='2.64e-07', job_status='DONE', time_completed='2022-04-09 00:47:49.641809', photon_index_error2='0.23', photon_index2='2.15', ts='49.78', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='1.08', time_epoch_completed='1649490469.64', return_code='0', job_id='357083', GAL2='0.85', EG2='1.08', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='7.68e-08', ts2='49.93', photon_index='2.15' WHERE bin_id='1665' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:47:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 357083: <4FGL_J2236.3+2828_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:50 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:52 2022
Terminated at Sat Apr  9 00:47:50 2022
Results reported at Sat Apr  9 00:47:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1665 339.096 28.4832 670896001 671155201 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 :                                   663.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            720 sec.

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

