/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 220 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1153.4+4931_daily_bin253
RA = 178.35, Dec = 49.5169
tmin = 304905601, tmax = 305164801
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='149439', job_status='RUN', time_executed='2021-09-04 15:05:06.074136', time_epoch_executed='1630793106.07' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149439/ft1_4FGL_J1153.4+4931_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149439/ft1_4FGL_J1153.4+4931_daily_bin253.fits outfile=/scratch/kocevski/149439/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin253.fits ra=178.35 dec=49.5169 rad=12.0 tmin=304905601.0 tmax=305164801.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.50
user 3.27
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.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/149439/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin253.fits evtable="EVENTS" outfile="/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/149439/ltcube_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.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/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits
.....................!
real 11.75
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/149439/ltcube_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits outfile=/scratch/kocevski/149439/expmap_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.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/149439/ltcube_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits
.....................!
real 190.88
user 186.21
sys 4.36

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

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits outfile=/scratch/kocevski/149439/cmap_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.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=178.35 yref=49.5169 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits outfile=/scratch/kocevski/149439/cmap_HighResolution_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.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=178.35 yref=49.5169 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149439/Model_4FGL_J1153.4+4931_daily_bin253.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/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits.....................!
real 51.45
user 50.17
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits', '/scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits', expMap='/scratch/kocevski/149439/expmap_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits', expCube='/scratch/kocevski/149439/ltcube_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/149439/Model_4FGL_J1153.4+4931_daily_bin253.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.4+4931'

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/149439/ft1_filtered_4FGL_J1153.4+4931_daily_bin253.fits
Spacecraft file(s): /scratch/kocevski/149439/ft2_4FGL_J1153.4+4931_daily_bin253.fits
Exposure map: /scratch/kocevski/149439/expmap_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits
Exposure cube: /scratch/kocevski/149439/ltcube_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/149439/Model_4FGL_J1153.4+4931_daily_bin253.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) = 5900.95547412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    119.04       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    91.591       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .83300       1.0000         .10000E-03   10000.    
    10 'Prefactor '    52.688       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1955       1.0000         .10000E-03   10000.    
    15 'norm      '    7.0364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5652       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.786       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.466       1.0000         .10000E-03   10000.    
    22 'norm      '    5.2694       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11888E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.4439       1.0000         .10000E-03   10000.    
    25 'norm      '    3.0152       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.6831       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .71962       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5900.931     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     3056 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10014E-03    34.038       -.21151E-04** at limit **
   2  Prefactor     .10044E-03    16.559       -.36791E-05** at limit **
   3  Prefactor     119.04        1.0291       -.53816E-07    .57943E-03
   4  norm          .10000E-03    .77702       -.57178E-06** at limit **
   5  Prefactor     91.598        2.7692        .66536E-06   -.64417E-02
   6  Prefactor     .10000E-03    10.355        .31010E-05** at limit **
   7  Prefactor     .10000E-03    16.496       -.98457E-05** at limit **
   8  norm          .10002E-03    9.7258        .89718E-06** at limit **
   9  Prefactor     .81123        9.9795        .84328E-05    .29687E-02
  10  Prefactor     52.715        9.0665        .30168E-05   -.13176E-01
  11  norm          .10000E-03    1.4207       -.78383E-07** at limit **
  12  Prefactor     .10008E-03    13.914        .61112E-05** at limit **
  13  norm          .10047E-03    16.206       -.25391E-05** at limit **
  14  norm          1.1953        .87979        .26579E-06    .29369E-04
  15  norm          7.0358        1.1021        .30302E-06    .76711E-03
  16  Prefactor     5.5649        3.5009        .77264E-06    .15042E-02
  17  Prefactor     28.789        1.1655        .27368E-06   -.72861E-03
  18  norm          .10000E-03    1.6782        .18941E-06** at limit **
  19  Prefactor     .10000E-03    9.8642       -.11040E-06** at limit **
  20  Prefactor     .10000E-03    1.9277       -.34623E-06** at limit **
  21  norm          12.467        3.4151       -.10557E-05   -.34496E-02
  22  norm          5.2696        5.8217       -.19785E-05   -.29183E-02
  23  Prefactor     .10004E-03    2.2950       -.23572E-05** at limit **
  24  Prefactor     2.4439        2.9678        .40998E-05    .16617E-02
  25  norm          3.0152        2.1888       -.15080E-06   -.15115E-03
  26  Prefactor     .10012E-03    11.841        .19042E-05** at limit **
  27  norm          2.6827        2.3890       -.27175E-06    .43993E-04
  28  Normalizat    .71957        .20048       -.38979E-05    .99120E-05
  29  Prefactor     1.3747        .25536        .49740E-05    .18095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100137
  Prefactor  = 0.000100441
  Prefactor  = 119.04
  norm       = 0.0001
  Prefactor  = 91.5977
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  norm       = 0.000100021
  Prefactor  = 0.811231
  Prefactor  = 52.715
  norm       = 0.0001
  Prefactor  = 0.000100082
  norm       = 0.000100468
  norm       = 1.1953
  norm       = 7.03581
  Prefactor  = 5.56488
  Prefactor  = 28.7889
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 12.4667
  norm       = 5.26964
  Prefactor  = 0.000100037
  Prefactor  = 2.44386
  norm       = 3.01519
  Prefactor  = 0.000100124
  norm       = 2.68266
  Normalizat = 0.719568
  Prefactor  = 1.3747
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.931     FROM HESSE     STATUS=OK           621 CALLS     3677 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10014E-03    66.052        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10044E-03    55.280        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     119.04        108.71        .92205E-03   -1.3522    
   4  norm          .10000E-03    .77114        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     91.598        72.349        .10497E-02   -1.3791    
   6  Prefactor     .10000E-03    19.777        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.831        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    20.050        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .81123        5.2853        .91431E-01   -1.5528    
  10  Prefactor     52.715        37.817        .13814E-02   -1.4255    
  11  norm          .10000E-03    1.4064        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10008E-03    35.830        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10047E-03    52.555        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1953        .90276        .10397E-01   -1.5489    
  15  norm          7.0358        7.3467        .37808E-02   -1.5177    
  16  Prefactor     5.5649        3.5142        .42575E-02   -1.5236    
  17  Prefactor     28.789        28.960        .18668E-02   -1.4634    
  18  norm          .10000E-03    1.6692        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.8616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.9266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.467        3.4306        .28363E-02   -1.5002    
  22  norm          5.2696        5.9729        .43774E-02   -1.5249    
  23  Prefactor     .10004E-03    12.130        .10322       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.4439        2.9810        .65424E-02   -1.5395    
  25  norm          3.0152        2.1843        .58431E-02   -1.5361    
  26  Prefactor     .10012E-03    33.108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.6827        2.4004        .62190E-02   -1.5380    
  28  Normalizat    .71957        .17612        .61258E-01   -1.0313    
  29  Prefactor     1.3747        .21575        .59419E-01   -.81112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.90334e-07
Minuit parameter uncertainties:
  1  0.00601791
  2  0.00987948
  3  108.888
  4  6.29922e-07
  5  72.4189
  6  0.000245865
  7  0.000701966
  8  0.00130798
  9  4.14157
  10  37.8339
  11  3.37938e-07
  12  0.00342483
  13  0.00993169
  14  0.902771
  15  7.34765
  16  3.51431
  17  28.9739
  18  1.91049e-07
  19  0.00030334
  20  1.31288e-06
  21  3.43067
  22  5.97356
  23  0.0013322
  24  2.98119
  25  2.18438
  26  0.00405721
  27  2.40049
  28  0.176258
  29  0.215887
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  5.565e+00  3.514e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.375e+00  2.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  7.196e-01  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 178.350 49.517
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.45e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.11e-05

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) = 5900.72893995
delta logL = 0.202426737688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5900.72840039
delta logL = 0.202966299037

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5900.728     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      267 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0359        125.65        .37814E-02    .18344E-03
   2  Index         2.0995        5.9285        .17825        .49422E-04
   3  Normalizat    .73436        .12280        .42748E-01    .19102E-04
   4  Prefactor     1.3589        .15240        .59683E-01    .21718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.03595
  Index      = 2.09955
  Normalizat = 0.734358
  Prefactor  = 1.35895
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.728     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0359        4.5990        .12142E-03   -1.5177    
   2  Index         2.0995        .45718        .68175E-02   -.61884    
   3  Normalizat    .73436        .19646        .26820E-03   -1.0255    
   4  Prefactor     1.3589        .25534        .26393E-03   -.81571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01963e-11
Minuit parameter uncertainties:
  1  4.59926
  2  0.458146
  3  0.196648
  4  0.255577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149439': 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) = 5900.72840008
delta logL = 0.202966605142

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  7.036e+00  4.599e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.100e+00  4.581e-01  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.359e+00  2.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  7.344e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.55
Ra Dec: 178.350 49.517
Photon Index (Free Index): 2.10 +/- 0.46
Photon Flux (Free Index): 4.67e-08 +/- 3.23e-08
Energy Flux (Free Index): 2.56e-05 +/- 2.35e-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/149439/cmap_HighResolution_304905601_305164801_4FGL_J1153.4+4931_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.45e-08', energy_flux2='2.56e-05', photon_flux_error='3.44e-08', dlogl='2.03e-01', energy_flux='1.76e-05', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-09-04 15:17:12.355566', photon_index_error2='0.46', photon_index2='2.10', ts='4.15', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.72', time_epoch_completed='1630793832.36', return_code='0', job_id='149439', GAL2='1.36', EG2='0.73', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='3.23e-08', ts2='4.55', photon_index='2.41' WHERE bin_id='253' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:17:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 149439: <4FGL_J1153.4+4931_daily_bin253> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin253> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep  4 15:01:15 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:01:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 15:01:16 2021
Terminated at Sat Sep  4 15:17:12 2021
Results reported at Sat Sep  4 15:17:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin253 178.35 49.5169 304905601 305164801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   726.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             271.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

