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


Performing analysis on: 4FGL_J1136.2+3407_daily_bin1779
RA = 174.075, Dec = 34.129
tmin = 700444801, tmax = 700704001
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='21108', job_status='RUN', time_executed='2023-03-17 01:28:42.091378', time_epoch_executed='1679041722.09' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21108

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21108/ft1_4FGL_J1136.2+3407_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21108/ft1_4FGL_J1136.2+3407_daily_bin1779.fits outfile=/scratch/kocevski/21108/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1779.fits ra=174.075 dec=34.129 rad=12.0 tmin=700444801.0 tmax=700704001.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.31
user 5.04
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.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/21108/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.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.15

Number of photons that the gtmktime cut: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/21108/ltcube_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.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/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits
.....................!
real 11.70
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/21108/ltcube_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits outfile=/scratch/kocevski/21108/expmap_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.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/21108/ltcube_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits
.....................!
real 190.57
user 185.23
sys 5.00

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/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits outfile=/scratch/kocevski/21108/cmap_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits outfile=/scratch/kocevski/21108/cmap_HighResolution_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21108/Model_4FGL_J1136.2+3407_daily_bin1779.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/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits.....................!
real 57.14
user 55.80
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits', '/scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits', expMap='/scratch/kocevski/21108/expmap_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits', expCube='/scratch/kocevski/21108/ltcube_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21108/Model_4FGL_J1136.2+3407_daily_bin1779.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/21108/ft1_filtered_4FGL_J1136.2+3407_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/21108/ft2_4FGL_J1136.2+3407_daily_bin1779.fits
Exposure map: /scratch/kocevski/21108/expmap_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits
Exposure cube: /scratch/kocevski/21108/ltcube_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21108/Model_4FGL_J1136.2+3407_daily_bin1779.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) = 6308.61188097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2853       1.0000          .0000       .10000E+07
     2 'Prefactor '    .48560E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4499       1.0000          .0000       .10000E+07
     4 'norm      '    2.4291       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13620E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27429E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .99563E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .42666E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11880E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.2810       1.0000          .0000       .10000E+07
    11 'Prefactor '    .30907E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.2198       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.3079       1.0000          .0000       .10000E+07
    14 'Prefactor '    .36933E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    35.243       1.0000          .0000       .10000E+07
    16 'norm      '    .18617       1.0000          .0000       .10000E+07
    17 'Prefactor '    .82903E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .53711       1.0000          .0000       .10000E+07
    19 'norm      '    .39949E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    44.175       1.0000          .0000       .10000E+07
    21 'norm      '    25.953       1.0000          .0000       .10000E+07
    22 'norm      '    2.3121       1.0000          .0000       .10000E+07
    23 'Prefactor '    12.696       1.0000          .0000       .10000E+07
    24 'Prefactor '    .27434E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    .81231       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.4478       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .65858       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=   6308.602     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     2518 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3071        3.6676       -.31396E-08    .21801E-02
   2  Prefactor     .27200E-08    37.210        .32174E-06** at limit **
   3  Prefactor     9.4825        12.206        .90404E-08    .16289E-02
   4  norm          2.4293        .46270       -.78806E-08   -.37666E-01
   5  Prefactor      .0000        3.0302        .20139E-07** at limit **
   6  Prefactor     .27542E-05    16.630       -.30156E-07** at limit **
   7  Prefactor     .57659E-06    163.07       -.53905E-06** at limit **
   8  norm          .66613E-09    8.7059        .51908E-07** at limit **
   9  Prefactor     .55511E-10    5.5455        .79248E-07** at limit **
  10  Prefactor     14.022        92.939       -.41574E-06    .51230E-01
  11  Prefactor     .15961E-05    16.163       -.70366E-07** at limit **
  12  norm          3.9097        5.1436        .20116E-09   -.43884E-02
  13  Prefactor     6.2666        13.232       -.89908E-08    .95926E-03
  14  Prefactor     .23043E-06    26.366       -.14064E-06** at limit **
  15  Prefactor     38.959        41.585       -.11489E-06   -.13910    
  16  norm          .14865        3.2284        .20149E-06** at limit **
  17  Prefactor     .24125E-06    19.619        .18771E-06** at limit **
  18  Prefactor     .54081        2.1464        .16190E-07    .36722E-03
  19  norm          .22204E-09    4.7279        .55507E-07** at limit **
  20  Prefactor     44.935        10.903       -.22983E-07   -.86694E-01
  21  norm          25.964        3.3900        .16237E-07    .11444E-01
  22  norm          2.3134        2.2251       -.16007E-07   -.23113E-02
  23  Prefactor     12.704        11.220       -.40970E-08    .38126E-02
  24  Prefactor      .0000        .81829        .38815E-08** at limit **
  25  Prefactor     .81237        1.5085       -.40558E-08   -.86426E-03
  26  Normalizat    1.4435        .26118        .28625E-06   -.12570E-04
  27  Prefactor     .66108        .27942       -.96337E-06   -.32026E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.30708
  Prefactor  = 2.72005e-09
  Prefactor  = 9.48248
  norm       = 2.4293
  Prefactor  = 0
  Prefactor  = 2.75419e-06
  Prefactor  = 5.76594e-07
  norm       = 6.66134e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 14.0215
  Prefactor  = 1.59611e-06
  norm       = 3.90975
  Prefactor  = 6.26657
  Prefactor  = 2.30427e-07
  Prefactor  = 38.9593
  norm       = 0.148645
  Prefactor  = 2.41251e-07
  Prefactor  = 0.540811
  norm       = 2.22045e-10
  Prefactor  = 44.9353
  norm       = 25.964
  norm       = 2.3134
  Prefactor  = 12.7044
  Prefactor  = 0
  Prefactor  = 0.812368
  Normalizat = 1.44345
  Prefactor  = 0.661083
 **********
 **   18 **HESSE 
 **********

 FCN=   6308.602     FROM HESSE     STATUS=OK           554 CALLS     3072 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3071        22.922        .32865E-03   -1.5647    
   2  Prefactor     .27200E-08    37.199        .15598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.4825        12.221        .32576E-03   -1.5646    
   4  norm          2.4293        .46161        .51240E-03   -1.5677    
   5  Prefactor      .0000        3.0194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27542E-05    17.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .57659E-06    158.29        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .66613E-09    8.7112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    5.4930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.022        117.25        .34814E-03   -1.5633    
  11  Prefactor     .15961E-05    16.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.9097        5.3639        .49031E-03   -1.5668    
  13  Prefactor     6.2666        13.261        .39943E-03   -1.5658    
  14  Prefactor     .23043E-06    25.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     38.959        75.092        .16847E-03   -1.5583    
  16  norm          .14865        1.5223        .36307E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24125E-06    19.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .54081        2.1438        .75061E-03   -1.5693    
  19  norm          .22204E-09    4.7141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     44.935        81.997        .15047E-03   -1.5574    
  21  norm          25.964        3.3905        .19633E-03   -1.5606    
  22  norm          2.3134        2.2121        .67445E-03   -1.5678    
  23  Prefactor     12.704        11.221        .28087E-03   -1.5637    
  24  Prefactor      .0000        .81794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .81237        1.5252        .52022E-03   -1.5690    
  26  Normalizat    1.4435        .22269        .59509E-01   -.79380    
  27  Prefactor     .66108        .24114        .92118E-01   -1.0507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20717e-06
Minuit parameter uncertainties:
  1  22.9219
  2  0.000633149
  3  12.2213
  4  0.461607
  5  6.7015e-06
  6  0.0138403
  7  0.0191076
  8  0.000150224
  9  3.72945e-05
  10  81.0967
  11  0.0102788
  12  5.36387
  13  13.2609
  14  0.00489302
  15  75.0939
  16  0.951375
  17  0.00435425
  18  2.14384
  19  6.08749e-05
  20  81.9989
  21  3.39053
  22  2.21207
  23  11.2213
  24  4.92928e-07
  25  1.5252
  26  0.222839
  27  0.241522
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.304e-07  4.893e-03  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:  6.611e-01  2.415e-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:  1.443e+00  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 174.075 34.129
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21108/likelihoodResults_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.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) = 6307.27883965
delta logL = 1.32296638368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6306.96747433
delta logL = 1.63433170517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13611E-01   1.0000          .0000       .10000E+07
     2 'Index     '    7.3602       1.0000          .0000       10.000    
     3 'Normalizat'    1.2790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78570       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=   6306.967     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      361 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13451E-01    .12440        .12555E-03** at limit **
   2  Index         7.3679        2.9076        .14511        .14913E-03
   3  Normalizat    1.2798        .58106E-01    .62374E-01   -.36313E-03
   4  Prefactor     .78521        .64097E-01    .85217E-01   -.72641E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.013451
  Index      = 7.36791
  Normalizat = 1.27979
  Prefactor  = 0.785207
 **********
 **   18 **HESSE 
 **********

 FCN=   6306.967     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      392 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13451E-01    .27100        .56699E-06   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3679        7.8223        .57957E-02    .49335    
   3  Normalizat    1.2798        .22310        .27588E-03   -.84172    
   4  Prefactor     .78521        .24013        .37741E-03   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.003e-09
Minuit parameter uncertainties:
  1  0.120751
  2  5.31977
  3  0.223264
  4  0.240448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21108': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6306.96746145
delta logL = 1.63434458187

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.345e-02  1.208e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  7.368e+00  5.320e+00  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:  7.852e-01  2.404e-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:  1.280e+00  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 174.075 34.129
Photon Index (Free Index): 7.37 +/- 5.32
Photon Flux (Free Index): 1.56e-07 +/- 9.67e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/21108/cmap_HighResolution_700444801_700704001_4FGL_J1136.2+3407_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.52e-03', comment='SUCCESS', energy_flux2='1.84e-05', dlogl='1.63e+00', photon_flux2='1.56e-07', job_status='DONE', time_completed='2023-03-17 01:40:58.399927', photon_index_error2='5.32', photon_index2='7.37', ts='-0.00', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.20e-05', EG='1.44', time_epoch_completed='1679042458.4', return_code='0', job_id='21108', GAL2='0.79', EG2='1.28', return_code2='102', photon_flux_error2='9.67e-08', ts2='3.56', photon_index='2.55' WHERE bin_id='1779' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:40:58 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 21108: <4FGL_J1136.2+3407_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:25:28 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:25:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:25:29 2023
Terminated at Fri Mar 17 01:40:59 2023
Results reported at Fri Mar 17 01:40:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin1779 174.075 34.129 700444801 700704001 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 :                                   738.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

