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


Performing analysis on: 4FGL_J1136.4+6736_daily_bin1202
RA = 174.118, Dec = 67.6127
tmin = 550886401, tmax = 551145601
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='962096', job_status='RUN', time_executed='2021-09-04 05:50:48.371583', time_epoch_executed='1630759848.37' WHERE source_name='4FGL J1136.4+6736' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/962096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/962096/ft1_4FGL_J1136.4+6736_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/962096/ft1_4FGL_J1136.4+6736_daily_bin1202.fits outfile=/scratch/kocevski/962096/ft1_filteredMKT_4FGL_J1136.4+6736_daily_bin1202.fits ra=174.118 dec=67.6127 rad=12.0 tmin=550886401.0 tmax=551145601.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 3.77
user 3.53
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.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/962096/ft1_filteredMKT_4FGL_J1136.4+6736_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/962096/ltcube_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.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/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits
.....................!
real 11.90
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/962096/ltcube_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits outfile=/scratch/kocevski/962096/expmap_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.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/962096/ltcube_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits
.....................!
real 191.88
user 187.19
sys 4.30

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

Setting source of interest to:
4FGL J1136.4+6736 @ 174.118 67.6127

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits outfile=/scratch/kocevski/962096/cmap_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.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.118 yref=67.6127 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits outfile=/scratch/kocevski/962096/cmap_HighResolution_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.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.118 yref=67.6127 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/962096/Model_4FGL_J1136.4+6736_daily_bin1202.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/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits.....................!
real 31.58
user 30.24
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits', '/scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits', expMap='/scratch/kocevski/962096/expmap_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits', expCube='/scratch/kocevski/962096/ltcube_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/962096/Model_4FGL_J1136.4+6736_daily_bin1202.xml', optimizer='MINUIT')

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

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  3.601e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
390        Index:  1.747e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/962096/ft1_filtered_4FGL_J1136.4+6736_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/962096/ft2_4FGL_J1136.4+6736_daily_bin1202.fits
Exposure map: /scratch/kocevski/962096/expmap_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits
Exposure cube: /scratch/kocevski/962096/ltcube_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/962096/Model_4FGL_J1136.4+6736_daily_bin1202.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) = 1921.87983134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6840       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0368       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17443E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7047       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7752       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20717E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11701E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9001       1.0000         .10000E-03   10000.    
    11 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .93233       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5185       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11996E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    51.746       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    70.998       1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    15.432       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1973       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .70450       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1921.860     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     3815 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    6.6090        .14055E-06** at limit **
   2  norm          1.6837        1.5066       -.10730E-06   -.47642E-03
   3  norm          .10042E-03    10.423       -.80506E-05** at limit **
   4  Prefactor     4.0003        3.0112       -.16580E-05   -.12700E-03
   5  Prefactor     .10254E-03    21.792        .69369E-05** at limit **
   6  Prefactor     3.7036        1.1025       -.70025E-06    .10244E-03
   7  norm          3.7751        3.6023       -.11131E-06   -.12216E-03
   8  Prefactor     .10724E-03    99.246       -.38994E-04** at limit **
   9  Prefactor     .71975E-03    4.7842       -.13823E-04** at limit **
  10  Prefactor     2.9251        1.7538       -.40977E-06   -.15716E-03
  11  norm          .10005E-03    7.3437       -.13404E-04** at limit **
  12  norm          .93198        7.7909       -.10481E-06    .11996E-03
  13  norm          1.5188        5.4115       -.75914E-05   -.96699E-03
  14  Prefactor     .10019E-03    12.625        .54255E-05** at limit **
  15  Prefactor     51.743        1.1681       -.27675E-06    .56281E-03
  16  Prefactor     .10000E-03    6.4002        .33738E-06** at limit **
  17  Prefactor     .10015E-03    14.677        .76986E-05** at limit **
  18  Prefactor     .10001E-03    7.4807       -.70730E-05** at limit **
  19  Prefactor     .10000E-03    4.6951        .61288E-06** at limit **
  20  norm          70.998        1.0139       -.65519E-07    .26851E-03
  21  norm          .10004E-03    7.1851        .11187E-04** at limit **
  22  Prefactor     .10000E-03    4.8012       -.15271E-07** at limit **
  23  Prefactor     .10014E-03    12.358        .53184E-05** at limit **
  24  Prefactor     .10233E-03    20.601        .83068E-05** at limit **
  25  Prefactor     .10015E-03    8.5412        .74733E-05** at limit **
  26  Prefactor     .10051E-03    14.325        .31080E-05** at limit **
  27  norm          15.433        1.0112       -.74210E-07   -.23409E-05
  28  Prefactor     .10045E-03    16.146        .12733E-04** at limit **
  29  Prefactor     .10084E-03    14.628       -.82433E-05** at limit **
  30  Prefactor     .10002E-03    15.271       -.16301E-04** at limit **
  31  Prefactor     .10023E-03    12.029        .11445E-05** at limit **
  32  Normalizat    1.1972        .33442        .22739E-06   -.11789E-03
  33  Prefactor     .70451        .34522        .25970E-05   -.94563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100035
  norm       = 1.6837
  norm       = 0.00010042
  Prefactor  = 4.00032
  Prefactor  = 0.000102537
  Prefactor  = 3.70355
  norm       = 3.77509
  Prefactor  = 0.000107239
  Prefactor  = 0.000719747
  Prefactor  = 2.92512
  norm       = 0.000100051
  norm       = 0.931984
  norm       = 1.51879
  Prefactor  = 0.000100191
  Prefactor  = 51.743
  Prefactor  = 0.0001
  Prefactor  = 0.000100155
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 70.9976
  norm       = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.000100138
  Prefactor  = 0.00010233
  Prefactor  = 0.000100152
  Prefactor  = 0.000100512
  norm       = 15.4328
  Prefactor  = 0.000100453
  Prefactor  = 0.000100841
  Prefactor  = 0.000100016
  Prefactor  = 0.00010023
  Normalizat = 1.19723
  Prefactor  = 0.704509
 **********
 **   18 **HESSE 
 **********

 FCN=   1921.860     FROM HESSE     STATUS=OK           765 CALLS     4580 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    19.478        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6837        1.5141        .81133E-02   -1.5448    
   3  norm          .10042E-03    14.986        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0003        37.874        .50175E-02   -1.5308    
   5  Prefactor     .10254E-03    89.503        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7036        79.518        .52454E-02   -1.5323    
   7  norm          3.7751        3.8103        .51944E-02   -1.5319    
   8  Prefactor     .10724E-03    146.08        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .71975E-03    1552.3        .10328E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9251        12.929        .59653E-02   -1.5366    
  11  norm          .10005E-03    2.2580        .28760E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .93198        13.266        .37461E-01   -1.5515    
  13  norm          1.5188        5.5608        .86700E-02   -1.5461    
  14  Prefactor     .10019E-03    29.876        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     51.743        43.447        .13938E-02   -1.4268    
  16  Prefactor     .10000E-03    6.3764        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10015E-03    61.497        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    18.596        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6831        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          70.998        43.253        .11911E-02   -1.4021    
  21  norm          .10004E-03    7.1911        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.7977        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10014E-03    13.899        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10233E-03    87.170        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10015E-03    20.522        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10051E-03    57.431        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          15.433        10.723        .25489E-02   -1.4922    
  28  Prefactor     .10045E-03    73.695        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10084E-03    49.188        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10002E-03    38.870        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10023E-03    30.612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1972        .31092        .34958E-01   -.86688    
  33  Prefactor     .70451        .30535        .63273E-01   -1.0335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30643e-07
Minuit parameter uncertainties:
  1  0.00166329
  2  1.51413
  3  0.00501892
  4  24.6381
  5  0.0301847
  6  34.3735
  7  3.81059
  8  0.0651979
  9  2.01631
  10  12.3035
  11  0.000676572
  12  7.03399
  13  5.56266
  14  0.00478277
  15  43.4736
  16  6.34108e-05
  17  0.00617711
  18  0.000894367
  19  3.59883e-05
  20  43.272
  21  0.00112887
  22  3.22539e-05
  23  0.00276598
  24  0.0285471
  25  0.00353251
  26  0.0108515
  27  10.7241
  28  0.0115733
  29  0.0128733
  30  0.00160238
  31  0.00531022
  32  0.311402
  33  0.306082
Done.

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

Extracting fit parameters...

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  1.000e-04  8.944e-04  1.000e-04  1.000e+04 ( 1.000e-14)
390        Index:  1.747e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  7.045e-01  3.061e-01  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  1.197e+00  3.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 174.118 67.613
Photon Flux Upper Limit: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/962096/likelihoodResults_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.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): 102
logL (Free Index) = 1921.86016808
delta logL = -0.000246666325211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1921.859922
delta logL = -5.92055130255e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9099       1.0000          .0000       10.000    
     3 'Normalizat'    1.1972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70458       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1921.860     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      234 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7.5326        .90712E-02** at limit **
   2  Index         1.8780        8.3566        .50000        .15009E-04
   3  Normalizat    1.1972        .49216E-02    .34961E-01   -.68757E-05
   4  Prefactor     .70451        .51214E-02    .63273E-01    .12717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 1.878
  Normalizat = 1.19723
  Prefactor  = 0.70451
 **********
 **   18 **HESSE 
 **********

 FCN=   1921.860     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    61.946        .17164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8780        6.0786        .50000       -.67436    
   3  Normalizat    1.1972        .14165E-01    .21293E-03   -.86688    
   4  Prefactor     .70451        .14718E-01    .27991E-03   -1.0335    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28137e-07
Minuit parameter uncertainties:
  1  0.00171902
  2  107.034
  3  0.0141648
  4  0.0147181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/962096': 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) = 1921.85992183
delta logL = -4.22922084908e-07

Extracting fit parameters...

4FGL J1136.4+6736
   Spectrum: PowerLaw
389    Prefactor:  1.000e-04  1.719e-03  1.000e-04  1.000e+04 ( 1.000e-14)
390        Index:  1.878e+00  1.070e+02  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  7.045e-01  1.472e-02  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  1.197e+00  1.416e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 174.118 67.613

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/962096/cmap_HighResolution_550886401_551145601_4FGL_J1136.4+6736_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-09-04 06:00:31.907065', job_id='962096', GAL2='0.70', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630760431.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-4.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1202' AND source_name='4FGL J1136.4+6736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 06:00:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 962096: <4FGL_J1136.4+6736_daily_bin1202> in cluster <slac> Done

Job <4FGL_J1136.4+6736_daily_bin1202> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 05:46:51 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 05:46:53 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:46:53 2021
Terminated at Sat Sep  4 06:00:34 2021
Results reported at Sat Sep  4 06:00:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.4+6736_daily_bin1202 174.118 67.6127 550886401 551145601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1136.4+6736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   577.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             223.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            823 sec.

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

