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 139 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1666
RA = 339.096, Dec = 28.4832
tmin = 671155201, tmax = 671414401
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='414513', job_status='RUN', time_executed='2022-04-12 00:38:09.355983', time_epoch_executed='1649749089.36' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414513/ft1_4FGL_J2236.3+2828_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414513/ft2_4FGL_J2236.3+2828_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414513/ft1_4FGL_J2236.3+2828_daily_bin1666.fits outfile=/scratch/kocevski/414513/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1666.fits ra=339.096 dec=28.4832 rad=12.0 tmin=671155201.0 tmax=671414401.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.25
user 4.99
sys 0.21

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

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

Number of photons that the gtmktime cut: 841

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414513/ft1_filtered_4FGL_J2236.3+2828_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414513/ft2_4FGL_J2236.3+2828_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414513/ltcube_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.fits outfile=/scratch/kocevski/414513/expmap_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.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/414513/ltcube_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.fits
.....................!
real 190.27
user 185.62
sys 4.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/414513/ft1_filtered_4FGL_J2236.3+2828_daily_bin1666.fits scfile=/scratch/kocevski/414513/ft2_4FGL_J2236.3+2828_daily_bin1666.fits outfile=/scratch/kocevski/414513/cmap_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414513/ft1_filtered_4FGL_J2236.3+2828_daily_bin1666.fits scfile=/scratch/kocevski/414513/ft2_4FGL_J2236.3+2828_daily_bin1666.fits outfile=/scratch/kocevski/414513/cmap_HighResolution_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .22721       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11798E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11314E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.9930       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14705E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.5528       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.170       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .59600E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4557       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    52.139       1.0000         .10000E-03   10000.    
    19 'norm      '    .10184E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.931       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82727       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0119       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=   9203.778     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2423 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5372       -.66542E-07** at limit **
   2  norm          .22767        .63204        .85888E-06    .85607E-03
   3  Prefactor     .10000E-03    13.674        .22920E-07** at limit **
   4  Prefactor     .10000E-03    21.393        .29258E-06** at limit **
   5  norm          .10000E-03    2.4547        .39174E-07** at limit **
   6  Prefactor     .10000E-03    36.405        .13979E-06** at limit **
   7  Prefactor     .10000E-03    6.6754        .75586E-07** at limit **
   8  norm          5.9934        1.6737        .28290E-07   -.34351E-04
   9  Prefactor     .10001E-03    78.532        .19447E-05** at limit **
  10  Prefactor     .10000E-03    11.347        .24385E-07** at limit **
  11  norm          3.5534        1.6747       -.19377E-08   -.36544E-04
  12  Prefactor     .10000E-03    9.3430        .11608E-06** at limit **
  13  Prefactor     .10000E-03    65.833       -.23107E-05** at limit **
  14  Prefactor     11.173        10.532        .12099E-06   -.49456E-05
  15  Prefactor     .10240E-03    26.355       -.35762E-05** at limit **
  16  norm          1.4531        1.6939        .31410E-06    .59877E-03
  17  Prefactor     .10000E-03    21.390       -.16862E-06** at limit **
  18  Prefactor     52.150        34.923        .86210E-07   -.34819E-04
  19  norm          .10000E-03    2.3711       -.19962E-06** at limit **
  20  Prefactor     27.961        24.061       -.15025E-06   -.85113E-04
  21  Normalizat    .82713        .22399       -.16675E-07   -.37966E-04
  22  Prefactor     1.0118        .98206E-01   -.53452E-06    .73102E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.227668
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.99338
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 3.55339
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 11.1728
  Prefactor  = 0.000102405
  norm       = 1.45311
  Prefactor  = 0.0001
  Prefactor  = 52.1497
  norm       = 0.0001
  Prefactor  = 27.9614
  Normalizat = 0.827127
  Prefactor  = 1.01184
 **********
 **   18 **HESSE 
 **********

 FCN=   9203.778     FROM HESSE     STATUS=OK           348 CALLS     2771 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .22767        .63870        .12292E-03   -1.5613    
   3  Prefactor     .10000E-03    13.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.4761        .14678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9934        1.6759        .62009E-04   -1.5218    
   9  Prefactor     .10001E-03    80.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.5534        1.6757        .83017E-04   -1.5331    
  12  Prefactor     .10000E-03    9.5388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    68.218        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.173        10.533        .11987E-03   -1.5039    
  15  Prefactor     .10240E-03    21.074        .13629       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4531        1.6850        .12691E-03   -1.5467    
  17  Prefactor     .10000E-03    21.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     52.150        34.906        .55544E-04   -1.4262    
  19  norm          .10000E-03    2.3820        .14407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.961        24.045        .75804E-04   -1.4650    
  21  Normalizat    .82713        .25616        .41955E-03   -.99070    
  22  Prefactor     1.0118        .11233        .17047E-03   -.92336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25997e-09
Minuit parameter uncertainties:
  1  1.34962e-05
  2  0.638724
  3  2.98853e-06
  4  6.67508e-05
  5  1.88482e-06
  6  6.81602e-05
  7  5.67503e-06
  8  1.67594
  9  0.00164953
  10  2.66832e-06
  11  1.67569
  12  1.69175e-05
  13  0.00102225
  14  10.5343
  15  0.0142426
  16  1.68506
  17  5.55355e-05
  18  34.9195
  19  5.10618e-06
  20  24.0534
  21  0.256535
  22  0.112356
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  5.993e+00  1.676e+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.012e+00  1.124e-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:  8.271e-01  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.66
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.92e-07 +/- 5.38e-08
Energy Flux (Fixed Index): 7.79e-05 +/- 2.18e-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) = 9202.81516918
delta logL = 0.962977362358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9202.80312008
delta logL = 0.975026469463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5413       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5531       1.0000          .0000       5.0000    
     3 'Normalizat'    .73226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0383       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=   9202.803     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5412        18.749        .42668E-02    .14670E-03
   2  alpha         2.5531        3.7286        .20688        .59846E-04
   3  Normalizat    .73233        .23569        .10002        .48377E-04
   4  Prefactor     1.0383        .85832E-01    .40646E-01   -.50001E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.54122
  alpha      = 2.55312
  Normalizat = 0.732326
  Prefactor  = 1.03832
 **********
 **   18 **HESSE 
 **********

 FCN=   9202.803     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5412        1.6291        .54026E-04   -1.5237    
   2  alpha         2.5531        .29975        .87636E-02    .21251E-01
   3  Normalizat    .73233        .26070        .44324E-03   -1.0263    
   4  Prefactor     1.0383        .11332        .16844E-03   -.91463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50014e-12
Minuit parameter uncertainties:
  1  1.62907
  2  0.300477
  3  0.261141
  4  0.113346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414513': 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) = 9202.80312002
delta logL = 0.975026529277

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  5.541e+00  1.629e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.553e+00  3.005e-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.038e+00  1.133e-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:  7.323e-01  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.57
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.55 +/- 0.30
Photon Flux (Free Index): 2.64e-07 +/- 8.15e-08
Energy Flux (Free Index): 7.13e-05 +/- 1.86e-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/414513/cmap_HighResolution_671155201_671414401_4FGL_J2236.3+2828_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.92e-07', energy_flux2='7.13e-05', photon_flux_error='5.38e-08', dlogl='9.75e-01', energy_flux='7.79e-05', photon_flux2='2.64e-07', job_status='DONE', time_completed='2022-04-12 00:49:43.672428', photon_index_error2='0.30', photon_index2='2.55', ts='34.66', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='0.83', time_epoch_completed='1649749783.67', return_code='0', job_id='414513', GAL2='1.04', EG2='0.73', return_code2='0', energy_flux_error='2.18e-05', photon_flux_error2='8.15e-08', ts2='37.57', photon_index='2.15' WHERE bin_id='1666' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:49:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 414513: <4FGL_J2236.3+2828_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:39 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:41 2022
Terminated at Tue Apr 12 00:49:44 2022
Results reported at Tue Apr 12 00:49:44 2022

Your job looked like:

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

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

