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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin503
RA = 177.656, Dec = 41.9096
tmin = 369705601, tmax = 369964801
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='110629', job_status='RUN', time_executed='2021-09-04 13:11:43.532091', time_epoch_executed='1630786303.53' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110629/ft1_4FGL_J1150.6+4154_daily_bin503.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110629/ft1_4FGL_J1150.6+4154_daily_bin503.fits outfile=/scratch/kocevski/110629/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin503.fits ra=177.656 dec=41.9096 rad=12.0 tmin=369705601.0 tmax=369964801.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.81
user 3.55
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.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/110629/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin503.fits evtable="EVENTS" outfile="/scratch/kocevski/110629/ft1_filtered_4FGL_J1150.6+4154_daily_bin503.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.55
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110629/ft1_filtered_4FGL_J1150.6+4154_daily_bin503.fits" evtable="EVENTS" scfile=/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits sctable="SC_DATA" outfile=/scratch/kocevski/110629/ltcube_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.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/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits
.....................!
real 11.81
user 11.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110629/ft1_filtered_4FGL_J1150.6+4154_daily_bin503.fits evtable="EVENTS" scfile=/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits sctable="SC_DATA" expcube=/scratch/kocevski/110629/ltcube_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.fits outfile=/scratch/kocevski/110629/expmap_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.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/110629/ltcube_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.fits
.....................!
real 189.12
user 184.60
sys 4.16

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/110629/ft1_filtered_4FGL_J1150.6+4154_daily_bin503.fits scfile=/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits outfile=/scratch/kocevski/110629/cmap_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110629/ft1_filtered_4FGL_J1150.6+4154_daily_bin503.fits scfile=/scratch/kocevski/110629/ft2_4FGL_J1150.6+4154_daily_bin503.fits outfile=/scratch/kocevski/110629/cmap_HighResolution_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6981       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.079       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10715E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24950       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2289       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0372       1.0000         .10000E-03   10000.    
    13 'norm      '    .45549       1.0000         .10000E-03   10000.    
    14 'norm      '    .10180E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2960       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.639       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8689       1.0000         .10000E-03   10000.    
    21 'norm      '    .96212       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.0684       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71455       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1845       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=   5610.489     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2373 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.318       -.54019E-05** at limit **
   2  norm          2.6981        .48353       -.28315E-08   -.84537E-03
   3  Prefactor     .10000E-03    14.105        .15659E-05** at limit **
   4  Prefactor     21.070        15.533       -.80314E-07   -.69794E-04
   5  Prefactor     .10000E-03    85.511       -.29250E-05** at limit **
   6  norm          .10000E-03    8.6476       -.29680E-06** at limit **
   7  norm          .10000E-03    19.392       -.10526E-05** at limit **
   8  Prefactor     .25043        1.9089        .21604E-06   -.13141E-03
   9  Prefactor     .10000E-03    41.563        .34552E-05** at limit **
  10  norm          .10000E-03    .58093        .13868E-06** at limit **
  11  Prefactor     8.2248        5.7797       -.12607E-06   -.19734E-03
  12  Prefactor     6.0919        33.816       -.65323E-05   -.65518E-04
  13  norm          .45358        .62757       -.27171E-07   -.55119E-03
  14  norm          .10000E-03    3.3837       -.17564E-06** at limit **
  15  Prefactor     .10000E-03    8.6517        .29104E-06** at limit **
  16  Prefactor     .10000E-03    1.8123       -.15636E-07** at limit **
  17  Prefactor     1.1785        162.68        .13546E-04   -.24109E-04
  18  Prefactor     .10000E-03    12.815       -.10016E-05** at limit **
  19  Prefactor     24.617        21.797       -.12992E-06   -.14624E-04
  20  Prefactor     1.8747        4.8606        .53279E-05   -.59326E-04
  21  norm          .95596        4.7547        .42193E-06   -.14802E-04
  22  Prefactor     5.1018        23.186        .51573E-06    .67483E-05
  23  Normalizat    .71451        .16196       -.11992E-05   -.19884E-03
  24  Prefactor     1.1846        .19712        .37920E-06   -.97076E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.69809
  Prefactor  = 0.0001
  Prefactor  = 21.0699
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.250428
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.22476
  Prefactor  = 6.09187
  norm       = 0.453581
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.17849
  Prefactor  = 0.0001
  Prefactor  = 24.6166
  Prefactor  = 1.87468
  norm       = 0.955955
  Prefactor  = 5.10179
  Normalizat = 0.714507
  Prefactor  = 1.18457
 **********
 **   18 **HESSE 
 **********

 FCN=   5610.489     FROM HESSE     STATUS=OK           399 CALLS     2772 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6981        .48508        .20888E-04   -1.5379    
   3  Prefactor     .10000E-03    14.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.070        15.570        .87240E-04   -1.4790    
   5  Prefactor     .10000E-03    85.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.6894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    19.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .25043        3.6191        .18604E-02   -1.5608    
   9  Prefactor     .10000E-03    41.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .58425        .55723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.2248        5.6603        .13771E-03   -1.5134    
  12  Prefactor     6.0919        33.183        .16341E-03   -1.5214    
  13  norm          .45358        .57181        .62829E-03   -1.5573    
  14  norm          .10000E-03    3.3871        .13457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.6671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.8637        .19674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1785        163.13        .38853E-02   -1.5491    
  18  Prefactor     .10000E-03    12.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.617        21.799        .40350E-03   -1.4715    
  20  Prefactor     1.8747        4.8709        .12982E-02   -1.5434    
  21  norm          .95596        4.3780        .29152E-03   -1.5512    
  22  Prefactor     5.1018        22.205        .17860E-03   -1.5256    
  23  Normalizat    .71451        .19069        .24814E-03   -1.0332    
  24  Prefactor     1.1846        .23399        .24895E-03   -.86808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02367e-08
Minuit parameter uncertainties:
  1  3.26077e-05
  2  0.48508
  3  7.93965e-06
  4  15.573
  5  1.76871e-05
  6  2.11944e-06
  7  2.50483e-06
  8  1.90377
  9  5.76152e-05
  10  4.8205e-06
  11  5.66062
  12  28.4599
  13  0.571818
  14  1.21225e-05
  15  3.97962e-07
  16  6.42819e-07
  17  27.8073
  18  1.92148e-05
  19  21.8057
  20  4.87196
  21  4.0918
  22  21.3001
  23  0.190871
  24  0.234192
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.212e-05  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.185e+00  2.342e-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.145e-01  1.909e-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: 2.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110629/likelihoodResults_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.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) = 5610.49020694
delta logL = -0.00135958107603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5610.48884735
delta logL = 1.18043317343e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6232       1.0000          .0000       5.0000    
     3 'Normalizat'    .71451       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1846       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=   5610.489     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      237 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    812.15        .13468E-02** at limit **
   2  alpha         1.7830        2.8004        .17969       -.30369E-08
   3  Normalizat    .71451        .15015        .24814E-03   -.24378E-03
   4  Prefactor     1.1846        .19032        .24895E-03   -.23889E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78301
  Normalizat = 0.714508
  Prefactor  = 1.18456
 **********
 **   18 **HESSE 
 **********

 FCN=   5610.489     FROM HESSE     STATUS=OK            27 CALLS      264 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4615        .26935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7830        2.8153        .71877E-01   -.29088    
   3  Normalizat    .71451        .18251        .99257E-05   -1.0332    
   4  Prefactor     1.1846        .23135        .49790E-04   -.86808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17897e-11
Minuit parameter uncertainties:
  1  3.22155e-06
  2  255.204
  3  0.18267
  4  0.231544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110629': 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) = 5610.48884715
delta logL = 2.15262843994e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  3.222e-06  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.783e+00  2.552e+02  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.185e+00  2.315e-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.145e-01  1.827e-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/110629/cmap_HighResolution_369705601_369964801_4FGL_J1150.6+4154_daily_bin503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', job_status='DONE', photon_flux_upper_limit='2.33e-08', time_completed='2021-09-04 13:23:11.024973', job_id='110629', GAL2='1.18', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1630786991.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='503' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:23:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 110629: <4FGL_J1150.6+4154_daily_bin503> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin503> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:11:28 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:11:30 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:11:30 2021
Terminated at Sat Sep  4 13:23:11 2021
Results reported at Sat Sep  4 13:23:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin503 177.656 41.9096 369705601 369964801 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 :                                   686.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             302.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

