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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1449
RA = 177.656, Dec = 41.9096
tmin = 614908801, tmax = 615168001
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='115576', job_status='RUN', time_executed='2021-09-04 13:28:27.878334', time_epoch_executed='1630787307.88' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115576

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115576/ft1_4FGL_J1150.6+4154_daily_bin1449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115576/ft1_4FGL_J1150.6+4154_daily_bin1449.fits outfile=/scratch/kocevski/115576/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1449.fits ra=177.656 dec=41.9096 rad=12.0 tmin=614908801.0 tmax=615168001.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.75
user 3.36
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.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/115576/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1449.fits evtable="EVENTS" outfile="/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits" evtable="EVENTS" scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits sctable="SC_DATA" outfile=/scratch/kocevski/115576/ltcube_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.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/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits
.....................!
real 11.65
user 11.31
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits evtable="EVENTS" scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits sctable="SC_DATA" expcube=/scratch/kocevski/115576/ltcube_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits outfile=/scratch/kocevski/115576/expmap_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.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/115576/ltcube_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits
.....................!
real 189.85
user 185.29
sys 4.25

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits outfile=/scratch/kocevski/115576/cmap_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.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=177.656 yref=41.9096 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.68
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits outfile=/scratch/kocevski/115576/cmap_HighResolution_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.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=177.656 yref=41.9096 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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits evtable="EVENTS" scfile=/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115576/Model_4FGL_J1150.6+4154_daily_bin1449.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/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits.....................!
real 51.36
user 49.76
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits', '/scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits', expMap='/scratch/kocevski/115576/expmap_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits', expCube='/scratch/kocevski/115576/ltcube_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115576/Model_4FGL_J1150.6+4154_daily_bin1449.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1449.fits
Spacecraft file(s): /scratch/kocevski/115576/ft2_4FGL_J1150.6+4154_daily_bin1449.fits
Exposure map: /scratch/kocevski/115576/expmap_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits
Exposure cube: /scratch/kocevski/115576/ltcube_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115576/Model_4FGL_J1150.6+4154_daily_bin1449.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) = 5963.52742514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2618       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9776       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1873       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2423       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6229       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.846       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.614       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10776E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.407       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81463       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1223       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5963.518     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2680 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    50.972       -.43281E-05** at limit **
   2  norm          1.2619        .34119       -.30835E-08    .27813E-04
   3  Prefactor     15.952        16.222       -.15237E-06   -.46695E-05
   4  Prefactor     .10000E-03    9.7459       -.85623E-07** at limit **
   5  Prefactor     .10000E-03    33.271       -.36520E-05** at limit **
   6  norm          .10000E-03    5.9983       -.77737E-07** at limit **
   7  norm          .10000E-03    18.141        .24687E-06** at limit **
   8  Prefactor     3.9777        2.5076        .78166E-06   -.19816E-02
   9  Prefactor     .10000E-03    41.306        .16476E-05** at limit **
  10  norm          3.1875        2.5750       -.16124E-06   -.10427E-03
  11  Prefactor     3.2427        3.7320       -.28490E-07   -.59920E-04
  12  Prefactor     .10000E-03    40.165        .17317E-05** at limit **
  13  norm          4.6233        1.3950        .83994E-08   -.12069E-03
  14  norm          .10000E-03    7.2690        .30267E-07** at limit **
  15  Prefactor     11.836        28.046       -.34244E-05   -.17745E-03
  16  Prefactor     .10000E-03    1.6303        .95383E-07** at limit **
  17  Prefactor     .10000E-03    42.367        .23277E-05** at limit **
  18  Prefactor     16.616        17.067       -.46633E-07   -.13767E-04
  19  Prefactor     .10000E-03    45.721        .13921E-05** at limit **
  20  Prefactor     .10000E-03    3.9135       -.39917E-07** at limit **
  21  norm          .10000E-03    3.7842        .99869E-08** at limit **
  22  Prefactor     15.412        20.473        .44012E-06    .57376E-04
  23  Normalizat    .81455        .16675        .43642E-06   -.44661E-04
  24  Prefactor     1.1224        .19677       -.44969E-06   -.67700E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  norm       = 1.26188
  Prefactor  = 15.9521
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.97772
  Prefactor  = 0.000100001
  norm       = 3.18749
  Prefactor  = 3.24266
  Prefactor  = 0.000100001
  norm       = 4.6233
  norm       = 0.0001
  Prefactor  = 11.8358
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.6163
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4122
  Normalizat = 0.814553
  Prefactor  = 1.12237
 **********
 **   18 **HESSE 
 **********

 FCN=   5963.518     FROM HESSE     STATUS=OK           395 CALLS     3075 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    52.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2619        .34285        .21969E-04   -1.5483    
   3  Prefactor     15.952        16.269        .10028E-03   -1.4909    
   4  Prefactor     .10000E-03    9.7655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    34.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.0101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    18.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9777        2.8905        .51309E-03   -1.5309    
   9  Prefactor     .10000E-03    41.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1875        2.5829        .10366E-03   -1.5351    
  11  Prefactor     3.2427        3.7271        .15372E-03   -1.5348    
  12  Prefactor     .10000E-03    40.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6233        1.3945        .47535E-04   -1.5278    
  14  norm          .10000E-03    7.3123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.836        29.028        .11639E-03   -1.5020    
  16  Prefactor     .10000E-03    1.6622        .96067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    42.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.616        17.069        .98260E-04   -1.4892    
  19  Prefactor     .10000E-03    46.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.9298        .14917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.8191        .14635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.412        20.497        .10204E-03   -1.4923    
  23  Normalizat    .81455        .19552        .25175E-03   -.99531    
  24  Prefactor     1.1224        .23024        .26641E-03   -.88755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3108e-09
Minuit parameter uncertainties:
  1  0.00107094
  2  0.342848
  3  16.2737
  4  1.04202e-05
  5  0.00072974
  6  7.0711e-06
  7  3.52079e-05
  8  2.89057
  9  0.000347713
  10  2.583
  11  3.72737
  12  0.000352977
  13  1.39452
  14  6.81625e-07
  15  29.0626
  16  2.43864e-06
  17  0.000507668
  18  17.0738
  19  0.000504031
  20  1.07376e-06
  21  7.99951e-06
  22  20.5063
  23  0.195694
  24  0.230443
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  6.816e-07  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.122e+00  2.304e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  8.146e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115576/likelihoodResults_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.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) = 5963.51836557
delta logL = -0.000650607074931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5963.51771694
delta logL = -1.97308600036e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13860E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6619       1.0000          .0000       5.0000    
     3 'Normalizat'    .81461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1223       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+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=   5963.476     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      325 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81861        14.012        .50554E-01    .23546E-03
   2  alpha         2.9048        1.7610        .50000       -.33101E-04
   3  Normalizat    .80823        .13367E-01    .25175E-03   -.20249E-03
   4  Prefactor     1.1211        .16420E-01    .26641E-03   -.92557E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.818612
  alpha      = 2.90484
  Normalizat = 0.808234
  Prefactor  = 1.1211
 **********
 **   18 **HESSE 
 **********

 FCN=   5963.476     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      356 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81861        490.68        .17306E-02   -1.5527    
   2  alpha         2.9048        3.9520        .18371E-01    .16265    
   3  Normalizat    .80823        .20002        .10070E-04   -.99764    
   4  Prefactor     1.1211        .28426        .10657E-04   -.88795    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.12982e-08
Minuit parameter uncertainties:
  1  40.4182
  2  19.7138
  3  0.200205
  4  0.284649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115576': 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) = 5963.47625734
delta logL = 0.0414576241792

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  8.186e-01  4.042e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.905e+00  1.971e+01  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.121e+00  2.846e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  8.082e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 177.656 41.910

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/115576/cmap_HighResolution_614908801_615168001_4FGL_J1150.6+4154_daily_bin1449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-05', job_status='DONE', photon_flux_upper_limit='3.20e-08', time_completed='2021-09-04 13:40:39.738753', job_id='115576', GAL2='1.12', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630788039.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='4.15e-02', ts2='0.08', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1449' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:40:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 115576: <4FGL_J1150.6+4154_daily_bin1449> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1449> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:15 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 13:26:17 2021
Terminated at Sat Sep  4 13:40:40 2021
Results reported at Sat Sep  4 13:40:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1449 177.656 41.9096 614908801 615168001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   728.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            865 sec.

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

