/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 6 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 = 7408
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin357
RA = 177.656, Dec = 41.9096
tmin = 331862401, tmax = 332121601
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='108974', job_status='RUN', time_executed='2021-09-04 13:07:06.829573', time_epoch_executed='1630786026.83' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='357'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108974/ft1_4FGL_J1150.6+4154_daily_bin357.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108974/ft1_4FGL_J1150.6+4154_daily_bin357.fits outfile=/scratch/kocevski/108974/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin357.fits ra=177.656 dec=41.9096 rad=12.0 tmin=331862401.0 tmax=332121601.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.50
user 4.15
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108974/ft1_filtered_4FGL_J1150.6+4154_daily_bin357.fits" evtable="EVENTS" scfile=/scratch/kocevski/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits sctable="SC_DATA" outfile=/scratch/kocevski/108974/ltcube_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.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/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits
.....................!
real 13.17
user 12.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108974/ft1_filtered_4FGL_J1150.6+4154_daily_bin357.fits evtable="EVENTS" scfile=/scratch/kocevski/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits sctable="SC_DATA" expcube=/scratch/kocevski/108974/ltcube_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.fits outfile=/scratch/kocevski/108974/expmap_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.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/108974/ltcube_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.fits
.....................!
real 195.46
user 188.16
sys 6.26

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/108974/ft1_filtered_4FGL_J1150.6+4154_daily_bin357.fits scfile=/scratch/kocevski/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits outfile=/scratch/kocevski/108974/cmap_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.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.82
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108974/ft1_filtered_4FGL_J1150.6+4154_daily_bin357.fits scfile=/scratch/kocevski/108974/ft2_4FGL_J1150.6+4154_daily_bin357.fits outfile=/scratch/kocevski/108974/cmap_HighResolution_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.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.67
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .72702       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.615       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8089       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6842       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.569       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5191       1.0000         .10000E-03   10000.    
    14 'norm      '    11.558       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5809       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.309       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12636E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .84719       1.0000         .10000E-03   10000.    
    21 'norm      '    4.8615       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92118       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0725       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=   6709.007     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2325 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.891        .25924E-05** at limit **
   2  norm          .72702        .24545        .11388E-07   -.13498E-03
   3  Prefactor     .10000E-03    9.6665        .20490E-05** at limit **
   4  Prefactor     .10000E-03    8.1366        .27510E-06** at limit **
   5  Prefactor     .10000E-03    25.188        .34750E-05** at limit **
   6  norm          13.613        12.147        .49777E-08   -.51617E-04
   7  norm          .10000E-03    13.582       -.27232E-05** at limit **
   8  Prefactor     2.8087        2.1984        .38644E-06   -.10577E-02
   9  Prefactor     .10001E-03    26.604       -.51335E-05** at limit **
  10  norm          2.6838        2.4426       -.55603E-07   -.67498E-04
  11  Prefactor     10.545        5.8835       -.35564E-06   -.12560E-03
  12  Prefactor     12.568        40.482       -.55998E-06   -.15852E-04
  13  norm          1.5194        1.1085        .28179E-07   -.11626E-03
  14  norm          11.559        8.0951        .54170E-08    .21979E-04
  15  Prefactor     3.5794        32.365        .77057E-05   -.26437E-03
  16  Prefactor     18.309        4.4978        .19625E-07   -.92449E-05
  17  Prefactor     .10000E-03    129.33       -.19346E-05** at limit **
  18  Prefactor     .10000E-03    6.3523        .32378E-07** at limit **
  19  Prefactor     .10000E-03    14.807        .23579E-05** at limit **
  20  Prefactor     .83982        4.1631       -.10510E-06   -.45871E-04
  21  norm          4.8607        4.6844        .50023E-06   -.53022E-03
  22  Prefactor     .10000E-03    9.1061       -.17473E-05** at limit **
  23  Normalizat    .92117        .16028       -.33850E-06   -.11099E-05
  24  Prefactor     1.0726        .18780       -.26515E-06    .12699E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  norm       = 0.727019
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 13.613
  norm       = 0.000100002
  Prefactor  = 2.80873
  Prefactor  = 0.000100007
  norm       = 2.68376
  Prefactor  = 10.5448
  Prefactor  = 12.5679
  norm       = 1.51935
  norm       = 11.5586
  Prefactor  = 3.57943
  Prefactor  = 18.3086
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.839823
  norm       = 4.86072
  Prefactor  = 0.000100001
  Normalizat = 0.921175
  Prefactor  = 1.07259
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.007     FROM HESSE     STATUS=OK           403 CALLS     2728 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .72702        .24561        .22827E-04   -1.5537    
   3  Prefactor     .10000E-03    9.9291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.1979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.613        12.141        .10855E-03   -1.4970    
   7  norm          .10000E-03    13.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8087        2.2305        .50306E-03   -1.5373    
   9  Prefactor     .10001E-03    27.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6838        2.4189        .11219E-03   -1.5380    
  11  Prefactor     10.545        5.9010        .12338E-03   -1.5058    
  12  Prefactor     12.568        40.475        .11299E-03   -1.4999    
  13  norm          1.5194        1.0927        .62699E-04   -1.5461    
  14  norm          11.559        8.0925        .11783E-03   -1.5028    
  15  Prefactor     3.5794        40.468        .10678E-02   -1.5330    
  16  Prefactor     18.309        4.5041        .82272E-04   -1.4852    
  17  Prefactor     .10000E-03    130.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .83982        17.356        .31764E-02   -1.5525    
  21  norm          4.8607        4.7558        .85677E-03   -1.5267    
  22  Prefactor     .10000E-03    9.2719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92117        .18798        .24390E-03   -.95720    
  24  Prefactor     1.0726        .21956        .27854E-03   -.90348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85447e-08
Minuit parameter uncertainties:
  1  0.000594722
  2  0.245609
  3  0.00020333
  4  2.14305e-05
  5  0.000589911
  6  12.1435
  7  0.000340699
  8  2.23056
  9  0.000899473
  10  2.41901
  11  5.90129
  12  40.5636
  13  1.0927
  14  8.09326
  15  24.0913
  16  4.50417
  17  0.000697354
  18  2.52588e-06
  19  0.000304645
  20  7.63786
  21  4.75613
  22  0.000178392
  23  0.188119
  24  0.21974
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.156e+01  8.093e+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:  1.073e+00  2.197e-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:  9.212e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.26
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.03e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 1.82e-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) = 6708.51531664
delta logL = 0.491312337327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6708.43014294
delta logL = 0.576486029158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0004       1.0000         .10000E-03   10000.    
     2 'alpha     '    .96610       1.0000          .0000       5.0000    
     3 'Normalizat'    .92332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0769       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=   6708.430     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9953        5.9652        .35438E-02   -.28987E-02
   2  alpha         .96587        .43603        .39451       -.31200E-04
   3  Normalizat    .92339        .15263        .45199E-01    .16812E-04
   4  Prefactor     1.0768        .18758        .62892E-01    .93707E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.99532
  alpha      = 0.965874
  Normalizat = 0.92339
  Prefactor  = 1.0768
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.430     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9953        7.8724        .70877E-03   -1.5142    
   2  alpha         .96587        .57485        .17339E-02   -.66068    
   3  Normalizat    .92339        .17819        .24365E-03   -.95643    
   4  Prefactor     1.0768        .21893        .27816E-03   -.90212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02358e-12
Minuit parameter uncertainties:
  1  7.87343
  2  0.583303
  3  0.178301
  4  0.21911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108974': 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) = 6708.43014255
delta logL = 0.576486426007

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.077e+00  2.191e-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:  9.234e-01  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.39
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.97 +/- 0.58
Photon Flux (Free Index): 7.28e-09 +/- 6.34e-09
Energy Flux (Free Index): 6.61e-05 +/- 7.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/108974/cmap_HighResolution_331862401_332121601_4FGL_J1150.6+4154_daily_bin357.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='6.61e-05', photon_flux_error='1.03e-08', dlogl='5.76e-01', energy_flux='2.60e-05', photon_flux2='7.28e-09', job_status='DONE', time_completed='2021-09-04 13:18:31.663730', photon_index_error2='0.58', photon_index2='0.97', ts='9.26', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='7.28e-05', EG='0.92', time_epoch_completed='1630786711.66', return_code='0', job_id='108974', GAL2='1.08', EG2='0.92', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='6.34e-09', ts2='10.39', photon_index='1.62' WHERE bin_id='357' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:18:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 108974: <4FGL_J1150.6+4154_daily_bin357> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin357> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 13:06:48 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:06:49 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:06:49 2021
Terminated at Sat Sep  4 13:18:32 2021
Results reported at Sat Sep  4 13:18:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin357 177.656 41.9096 331862401 332121601 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 :                                   679.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

