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


Performing analysis on: 4FGL_J1136.2+3407_daily_bin1746
RA = 174.075, Dec = 34.129
tmin = 691891201, tmax = 692150401
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='722647', job_status='RUN', time_executed='2022-12-08 00:45:33.459648', time_epoch_executed='1670489133.46' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722647/ft1_4FGL_J1136.2+3407_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722647/ft2_4FGL_J1136.2+3407_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722647/ft1_4FGL_J1136.2+3407_daily_bin1746.fits outfile=/scratch/kocevski/722647/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1746.fits ra=174.075 dec=34.129 rad=12.0 tmin=691891201.0 tmax=692150401.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.69
user 4.45
sys 0.23

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

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

Number of photons that the gtmktime cut: 718

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722647/ft1_filtered_4FGL_J1136.2+3407_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722647/ft2_4FGL_J1136.2+3407_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722647/ltcube_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.fits outfile=/scratch/kocevski/722647/expmap_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.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/722647/ltcube_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.fits
.....................!
real 190.73
user 185.20
sys 5.19

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/722647/ft1_filtered_4FGL_J1136.2+3407_daily_bin1746.fits scfile=/scratch/kocevski/722647/ft2_4FGL_J1136.2+3407_daily_bin1746.fits outfile=/scratch/kocevski/722647/cmap_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.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/722647/ft1_filtered_4FGL_J1136.2+3407_daily_bin1746.fits scfile=/scratch/kocevski/722647/ft2_4FGL_J1136.2+3407_daily_bin1746.fits outfile=/scratch/kocevski/722647/cmap_HighResolution_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14738E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    44.850       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73922E-02   1.0000          .0000       .10000E+07
     4 'norm      '    2.4378       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.7234       1.0000          .0000       .10000E+07
     6 'Prefactor '    .86541E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45364E-01   1.0000          .0000       .10000E+07
     8 'norm      '    34.474       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1439       1.0000          .0000       .10000E+07
    10 'Prefactor '    .60017E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40794E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.9702       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30402E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.1769       1.0000          .0000       .10000E+07
    15 'Prefactor '    77.885       1.0000          .0000       .10000E+07
    16 'norm      '    .88146       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.783       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17042E-07   1.0000          .0000       .10000E+07
    19 'norm      '    8.5755       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11796E-01   1.0000          .0000       .10000E+07
    21 'norm      '    22.823       1.0000          .0000       .10000E+07
    22 'norm      '    5.5044       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.6047       1.0000          .0000       .10000E+07
    24 'Prefactor '    .23870E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.4405       1.0000          .0000       .10000E+07
    26 'Normalizat'    .79970       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94971       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=   7738.692     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2500 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23870E-08    7.3215       -.41792E-06** at limit **
   2  Prefactor     44.842        1.4604       -.27341E-08    .57656E-01
   3  Prefactor     .39635E-07    28.453        .80873E-06** at limit **
   4  norm          2.4381        .40518        .10433E-07    .77980E-03
   5  Prefactor     8.7312        3.8333       -.29895E-08   -.96241E-03
   6  Prefactor     .81407E-06    9.1523        .10379E-05** at limit **
   7  Prefactor     .22760E-08    35.029       -.74906E-06** at limit **
   8  norm          34.520        3.7180       -.37335E-07   -.18607    
   9  Prefactor     3.1356        2.2997        .27459E-07    .62467E-03
  10  Prefactor     .35255E-06    12.308        .10946E-05** at limit **
  11  Prefactor      .0000        3.3540        .73814E-07** at limit **
  12  norm          2.9841        2.7005       -.13911E-07   -.40660E-03
  13  Prefactor      .0000        3.2441       -.12014E-06** at limit **
  14  Prefactor     2.1810        3.9514        .66416E-07    .37036E-03
  15  Prefactor     77.797        4.8007       -.58657E-08    .25630    
  16  norm          .88207        1.0123        .71357E-07   -.24003E-02
  17  Prefactor     29.804        1.2986       -.17449E-07    .20023E-01
  18  Prefactor      .0000        1.5133        .27030E-07** at limit **
  19  norm          8.5872        1.1559       -.15944E-07    .40118E-01
  20  Prefactor     .10547E-07    12.808        .66241E-06** at limit **
  21  norm          22.823        2.7100       -.18489E-07    .23504E-04
  22  norm          5.5021        2.9435       -.16739E-07    .25259E-03
  23  Prefactor     1.5621        4.9146       -.11959E-07   -.21671E-03
  24  Prefactor      .0000        .77619        .60642E-07** at limit **
  25  Prefactor     5.4459        3.2649        .40938E-07    .55854E-03
  26  Normalizat    .79971        .19932        .24813E-05   -.11443E-05
  27  Prefactor     .94968        .22205       -.71898E-05   -.19908E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.38698e-09
  Prefactor  = 44.8423
  Prefactor  = 3.9635e-08
  norm       = 2.43811
  Prefactor  = 8.73121
  Prefactor  = 8.14071e-07
  Prefactor  = 2.27596e-09
  norm       = 34.5202
  Prefactor  = 3.13557
  Prefactor  = 3.52551e-07
  Prefactor  = 0
  norm       = 2.98406
  Prefactor  = 0
  Prefactor  = 2.18098
  Prefactor  = 77.7974
  norm       = 0.882069
  Prefactor  = 29.8035
  Prefactor  = 0
  norm       = 8.58724
  Prefactor  = 1.05471e-08
  norm       = 22.8231
  norm       = 5.50209
  Prefactor  = 1.56214
  Prefactor  = 0
  Prefactor  = 5.44593
  Normalizat = 0.799708
  Prefactor  = 0.949681
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.692     FROM HESSE     STATUS=OK           552 CALLS     3052 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23870E-08    7.3299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.842        66.220        .14933E-03   -1.5574    
   3  Prefactor     .39635E-07    29.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4381        .42010        .49806E-03   -1.5677    
   5  Prefactor     8.7312        3.8373        .33914E-03   -1.5649    
   6  Prefactor     .81407E-06    22.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22760E-08    11.990        .10398E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          34.520        16.697        .17034E-03   -1.5590    
   9  Prefactor     3.1356        2.3292        .57145E-03   -1.5673    
  10  Prefactor     .35255E-06    21.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9841        2.7835        .58890E-03   -1.5673    
  13  Prefactor      .0000        3.2483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1810        3.9819        .69754E-03   -1.5678    
  15  Prefactor     77.797        43.490        .11332E-03   -1.5532    
  16  norm          .88207        1.1032        .47051E-03   -1.5689    
  17  Prefactor     29.804        23.840        .18327E-03   -1.5599    
  18  Prefactor      .0000        1.4997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.5872        7.6201        .34207E-03   -1.5649    
  20  Prefactor     .10547E-07    12.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          22.823        2.7440        .20937E-03   -1.5612    
  22  norm          5.5021        2.9436        .42802E-03   -1.5661    
  23  Prefactor     1.5621        4.9480        .83628E-03   -1.5683    
  24  Prefactor      .0000        .77622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.4459        3.2731        .43057E-03   -1.5661    
  26  Normalizat    .79971        .17429        .67939E-01   -1.0008    
  27  Prefactor     .94968        .18946        .71949E-01   -.94426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24302e-06
Minuit parameter uncertainties:
  1  0.000264133
  2  66.2215
  3  0.00215668
  4  0.420102
  5  3.83734
  6  0.00855503
  7  0.000329919
  8  16.6969
  9  2.32919
  10  0.0054724
  11  1.4637e-05
  12  2.78347
  13  1.7816e-05
  14  3.98192
  15  43.4903
  16  1.10321
  17  23.8399
  18  1.3227e-06
  19  7.62014
  20  0.000735989
  21  2.74397
  22  2.94362
  23  4.94797
  24  1.13111e-06
  25  3.27313
  26  0.174412
  27  0.189588
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.181e+00  3.982e+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:  9.497e-01  1.896e-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:  7.997e-01  1.744e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/722647/likelihoodResults_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.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) = 7738.6906939
delta logL = 0.00147393128009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7738.69032547
delta logL = 0.0018423536776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0707       1.0000          .0000       .10000E+07
     2 'Index     '    2.6415       1.0000          .0000       10.000    
     3 'Normalizat'    .79843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95083       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=   7738.690     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      229 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0716        78.362        .71760E-03    .76775E-02
   2  Index         2.6421        3.4320        .41497        .69453E-05
   3  Normalizat    .79842        .31532E-01    .67989E-01   -.86332E-05
   4  Prefactor     .95083        .36006E-01    .71910E-01    .97072E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07156
  Index      = 2.64207
  Normalizat = 0.798417
  Prefactor  = 0.950833
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.690     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0716        4.4565        .21731E-04   -1.5679    
   2  Index         2.6421        1.5463        .10949E-01   -.49109    
   3  Normalizat    .79842        .19304        .30082E-03   -1.0013    
   4  Prefactor     .95083        .22118        .31813E-03   -.94387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00688e-12
Minuit parameter uncertainties:
  1  4.45653
  2  1.57985
  3  0.193208
  4  0.221394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722647': 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) = 7738.69032529
delta logL = 0.00184254005853

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.072e+00  4.457e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  2.642e+00  1.580e+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:  9.508e-01  2.214e-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:  7.984e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 174.075 34.129

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/722647/cmap_HighResolution_691891201_692150401_4FGL_J1136.2+3407_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2022-12-08 00:59:19.078117', job_id='722647', GAL2='0.95', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1670489959.08', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.84e-03', ts2='0.40', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1746' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:59:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 722647: <4FGL_J1136.2+3407_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:15 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:17 2022
Terminated at Thu Dec  8 00:59:19 2022
Results reported at Thu Dec  8 00:59:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin1746 174.075 34.129 691891201 692150401 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 :                                   827.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

