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 167 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1136.2+3407_daily_bin1780
RA = 174.075, Dec = 34.129
tmin = 700704001, tmax = 700963201
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='61205', job_status='RUN', time_executed='2023-03-20 00:48:11.582301', time_epoch_executed='1679298491.58' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61205/ft1_4FGL_J1136.2+3407_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61205/ft1_4FGL_J1136.2+3407_daily_bin1780.fits outfile=/scratch/kocevski/61205/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1780.fits ra=174.075 dec=34.129 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.14
user 3.90
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.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/61205/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/61205/ltcube_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.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/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits
.....................!
real 12.00
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/61205/ltcube_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits outfile=/scratch/kocevski/61205/expmap_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.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/61205/ltcube_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits
.....................!
real 190.60
user 185.39
sys 4.90

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

Setting source of interest to:
4FGL J1136.2+3407 @ 174.075 34.129

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits outfile=/scratch/kocevski/61205/cmap_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.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=174.075 yref=34.129 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/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits outfile=/scratch/kocevski/61205/cmap_HighResolution_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.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=174.075 yref=34.129 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/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/61205/Model_4FGL_J1136.2+3407_daily_bin1780.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/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits.....................!
real 66.07
user 64.69
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits', '/scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits', expMap='/scratch/kocevski/61205/expmap_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits', expCube='/scratch/kocevski/61205/ltcube_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61205/Model_4FGL_J1136.2+3407_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1136.2+3407'

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.848e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/61205/ft1_filtered_4FGL_J1136.2+3407_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/61205/ft2_4FGL_J1136.2+3407_daily_bin1780.fits
Exposure map: /scratch/kocevski/61205/expmap_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits
Exposure cube: /scratch/kocevski/61205/ltcube_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61205/Model_4FGL_J1136.2+3407_daily_bin1780.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) = 7854.97647327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12817E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    45.651       1.0000          .0000       .10000E+07
     3 'Prefactor '    .95828E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.9194       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3024       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19312E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0541       1.0000          .0000       .10000E+07
     8 'norm      '    .12583E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .51499E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.891       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14047E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .64891       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12469E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .71001       1.0000          .0000       .10000E+07
    15 'Prefactor '    35.473       1.0000          .0000       .10000E+07
    16 'norm      '    .51945       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.822       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4177       1.0000          .0000       .10000E+07
    19 'norm      '    3.7996       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26868E-01   1.0000          .0000       .10000E+07
    21 'norm      '    20.618       1.0000          .0000       .10000E+07
    22 'norm      '    3.6472       1.0000          .0000       .10000E+07
    23 'Prefactor '    .37748E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .88744E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    2.3258       1.0000          .0000       .10000E+07
    26 'Normalizat'    .95212       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7854.975     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2437 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-08    14.137        .64576E-06** at limit **
   2  Prefactor     45.598        5.5469       -.90840E-06    .10632    
   3  Prefactor     .83267E-09    5.6678       -.28253E-05** at limit **
   4  norm          1.9186        .35520       -.43747E-07    .76565E-02
   5  Prefactor     3.3003        3.2478       -.41488E-07    .44230E-03
   6  Prefactor     .88818E-09    5.3933        .30262E-05** at limit **
   7  Prefactor     1.0898        31.039       -.14759E-05    .46466E-03
   8  norm           .0000        3.7017        .83987E-06** at limit **
   9  Prefactor      .0000        2.2090        .55667E-07** at limit **
  10  Prefactor     18.723        2.0210        .24263E-06   -.34350E-02
  11  Prefactor     .11408E-06    27.884        .77654E-05** at limit **
  12  norm          .64991        1.7700       -.75937E-06    .34004E-02
  13  Prefactor     .18480E-06    63.816       -.60034E-05** at limit **
  14  Prefactor     .66818        4.7880       -.92028E-06    .12796E-02
  15  Prefactor     35.620        1.1993       -.92182E-07    .84711E-02
  16  norm          .51772        .80498        .47705E-07   -.13443E-02
  17  Prefactor     11.830        1.9876       -.37658E-06    .12425E-02
  18  Prefactor     1.4139        1.7292       -.12339E-06    .46603E-02
  19  norm          3.8651        7.2280       -.14740E-06    .51067E-04
  20  Prefactor     .31086E-08    26.977       -.12012E-05** at limit **
  21  norm          20.619        2.7397       -.38568E-08   -.20359E-01
  22  norm          3.6462        2.5251       -.35374E-07   -.20155E-01
  23  Prefactor     .30309E-07    22.539       -.50515E-05** at limit **
  24  Prefactor     .55511E-10    6.0881       -.22039E-05** at limit **
  25  Prefactor     2.3248        2.3681       -.52137E-07    .40150E-02
  26  Normalizat    .95217        .19415        .17822E-05    .99851E-04
  27  Prefactor     1.0185        .21895        .12974E-04    .21011E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-09
  Prefactor  = 45.5985
  Prefactor  = 8.32667e-10
  norm       = 1.91858
  Prefactor  = 3.30034
  Prefactor  = 8.88178e-10
  Prefactor  = 1.08981
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.7234
  Prefactor  = 1.14075e-07
  norm       = 0.64991
  Prefactor  = 1.84797e-07
  Prefactor  = 0.668184
  Prefactor  = 35.6197
  norm       = 0.517716
  Prefactor  = 11.8296
  Prefactor  = 1.41391
  norm       = 3.86509
  Prefactor  = 3.10862e-09
  norm       = 20.6194
  norm       = 3.6462
  Prefactor  = 3.03091e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 2.32482
  Normalizat = 0.952166
  Prefactor  = 1.01854
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.975     FROM HESSE     STATUS=OK           548 CALLS     2985 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-08    14.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.598        63.559        .14802E-03   -1.5573    
   3  Prefactor     .83267E-09    5.6711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9186        .35852        .46873E-03   -1.5680    
   5  Prefactor     3.3003        3.2703        .55686E-03   -1.5672    
   6  Prefactor     .88818E-09    5.4058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0898        30.558        .12006E-02   -1.5687    
   8  norm           .0000        3.7052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.1906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.723        40.012        .23016E-03   -1.5621    
  11  Prefactor     .11408E-06    27.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .64991        2.2366        .64957E-03   -1.5692    
  13  Prefactor     .18480E-06    62.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66818        4.8293        .59900E-03   -1.5692    
  15  Prefactor     35.620        40.666        .16792E-03   -1.5589    
  16  norm          .51772        .93749        .76776E-03   -1.5694    
  17  Prefactor     11.830        23.933        .29111E-03   -1.5639    
  18  Prefactor     1.4139        1.7978        .90858E-03   -1.5684    
  19  norm          3.8651        7.2740        .51760E-03   -1.5669    
  20  Prefactor     .31086E-08    26.934        .16621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          20.619        2.7818        .22030E-03   -1.5617    
  22  norm          3.6462        2.6711        .52871E-03   -1.5670    
  23  Prefactor     .30309E-07    22.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .55511E-10    1.2014        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.3248        2.3890        .67225E-03   -1.5677    
  26  Normalizat    .95217        .16950        .45564E-01   -.94651    
  27  Prefactor     1.0185        .18729        .68665E-01   -.92114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02911e-06
Minuit parameter uncertainties:
  1  0.000434791
  2  63.5596
  3  0.000135149
  4  0.358524
  5  3.2703
  6  0.000136815
  7  11.5417
  8  1.56348e-05
  9  8.16852e-06
  10  40.0128
  11  0.0035637
  12  2.23657
  13  0.00682083
  14  3.59269
  15  40.666
  16  0.937491
  17  23.9328
  18  1.79777
  19  7.27402
  20  0.000580905
  21  2.78175
  22  2.6711
  23  0.00164676
  24  1.67239e-05
  25  2.38899
  26  0.169591
  27  0.187412
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  6.682e-01  3.593e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.019e+00  1.874e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  9.522e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 174.075 34.129
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61205/likelihoodResults_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7854.47026422
delta logL = 0.504700478325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7854.30239301
delta logL = 0.672571689287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1938       1.0000          .0000       .10000E+07
     2 'Index     '    1.5193       1.0000          .0000       10.000    
     3 'Normalizat'    .96258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0009       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7854.302     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1943        2.7369        .69451E-03    .17941E-02
   2  Index         1.5194        .44838        .22052       -.92958E-04
   3  Normalizat    .96257        .16148        .45696E-01    .49930E-04
   4  Prefactor     1.0009        .18590        .69138E-01   -.10643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19433
  Index      = 1.51939
  Normalizat = 0.962572
  Prefactor  = 1.00095
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.302     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1943        3.3139        .15945E-04   -1.5678    
   2  Index         1.5194        .64531        .10836E-01   -.76998    
   3  Normalizat    .96257        .18923        .27200E-03   -.94295    
   4  Prefactor     1.0009        .21772        .30583E-03   -.92698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30057e-11
Minuit parameter uncertainties:
  1  3.31388
  2  0.648842
  3  0.189359
  4  0.217908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61205': 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) = 7854.30239299
delta logL = 0.672571703259

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.194e+00  3.314e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  1.519e+00  6.488e-01  0.000e+00  1.000e+01 (-1.000e+00)
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.001e+00  2.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  9.626e-01  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 174.075 34.129
Photon Index (Free Index): 1.52 +/- 0.65
Photon Flux (Free Index): 6.64e-09 +/- 1.03e-08
Energy Flux (Free Index): 1.97e-05 +/- 3.48e-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/61205/cmap_HighResolution_700704001_700963201_4FGL_J1136.2+3407_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', comment='SUCCESS', energy_flux2='1.97e-05', dlogl='6.73e-01', photon_flux2='6.64e-09', job_status='DONE', time_completed='2023-03-20 01:01:33.680428', photon_index_error2='0.65', photon_index2='1.52', ts='0.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.45e-08', energy_flux_error2='3.48e-05', EG='0.95', time_epoch_completed='1679299293.68', return_code='0', job_id='61205', GAL2='1.00', EG2='0.96', return_code2='0', photon_flux_error2='1.03e-08', ts2='1.39', photon_index='2.55' WHERE bin_id='1780' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:01:33 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 61205: <4FGL_J1136.2+3407_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:45:14 2023
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:45:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:45:15 2023
Terminated at Mon Mar 20 01:01:34 2023
Results reported at Mon Mar 20 01:01:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin1780 174.075 34.129 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1136.2+3407 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   804.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

