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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1109
RA = 177.656, Dec = 41.9096
tmin = 526780801, tmax = 527040001
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='113564', job_status='RUN', time_executed='2021-09-04 13:21:21.159473', time_epoch_executed='1630786881.16' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113564/ft1_4FGL_J1150.6+4154_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113564/ft1_4FGL_J1150.6+4154_daily_bin1109.fits outfile=/scratch/kocevski/113564/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1109.fits ra=177.656 dec=41.9096 rad=12.0 tmin=526780801.0 tmax=527040001.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 4.58
user 4.15
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113564/ft1_filtered_4FGL_J1150.6+4154_daily_bin1109.fits" evtable="EVENTS" scfile=/scratch/kocevski/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits sctable="SC_DATA" outfile=/scratch/kocevski/113564/ltcube_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.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/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits
.....................!
real 11.80
user 11.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113564/ft1_filtered_4FGL_J1150.6+4154_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/113564/ltcube_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.fits outfile=/scratch/kocevski/113564/expmap_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.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/113564/ltcube_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.fits
.....................!
real 191.68
user 185.97
sys 4.76

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/113564/ft1_filtered_4FGL_J1150.6+4154_daily_bin1109.fits scfile=/scratch/kocevski/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits outfile=/scratch/kocevski/113564/cmap_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113564/ft1_filtered_4FGL_J1150.6+4154_daily_bin1109.fits scfile=/scratch/kocevski/113564/ft2_4FGL_J1150.6+4154_daily_bin1109.fits outfile=/scratch/kocevski/113564/cmap_HighResolution_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0011       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .21452E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.507       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5629       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.2594       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.087       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.720       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.7906       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0981       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0216       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=   5842.692     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2699 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.663       -.41643E-05** at limit **
   2  norm          1.0011        .36443       -.13709E-07    .96458E-03
   3  Prefactor     20.665        18.517        .77935E-06    .29687E-03
   4  Prefactor     .10000E-03    8.2352       -.28729E-07** at limit **
   5  Prefactor     .10000E-03    24.734        .70343E-05** at limit **
   6  norm          .10079E-03    12.078       -.32097E-05** at limit **
   7  norm          13.501        30.086       -.48546E-05   -.53111E-05
   8  Prefactor     .10000E-03    1.5620        .13590E-07** at limit **
   9  Prefactor     .10000E-03    19.754       -.21709E-05** at limit **
  10  norm          1.5630        2.0921       -.73142E-07   -.16698E-03
  11  Prefactor     17.356        7.7460        .80528E-07    .12165E-03
  12  Prefactor     .10000E-03    35.616       -.41603E-05** at limit **
  13  norm          5.2596        1.6273       -.23619E-08    .16101E-03
  14  norm          .10000E-03    3.7219        .36841E-08** at limit **
  15  Prefactor     31.085        31.270       -.11897E-05   -.76038E-04
  16  Prefactor     .10000E-03    3.8451        .63897E-07** at limit **
  17  Prefactor     .10000E-03    28.824       -.23560E-05** at limit **
  18  Prefactor     19.720        21.497       -.71913E-06   -.28897E-03
  19  Prefactor     .10000E-03    62.189        .24614E-04** at limit **
  20  Prefactor     .10000E-03    4.5293       -.14521E-07** at limit **
  21  norm          3.7910        4.2070       -.10366E-06    .17761E-04
  22  Prefactor     .10000E-03    11.403        .56056E-07** at limit **
  23  Normalizat    1.0981        .18580        .16302E-06    .10483E-03
  24  Prefactor     1.0217        .21628        .28780E-06    .80560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.00106
  Prefactor  = 20.6647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100788
  norm       = 13.5013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.56304
  Prefactor  = 17.3561
  Prefactor  = 0.0001
  norm       = 5.25959
  norm       = 0.0001
  Prefactor  = 31.0853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.79105
  Prefactor  = 0.0001
  Normalizat = 1.09807
  Prefactor  = 1.0217
 **********
 **   18 **HESSE 
 **********

 FCN=   5842.692     FROM HESSE     STATUS=OK           399 CALLS     3098 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0011        .36435        .26166E-04   -1.5508    
   3  Prefactor     20.665        18.184        .88089E-04   -1.4798    
   4  Prefactor     .10000E-03    8.2397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10079E-03    76.718        .48855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.501        30.106        .10899E-03   -1.4973    
   8  Prefactor     .10000E-03    1.5916        .93097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5630        2.0675        .12269E-03   -1.5458    
  11  Prefactor     17.356        7.7364        .96136E-04   -1.4875    
  12  Prefactor     .10000E-03    35.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.2596        1.6258        .51336E-04   -1.5249    
  14  norm          .10000E-03    3.7254        .14402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.085        31.399        .71862E-04   -1.4592    
  16  Prefactor     .10000E-03    3.9621        .29020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.720        21.602        .45097E-03   -1.4820    
  19  Prefactor     .10000E-03    61.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5595        .15886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.7910        4.2059        .16072E-03   -1.5319    
  22  Prefactor     .10000E-03    11.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0981        .22251        .24939E-03   -.89814    
  24  Prefactor     1.0217        .25774        .30660E-03   -.92010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00006e-08
Minuit parameter uncertainties:
  1  1.58136e-06
  2  0.36435
  3  18.1893
  4  2.04978e-07
  5  5.51784e-07
  6  0.0155734
  7  30.1401
  8  2.23985e-06
  9  4.00651e-06
  10  2.06761
  11  7.7368
  12  5.4734e-06
  13  1.6258
  14  9.39801e-08
  15  31.416
  16  1.21614e-05
  17  5.96163e-07
  18  21.6106
  19  7.22053e-05
  20  2.42708e-06
  21  4.20619
  22  4.76969e-07
  23  0.222704
  24  0.25805
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  9.398e-08  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.022e+00  2.580e-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.098e+00  2.227e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/113564/likelihoodResults_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.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) = 5842.69358894
delta logL = -0.00121560052412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5842.69237333
delta logL = 1.00781107903e-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.6239       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0217       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=   5842.692     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      242 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    364.16        .14418E-02** at limit **
   2  alpha         1.8246        3.6570        .50000       -.28763E-07
   3  Normalizat    1.0981        .51995E-01    .24939E-03   -.74624E-04
   4  Prefactor     1.0217        .62170E-01    .30660E-03   -.62479E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.82458
  Normalizat = 1.09807
  Prefactor  = 1.0217
 **********
 **   18 **HESSE 
 **********

 FCN=   5842.692     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.375        .28835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8246        3.1125        .50000       -.27357    
   3  Normalizat    1.0981        .21480        .99757E-05   -.89814    
   4  Prefactor     1.0217        .25673        .12264E-04   -.92010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20077e-11
Minuit parameter uncertainties:
  1  3.25766e-05
  2  400.657
  3  0.214967
  4  0.257043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113564': 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) = 5842.69237304
delta logL = 2.91429387289e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  3.258e-05  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.825e+00  4.007e+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.022e+00  2.570e-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.098e+00  2.150e-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/113564/cmap_HighResolution_526780801_527040001_4FGL_J1150.6+4154_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-05', job_status='DONE', photon_flux_upper_limit='2.54e-08', time_completed='2021-09-04 13:33:26.017192', job_id='113564', GAL2='1.02', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630787606.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1109' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:33:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 113564: <4FGL_J1150.6+4154_daily_bin1109> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1109> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:21:10 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:21:12 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:21:12 2021
Terminated at Sat Sep  4 13:33:26 2021
Results reported at Sat Sep  4 13:33:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1109 177.656 41.9096 526780801 527040001 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 :                                   723.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             376.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

