/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 176 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 = 7396
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin14
RA = 177.656, Dec = 41.9096
tmin = 242956801, tmax = 243216001
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='107433', job_status='RUN', time_executed='2021-09-04 13:05:08.327138', time_epoch_executed='1630785908.33' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107433/ft1_4FGL_J1150.6+4154_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107433/ft1_4FGL_J1150.6+4154_daily_bin14.fits outfile=/scratch/kocevski/107433/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin14.fits ra=177.656 dec=41.9096 rad=12.0 tmin=242956801.0 tmax=243216001.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 1.41
user 1.23
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/107433/ltcube_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.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/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits
.....................!
real 12.53
user 12.11
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/107433/ltcube_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits outfile=/scratch/kocevski/107433/expmap_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.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/107433/ltcube_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits
.....................!
real 191.47
user 185.97
sys 5.18

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/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits scfile=/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits outfile=/scratch/kocevski/107433/cmap_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.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.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits scfile=/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits outfile=/scratch/kocevski/107433/cmap_HighResolution_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits', '/scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits', expMap='/scratch/kocevski/107433/expmap_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits', expCube='/scratch/kocevski/107433/ltcube_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107433/Model_4FGL_J1150.6+4154_daily_bin14.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/107433/ft1_filtered_4FGL_J1150.6+4154_daily_bin14.fits
Spacecraft file(s): /scratch/kocevski/107433/ft2_4FGL_J1150.6+4154_daily_bin14.fits
Exposure map: /scratch/kocevski/107433/expmap_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits
Exposure cube: /scratch/kocevski/107433/ltcube_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107433/Model_4FGL_J1150.6+4154_daily_bin14.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) = 7825.16548615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.126       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.652       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    139.61       1.0000         .10000E-03   10000.    
     6 'norm      '    9.6340       1.0000         .10000E-03   10000.    
     7 'norm      '    21.502       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.002       1.0000         .10000E-03   10000.    
    10 'norm      '    .11716E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.068       1.0000         .10000E-03   10000.    
    13 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7644       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11386E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7860       1.0000         .10000E-03   10000.    
    17 'Prefactor '    63.152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.492       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2885       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1229       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90797       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7825.159     FROM MIGRAD    STATUS=CONVERGED     91 CALLS     2323 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.106        4.4536        .46245E-06    .69079E-03
   2  norm          1.2095        .27950       -.25940E-07    .22500E-03
   3  Prefactor     12.642        9.9371        .16299E-05   -.45716E-02
   4  Prefactor     .10000E-03    8.4804       -.13125E-06** at limit **
   5  Prefactor     139.60        2.1082        .66672E-07    .27119E-02
   6  norm          9.6359        6.5167        .77924E-06    .74700E-02
   7  norm          21.501        1.0297        .38477E-07   -.39149E-03
   8  Prefactor     1.5931        2.1570        .26496E-06    .18568E-03
   9  Prefactor     10.029        6.3145       -.96230E-06   -.12013E-02
  10  norm          .10000E-03    3.4929        .13135E-06** at limit **
  11  Prefactor     1.0814        3.9493        .12160E-05    .27470E-03
  12  Prefactor     11.089        5.2124       -.10182E-05    .23692E-02
  13  norm          .10000E-03    .91687       -.40807E-07** at limit **
  14  norm          7.7643        1.0341        .48218E-07    .56645E-03
  15  Prefactor     .10165E-03    434.43        .22827E-04** at limit **
  16  Prefactor     1.7858        2.6438        .13473E-07    .18153E-04
  17  Prefactor     63.162        2.4000       -.17932E-06    .19406E-02
  18  Prefactor     .10000E-03    10.226        .22788E-06** at limit **
  19  Prefactor     21.490        1.9282        .24343E-06   -.35780E-02
  20  Prefactor     3.2883        3.3899       -.13416E-06   -.42714E-03
  21  norm          .10000E-03    2.9035       -.25991E-06** at limit **
  22  Prefactor     .10000E-03    6.7149        .45032E-06** at limit **
  23  Normalizat    1.1230        .17501        .49096E-06    .10314E-03
  24  Prefactor     .90792        .20679       -.42329E-06    .59092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1064
  norm       = 1.2095
  Prefactor  = 12.6422
  Prefactor  = 0.0001
  Prefactor  = 139.602
  norm       = 9.63591
  norm       = 21.5011
  Prefactor  = 1.5931
  Prefactor  = 10.0293
  norm       = 0.0001
  Prefactor  = 1.08142
  Prefactor  = 11.0886
  norm       = 0.0001
  norm       = 7.76433
  Prefactor  = 0.000101649
  Prefactor  = 1.78585
  Prefactor  = 63.1616
  Prefactor  = 0.0001
  Prefactor  = 21.49
  Prefactor  = 3.28834
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12295
  Prefactor  = 0.907922
 **********
 **   18 **HESSE 
 **********

 FCN=   7825.159     FROM HESSE     STATUS=OK           473 CALLS     2796 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.106        52.475        .20823E-02   -1.4746    
   2  norm          1.2095        .28198        .48401E-02   -1.5488    
   3  Prefactor     12.642        15.332        .28154E-02   -1.4997    
   4  Prefactor     .10000E-03    8.4702        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     139.60        92.490        .85231E-03   -1.3339    
   6  norm          9.6359        11.403        .32277E-02   -1.5087    
   7  norm          21.501        28.527        .21595E-02   -1.4780    
   8  Prefactor     1.5931        3.3916        .84043E-02   -1.5456    
   9  Prefactor     10.029        143.65        .31676E-02   -1.5074    
  10  norm          .10000E-03    1.6159        .48649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0814        4.0586        .11570E-01   -1.5500    
  12  Prefactor     11.089        42.117        .30107E-02   -1.5042    
  13  norm          .10000E-03    .57699        .21809E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7643        6.7047        .35977E-02   -1.5151    
  15  Prefactor     .10165E-03    17.052        .11047       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7858        2.6722        .78265E-02   -1.5441    
  17  Prefactor     63.162        47.538        .12624E-02   -1.4117    
  18  Prefactor     .10000E-03    10.208        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.490        21.167        .21599E-02   -1.4780    
  20  Prefactor     3.2883        3.3920        .55819E-02   -1.5345    
  21  norm          .10000E-03    2.8782        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.7078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1230        .15671        .37137E-01   -.89018    
  24  Prefactor     .90792        .17913        .67773E-01   -.95865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21191e-07
Minuit parameter uncertainties:
  1  52.5802
  2  0.281977
  3  15.3364
  4  3.8568e-05
  5  92.5861
  6  11.4055
  7  28.545
  8  3.39204
  9  76.1337
  10  1.91809e-06
  11  4.0596
  12  42.2304
  13  7.25889e-08
  14  6.70533
  15  0.0106069
  16  2.67234
  17  47.5661
  18  4.27107e-05
  19  21.1745
  20  3.39224
  21  9.95573e-06
  22  9.44424e-06
  23  0.156778
  24  0.179242
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  7.764e+00  6.705e+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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.079e-01  1.792e-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:  1.123e+00  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.69
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 9.88e-09 +/- 8.53e-09
Energy Flux (Fixed Index): 1.75e-05 +/- 1.51e-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) = 7824.76251618
delta logL = 0.396124670394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7824.28676659
delta logL = 0.871874255222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1292       1.0000         .10000E-03   10000.    
     2 'alpha     '    .28645       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91765       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.

 FCN=   7824.287     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      223 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1230        1.2749        .19912E-01    .74850E-03
   2  alpha         .28440        .66228        .50000        .25601E-04
   3  Normalizat    1.1216        .14867        .37182E-01   -.80122E-05
   4  Prefactor     .91778        .17772        .67489E-01    .21208E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.12299
  alpha      = 0.284395
  Normalizat = 1.12156
  Prefactor  = 0.917782
 **********
 **   18 **HESSE 
 **********

 FCN=   7824.287     FROM HESSE     STATUS=OK            35 CALLS      258 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1230        2.5806        .70457E-03   -1.5496    
   2  alpha         .28440        .81598        .35649E-01   -1.0892    
   3  Normalizat    1.1216        .17296        .22947E-03   -.89063    
   4  Prefactor     .91778        .20647        .29854E-03   -.95522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10502e-10
Minuit parameter uncertainties:
  1  2.58083
  2  0.90546
  3  0.173044
  4  0.206649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107433': 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) = 7824.28676358
delta logL = 0.871877268443

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.123e+00  2.581e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.844e-01  9.055e-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:  9.178e-01  2.066e-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:  1.122e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.43
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.28 +/- 0.91
Photon Flux (Free Index): 2.37e-09 +/- 2.43e-09
Energy Flux (Free Index): 6.68e-05 +/- 8.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/107433/cmap_HighResolution_242956801_243216001_4FGL_J1150.6+4154_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.88e-09', energy_flux2='6.68e-05', photon_flux_error='8.53e-09', dlogl='8.72e-01', energy_flux='1.75e-05', photon_flux2='2.37e-09', job_status='DONE', time_completed='2021-09-04 13:17:01.826838', photon_index_error2='0.91', photon_index2='0.28', ts='12.69', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='8.49e-05', EG='1.12', time_epoch_completed='1630786621.83', return_code='0', job_id='107433', GAL2='0.92', EG2='1.12', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='2.43e-09', ts2='14.43', photon_index='1.62' WHERE bin_id='14' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:17:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 107433: <4FGL_J1150.6+4154_daily_bin14> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin14> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:01:59 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:02:01 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:02:01 2021
Terminated at Sat Sep  4 13:17:02 2021
Results reported at Sat Sep  4 13:17:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin14 177.656 41.9096 242956801 243216001 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 :                                   714.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

