/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 72 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 = 7684
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1136.2+3407_daily_bin905
RA = 174.075, Dec = 34.129
tmin = 473904001, tmax = 474163201
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='949978', job_status='RUN', time_executed='2021-09-04 05:08:19.366363', time_epoch_executed='1630757299.37' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='905'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949978

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949978/ft1_4FGL_J1136.2+3407_daily_bin905.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949978/ft1_4FGL_J1136.2+3407_daily_bin905.fits outfile=/scratch/kocevski/949978/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin905.fits ra=174.075 dec=34.129 rad=12.0 tmin=473904001.0 tmax=474163201.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.13
user 4.81
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits" evtable="EVENTS" scfile=/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits sctable="SC_DATA" outfile=/scratch/kocevski/949978/ltcube_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.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/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits
.....................!
real 12.51
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits sctable="SC_DATA" expcube=/scratch/kocevski/949978/ltcube_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits outfile=/scratch/kocevski/949978/expmap_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.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/949978/ltcube_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits
.....................!
real 191.95
user 185.98
sys 5.12

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/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits scfile=/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits outfile=/scratch/kocevski/949978/cmap_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits scfile=/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits outfile=/scratch/kocevski/949978/cmap_HighResolution_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.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.58
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits', '/scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits', expMap='/scratch/kocevski/949978/expmap_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits', expCube='/scratch/kocevski/949978/ltcube_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949978/Model_4FGL_J1136.2+3407_daily_bin905.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  1.000e-04  1.000e+04 ( 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/949978/ft1_filtered_4FGL_J1136.2+3407_daily_bin905.fits
Spacecraft file(s): /scratch/kocevski/949978/ft2_4FGL_J1136.2+3407_daily_bin905.fits
Exposure map: /scratch/kocevski/949978/expmap_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits
Exposure cube: /scratch/kocevski/949978/ltcube_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949978/Model_4FGL_J1136.2+3407_daily_bin905.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) = 3905.7105757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.312       1.0000         .10000E-03   10000.    
     2 'Prefactor '    101.97       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.052       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2078       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2395       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .81815E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3513       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11724E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0685       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1170       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.039       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.969       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6719       1.0000         .10000E-03   10000.    
    20 'norm      '    .10197E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19915E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    187.35       1.0000         .10000E-03   10000.    
    23 'norm      '    2.4067       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.3838       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.2504       1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.8990       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .88997       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .85069       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3905.693     FROM MIGRAD    STATUS=CONVERGED    793 CALLS     4584 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.312        35.011       -.84065E-05   -.91535E-05
   2  Prefactor     101.99        125.56        .13126E-04   -.26274E-05
   3  Prefactor     14.042        14.897       -.44842E-05   -.54870E-04
   4  norm          2.2075        .46082        .10894E-07   -.42655E-05
   5  Prefactor     1.2396        2.5764        .67162E-06   -.18004E-03
   6  Prefactor     .10000E-03    4.6652        .90941E-08** at limit **
   7  Prefactor     .10000E-03    26.042       -.66544E-06** at limit **
   8  norm          .10000E-03    6.7640        .86785E-07** at limit **
   9  norm          .10002E-03    8.8483        .10473E-05** at limit **
  10  Prefactor     6.3489        4.0438        .14203E-05   -.41112E-03
  11  Prefactor     .10000E-03    26.386        .19350E-06** at limit **
  12  Prefactor     .10000E-03    13.192        .54601E-06** at limit **
  13  norm          .10000E-03    1.7182        .88488E-06** at limit **
  14  Prefactor     2.0608        22.269       -.64091E-05   -.18019E-03
  15  Prefactor     2.1160        7.9069       -.81874E-05   -.77081E-03
  16  Prefactor     33.941        73.184       -.46046E-04   -.50422E-04
  17  norm          .10000E-03    .81693       -.49241E-06** at limit **
  18  Prefactor     20.970        19.321       -.12515E-05   -.77385E-04
  19  Prefactor     2.6712        2.2369        .70835E-07   -.20786E-03
  20  norm          .10001E-03    16.855       -.21106E-05** at limit **
  21  Prefactor     .10579E-03    48.010        .69245E-05** at limit **
  22  Prefactor     187.46        107.37        .53168E-04    .17198E-04
  23  norm          2.4070        1.4114       -.46184E-08   -.78796E-03
  24  Prefactor     .10000E-03    23.896        .75437E-06** at limit **
  25  norm          2.3835        2.7978       -.69181E-07   -.20841E-03
  26  Prefactor     .10000E-03    2.9452        .54438E-07** at limit **
  27  Prefactor     4.2497        3.0801        .90558E-08   -.93508E-04
  28  Prefactor     3.8991        2.7150       -.10899E-07   -.10700E-03
  29  Normalizat    .89016        .22918       -.19566E-06   -.43427E-03
  30  Prefactor     .85084        .24396       -.28453E-08   -.27888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.3121
  Prefactor  = 101.992
  Prefactor  = 14.0416
  norm       = 2.2075
  Prefactor  = 1.23956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100018
  Prefactor  = 6.34887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 2.06084
  Prefactor  = 2.11602
  Prefactor  = 33.9408
  norm       = 0.000100001
  Prefactor  = 20.9701
  Prefactor  = 2.67119
  norm       = 0.00010001
  Prefactor  = 0.000105794
  Prefactor  = 187.458
  norm       = 2.40705
  Prefactor  = 0.0001
  norm       = 2.38352
  Prefactor  = 0.0001
  Prefactor  = 4.24972
  Prefactor  = 3.89907
  Normalizat = 0.890157
  Prefactor  = 0.85084
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.693     FROM HESSE     STATUS=OK           596 CALLS     5180 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.312        35.030        .79622E-04   -1.4701    
   2  Prefactor     101.99        125.79        .39816E-04   -1.3685    
   3  Prefactor     14.042        14.794        .10685E-03   -1.4958    
   4  norm          2.2075        .46107        .18655E-04   -1.5411    
   5  Prefactor     1.2396        2.5008        .13528E-03   -1.5485    
   6  Prefactor     .10000E-03    4.6671        .13183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.7961        .15874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10002E-03    73.470        .35540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3489        3.9754        .88931E-04   -1.5204    
  11  Prefactor     .10000E-03    26.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.9515        .15585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0608        22.175        .28725E-03   -1.5421    
  15  Prefactor     2.1160        7.8358        .28349E-03   -1.5417    
  16  Prefactor     33.941        72.493        .68684E-04   -1.4542    
  17  norm          .10000E-03    .82945        .10924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.970        19.320        .87468E-04   -1.4792    
  19  Prefactor     2.6712        2.2314        .81834E-04   -1.5381    
  20  norm          .10001E-03    16.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10579E-03    55.136        .10371       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     187.46        106.84        .14751E-03   -1.2961    
  23  norm          2.4070        1.4087        .54388E-04   -1.5398    
  24  Prefactor     .10000E-03    23.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.3835        2.7918        .10605E-03   -1.5399    
  26  Prefactor     .10000E-03    2.9549        .10474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.2497        3.0853        .87340E-04   -1.5296    
  28  Prefactor     3.8991        2.7133        .82686E-04   -1.5313    
  29  Normalizat    .89016        .27024        .24945E-03   -.96807    
  30  Prefactor     .85084        .28647        .29783E-03   -.97881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14017e-09
Minuit parameter uncertainties:
  1  35.0581
  2  126.117
  3  14.7976
  4  0.461072
  5  2.501
  6  7.25915e-06
  7  2.8017e-05
  8  1.38793e-05
  9  0.00230993
  10  3.97556
  11  3.48013e-05
  12  0.000159522
  13  0.000160399
  14  13.5264
  15  7.83962
  16  72.6818
  17  4.50251e-05
  18  19.3254
  19  2.23147
  20  0.000828939
  21  0.0357792
  22  106.953
  23  1.40876
  24  5.81144e-05
  25  2.79197
  26  3.74089e-06
  27  3.08539
  28  2.71342
  29  0.270655
  30  0.286974
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.116e+00  7.840e+00  1.000e-04  1.000e+04 ( 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:  8.508e-01  2.870e-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:  8.902e-01  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 174.075 34.129
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949978/likelihoodResults_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.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) = 3905.68846666
delta logL = 0.00477406494883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3905.68729879
delta logL = 0.00594193042934

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8481       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8065       1.0000          .0000       10.000    
     3 'Normalizat'    .88618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85418       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3905.687     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      265 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8477        8.1090        .25983E-03   -.10230E-03
   2  Index         2.8063        2.5292        .78587E-02   -.34530E-04
   3  Normalizat    .88619        .24550        .24995E-03   -.12196E-03
   4  Prefactor     .85417        .28412        .29730E-03   -.39444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.84775
  Index      = 2.80632
  Normalizat = 0.886188
  Prefactor  = 0.854168
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.687     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8477        7.2838        .10393E-04   -1.5436    
   2  Index         2.8063        2.3951        .31435E-03   -.45419    
   3  Normalizat    .88619        .24568        .99982E-05   -.96947    
   4  Prefactor     .85417        .28409        .11892E-04   -.97761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.078e-10
Minuit parameter uncertainties:
  1  7.28734
  2  2.52607
  3  0.245994
  4  0.284578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949978': 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) = 3905.68729878
delta logL = 0.00594193840561

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.848e+00  7.287e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.806e+00  2.526e+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:  8.542e-01  2.846e-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:  8.862e-01  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/949978/cmap_HighResolution_473904001_474163201_4FGL_J1136.2+3407_daily_bin905.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-04 05:20:41.945834', job_id='949978', GAL2='0.85', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630758041.95', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='5.94e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='905' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 05:20:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 949978: <4FGL_J1136.2+3407_daily_bin905> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin905> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 05:06:49 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 05:06:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 05:06:50 2021
Terminated at Sat Sep  4 05:20:42 2021
Results reported at Sat Sep  4 05:20:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin905 174.075 34.129 473904001 474163201 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.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            833 sec.

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

