/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 93 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 = 7347
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1435
RA = 177.656, Dec = 41.9096
tmin = 611280001, tmax = 611539201
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='115535', job_status='RUN', time_executed='2021-09-04 13:28:04.475976', time_epoch_executed='1630787284.48' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1435'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115535

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115535/ft1_4FGL_J1150.6+4154_daily_bin1435.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115535/ft1_4FGL_J1150.6+4154_daily_bin1435.fits outfile=/scratch/kocevski/115535/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1435.fits ra=177.656 dec=41.9096 rad=12.0 tmin=611280001.0 tmax=611539201.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.56
user 3.28
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.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/115535/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1435.fits evtable="EVENTS" outfile="/scratch/kocevski/115535/ft1_filtered_4FGL_J1150.6+4154_daily_bin1435.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/115535/ft1_filtered_4FGL_J1150.6+4154_daily_bin1435.fits" evtable="EVENTS" scfile=/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits sctable="SC_DATA" outfile=/scratch/kocevski/115535/ltcube_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.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/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits
.....................!
real 11.74
user 11.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115535/ft1_filtered_4FGL_J1150.6+4154_daily_bin1435.fits evtable="EVENTS" scfile=/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits sctable="SC_DATA" expcube=/scratch/kocevski/115535/ltcube_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.fits outfile=/scratch/kocevski/115535/expmap_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.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/115535/ltcube_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.fits
.....................!
real 189.67
user 185.25
sys 4.07

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/115535/ft1_filtered_4FGL_J1150.6+4154_daily_bin1435.fits scfile=/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits outfile=/scratch/kocevski/115535/cmap_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115535/ft1_filtered_4FGL_J1150.6+4154_daily_bin1435.fits scfile=/scratch/kocevski/115535/ft2_4FGL_J1150.6+4154_daily_bin1435.fits outfile=/scratch/kocevski/115535/cmap_HighResolution_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23425E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4806       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8403       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    33.142       1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.312       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1164       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.911       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5758       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5154       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.028       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9602       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.357       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.034       1.0000         .10000E-03   10000.    
    21 'norm      '    11.643       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .66036       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74862       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96049       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=   6229.308     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     3099 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    59.710        .18530    ** at limit **
   2  norm          1.4806        .34284        .20790E-04    .16277E-02
   3  Prefactor     .10000E-03    8.6025        .18142E-02** at limit **
   4  Prefactor     9.8397        13.203        .63871E-03   -.40189E-03
   5  Prefactor     .10000E-03    31.754        .18142E-02** at limit **
   6  norm          33.139        15.264        .69605E-04   -.68926E-04
   7  norm          .10000E-03    18.443        .18142E-02** at limit **
   8  Prefactor     .10000E-03    1.6839        .15664E-02** at limit **
   9  Prefactor     33.277        31.002        .69428E-04   -.19322E-04
  10  norm          4.1157        2.2144        .81430E-04   -.28886E-03
  11  Prefactor     23.909        6.5413        .81917E-04   -.18247E-03
  12  Prefactor     .10000E-03    32.149        .18142E-02** at limit **
  13  norm          2.5756        1.0502        .25430E-04   -.45286E-03
  14  norm          3.5151        6.2055        .21562E-03   -.18965E-03
  15  Prefactor     26.029        23.873        .78521E-04   -.50675E-05
  16  Prefactor     3.9600        3.6828        .12243E-03   -.10660E-03
  17  Prefactor     .10000E-03    21.453        .18142E-02** at limit **
  18  Prefactor     20.362        22.028        .88772E-04    .85676E-04
  19  Prefactor     .10000E-03    8.0685        .18142E-02** at limit **
  20  Prefactor     15.034        9.3962        .10330E-03    .18269E-04
  21  norm          11.649        7.4455        .11741E-03    .58670E-03
  22  Prefactor     .64705        149.98        .54066E-02   -.17734E-03
  23  Normalizat    .74858        .17921        .25091E-03    .54869E-03
  24  Prefactor     .96054        .21301        .27561E-03    .52971E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010009
  norm       = 1.48059
  Prefactor  = 0.000100001
  Prefactor  = 9.83971
  Prefactor  = 0.0001
  norm       = 33.1393
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.2766
  norm       = 4.11572
  Prefactor  = 23.9086
  Prefactor  = 0.000100003
  norm       = 2.57556
  norm       = 3.51507
  Prefactor  = 26.0287
  Prefactor  = 3.95998
  Prefactor  = 0.000100001
  Prefactor  = 20.3622
  Prefactor  = 0.0001
  Prefactor  = 15.034
  norm       = 11.6486
  Prefactor  = 0.647055
  Normalizat = 0.748582
  Prefactor  = 0.960539
 **********
 **   18 **HESSE 
 **********

 FCN=   6229.308     FROM HESSE     STATUS=OK           385 CALLS     3484 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    60.692        .18293       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4806        .34279        .41581E-05   -1.5465    
   3  Prefactor     .10000E-03    8.6050        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8397        13.201        .25548E-04   -1.5080    
   5  Prefactor     .10000E-03    31.754        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          33.139        15.264        .27842E-05   -1.4556    
   7  norm          .10000E-03    18.443        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6861        .31328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.277        31.002        .27771E-05   -1.4554    
  10  norm          4.1157        2.2143        .32572E-05   -1.5302    
  11  Prefactor     23.909        6.5408        .16383E-04   -1.4730    
  12  Prefactor     .10000E-03    32.154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5756        1.0501        .10172E-05   -1.5387    
  14  norm          3.5151        6.2055        .86248E-05   -1.5333    
  15  Prefactor     26.029        23.867        .31409E-05   -1.4687    
  16  Prefactor     3.9600        3.6826        .48973E-05   -1.5310    
  17  Prefactor     .10000E-03    21.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.362        22.031        .35509E-05   -1.4805    
  19  Prefactor     .10000E-03    8.0686        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.034        9.3946        .41320E-05   -1.4932    
  21  norm          11.649        7.2226        .46963E-05   -1.5025    
  22  Prefactor     .64705        142.66        .21626E-03   -1.5547    
  23  Normalizat    .74858        .17885        .50182E-04   -1.0201    
  24  Prefactor     .96054        .21312        .55123E-04   -.94057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77869e-09
Minuit parameter uncertainties:
  1  0.00467897
  2  0.342792
  3  0.000213065
  4  13.2045
  5  7.68629e-05
  6  15.2655
  7  1.92366e-05
  8  3.09162e-05
  9  31.0167
  10  2.21437
  11  6.54101
  12  0.000624026
  13  1.05008
  14  6.20666
  15  23.8753
  16  3.68285
  17  0.000207975
  18  22.0402
  19  3.45767e-05
  20  9.3955
  21  7.22319
  22  19.2608
  23  0.178994
  24  0.213302
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  3.515e+00  6.207e+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.605e-01  2.133e-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:  7.486e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/115535/likelihoodResults_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6229.30113871
delta logL = 0.00720387408364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6229.30095319
delta logL = 0.00738939045277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6179       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4868       1.0000          .0000       5.0000    
     3 'Normalizat'    .74895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96042       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=   6229.301     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      179 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6179        6.4079        .53104E-02    .35875E-02
   2  alpha         1.4891        1.0182        .46543E-01    .16619E-04
   3  Normalizat    .74899        .15077        .42940E-01   -.87368E-03
   4  Prefactor     .96036        .18694        .45771E-01   -.84619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61786
  alpha      = 1.48905
  Normalizat = 0.74899
  Prefactor  = 0.960363
 **********
 **   18 **HESSE 
 **********

 FCN=   6229.301     FROM HESSE     STATUS=OK            25 CALLS      204 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6179        6.3385        .21242E-03   -1.5328    
   2  alpha         1.4891        1.0116        .18617E-02   -.41630    
   3  Normalizat    .74899        .17085        .25085E-03   -1.0199    
   4  Prefactor     .96036        .21192        .27563E-03   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4034e-08
Minuit parameter uncertainties:
  1  6.33972
  2  1.04794
  3  0.170971
  4  0.212104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115535': 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) = 6229.30095093
delta logL = 0.00739165905361

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  3.618e+00  6.340e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.489e+00  1.048e+00  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.604e-01  2.121e-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:  7.490e-01  1.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/115535/cmap_HighResolution_611280001_611539201_4FGL_J1150.6+4154_daily_bin1435.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-05', job_status='DONE', photon_flux_upper_limit='2.91e-08', time_completed='2021-09-04 13:40:52.240648', job_id='115535', GAL2='0.96', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630788052.24', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='7.39e-03', ts2='0.47', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1435' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:40:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 115535: <4FGL_J1150.6+4154_daily_bin1435> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1435> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:12 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26:14 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:14 2021
Terminated at Sat Sep  4 13:40:53 2021
Results reported at Sat Sep  4 13:40:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1435 177.656 41.9096 611280001 611539201 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 :                                   764.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

