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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin99
RA = 177.656, Dec = 41.9096
tmin = 264988801, tmax = 265248001
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='108549', job_status='RUN', time_executed='2021-09-04 13:06:32.130141', time_epoch_executed='1630785992.13' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108549/ft1_4FGL_J1150.6+4154_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108549/ft1_4FGL_J1150.6+4154_daily_bin99.fits outfile=/scratch/kocevski/108549/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin99.fits ra=177.656 dec=41.9096 rad=12.0 tmin=264988801.0 tmax=265248001.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.87
user 1.28
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits" evtable="EVENTS" scfile=/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits sctable="SC_DATA" outfile=/scratch/kocevski/108549/ltcube_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.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/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits
.....................!
real 13.35
user 12.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/108549/ltcube_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.fits outfile=/scratch/kocevski/108549/expmap_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.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/108549/ltcube_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.fits
.....................!
real 192.09
user 185.71
sys 5.52

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/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits scfile=/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits outfile=/scratch/kocevski/108549/cmap_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits scfile=/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits outfile=/scratch/kocevski/108549/cmap_HighResolution_264988801_265248001_4FGL_J1150.6+4154_daily_bin99.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/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/108549/ft2_4FGL_J1150.6+4154_daily_bin99.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108549/Model_4FGL_J1150.6+4154_daily_bin99.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/108549/ft1_filtered_4FGL_J1150.6+4154_daily_bin99.fits.....................!
real 68.81
user 66.63
sys 1.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4262       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11117E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.394       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.9896       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0068       1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.883       1.0000         .10000E-03   10000.    
    13 'norm      '    .25139       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6850       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11297E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.197       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.474       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2271       1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.2720       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90754       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3243       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=   8707.896     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2764 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.973        .90712E-02** at limit **
   2  norm          1.4261        .28760        .49199E-02   -.77127E-03
   3  Prefactor     .10000E-03    4.9630        .90712E-02** at limit **
   4  Prefactor     .10000E-03    39.173        .90712E-02** at limit **
   5  Prefactor     .10000E-03    117.36        .90712E-02** at limit **
   6  norm          13.396        10.953        .27361E-02    .79476E-03
   7  norm          .10000E-03    12.365        .90712E-02** at limit **
   8  Prefactor     .10000E-03    .86775        .46894E-01** at limit **
   9  Prefactor     .10000E-03    40.452        .90712E-02** at limit **
  10  norm          2.9905        1.9840        .58696E-02    .34785E-03
  11  Prefactor     2.0087        3.1572        .73071E-02    .90689E-03
  12  Prefactor     72.887        42.956        .11757E-02   -.14366E-02
  13  norm          .25185        .73648        .31472E-01    .19169E-02
  14  norm          5.6853        5.4023        .42117E-02    .35544E-02
  15  Prefactor     .10000E-03    17.819        .90712E-02** at limit **
  16  Prefactor     1.9788        2.0242        .73659E-02    .27082E-03
  17  Prefactor     62.197        47.569        .12720E-02    .70358E-04
  18  Prefactor     .10000E-03    5.6646        .90712E-02** at limit **
  19  Prefactor     36.473        32.130        .16590E-02    .80164E-04
  20  Prefactor     3.2306        7.1020        .56375E-02    .14074E-02
  21  norm          .10000E-03    3.4326        .90712E-02** at limit **
  22  Prefactor     2.2777        54.736        .68113E-02    .80243E-04
  23  Normalizat    .90732        .15830        .44998E-01    .54096E-04
  24  Prefactor     1.3245        .18373        .62269E-01    .12741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  norm       = 1.42607
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  norm       = 13.3962
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99054
  Prefactor  = 2.00874
  Prefactor  = 72.8867
  norm       = 0.251852
  norm       = 5.68529
  Prefactor  = 0.0001
  Prefactor  = 1.97884
  Prefactor  = 62.1974
  Prefactor  = 0.0001
  Prefactor  = 36.4729
  Prefactor  = 3.23056
  norm       = 0.0001
  Prefactor  = 2.27772
  Normalizat = 0.907321
  Prefactor  = 1.32452
 **********
 **   18 **HESSE 
 **********

 FCN=   8707.896     FROM HESSE     STATUS=OK           397 CALLS     3161 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4261        .28718        .21722E-04   -1.5469    
   3  Prefactor     .10000E-03    4.9764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    117.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.396        10.921        .10945E-03   -1.4976    
   7  norm          .10000E-03    12.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.7940        .16346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    40.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9905        1.9490        .10062E-03   -1.5362    
  11  Prefactor     2.0087        3.1171        .19894E-03   -1.5425    
  12  Prefactor     72.887        41.369        .47027E-04   -1.3998    
  13  norm          .25185        .92567        .10715E-02   -1.5608    
  14  norm          5.6853        5.4059        .16847E-03   -1.5231    
  15  Prefactor     .10000E-03    17.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.9788        2.0130        .12977E-03   -1.5427    
  17  Prefactor     62.197        47.299        .50880E-04   -1.4129    
  18  Prefactor     .10000E-03    5.6712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     36.473        32.139        .66360E-04   -1.4499    
  20  Prefactor     3.2306        7.0808        .22550E-03   -1.5348    
  21  norm          .10000E-03    3.4833        .16840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.2777        54.531        .27245E-03   -1.5406    
  23  Normalizat    .90732        .18764        .26594E-03   -.96203    
  24  Prefactor     1.3245        .21934        .27539E-03   -.82581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19777e-08
Minuit parameter uncertainties:
  1  0.000929345
  2  0.287183
  3  5.07729e-06
  4  0.000637475
  5  0.00111778
  6  10.9228
  7  3.37989e-05
  8  3.56508e-06
  9  4.43287e-05
  10  1.94902
  11  3.1174
  12  41.3848
  13  0.925723
  14  5.40634
  15  3.18763e-05
  16  2.01311
  17  47.3272
  18  1.9044e-06
  19  32.1547
  20  7.0826
  21  8.68189e-06
  22  22.312
  23  0.187772
  24  0.219498
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.685e+00  5.406e+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.325e+00  2.195e-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.073e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.17
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 7.23e-09 +/- 6.88e-09
Energy Flux (Fixed Index): 1.28e-05 +/- 1.22e-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) = 8707.28598162
delta logL = 0.609764014236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8707.0826677
delta logL = 0.813077936255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1420       1.0000         .10000E-03   10000.    
     2 'alpha     '    .61313       1.0000          .0000       5.0000    
     3 'Normalizat'    .90550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3312       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=   8707.083     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1391        2.3673        .70402E-02   -.47763E-03
   2  alpha         .61270        .55495        .50000       -.20698E-04
   3  Normalizat    .90554        .14872        .44972E-01    .20356E-04
   4  Prefactor     1.3312        .18279        .62148E-01    .73856E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13908
  alpha      = 0.612697
  Normalizat = 0.905537
  Prefactor  = 1.33117
 **********
 **   18 **HESSE 
 **********

 FCN=   8707.083     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1391        3.5613        .13211E-03   -1.5415    
   2  alpha         .61270        .73058        .28178E-01   -.85553    
   3  Normalizat    .90554        .17666        .26620E-03   -.96266    
   4  Prefactor     1.3312        .21710        .27486E-03   -.82385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6159e-09
Minuit parameter uncertainties:
  1  3.56161
  2  0.757218
  3  0.176772
  4  0.217248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108549': 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) = 8707.08266739
delta logL = 0.813078250068

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  2.139e+00  3.562e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  6.127e-01  7.572e-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.331e+00  2.172e-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.055e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.79
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.61 +/- 0.76
Photon Flux (Free Index): 2.60e-09 +/- 2.75e-09
Energy Flux (Free Index): 4.68e-05 +/- 6.24e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.23e-09', energy_flux2='4.68e-05', photon_flux_error='6.88e-09', dlogl='8.13e-01', energy_flux='1.28e-05', photon_flux2='2.60e-09', job_status='DONE', time_completed='2021-09-04 13:20:06.789460', photon_index_error2='0.76', photon_index2='0.61', ts='10.17', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', energy_flux_error2='6.24e-05', EG='0.91', time_epoch_completed='1630786806.79', return_code='0', job_id='108549', GAL2='1.33', EG2='0.91', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='2.75e-09', ts2='11.79', photon_index='1.62' WHERE bin_id='99' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:20:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 108549: <4FGL_J1150.6+4154_daily_bin99> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin99 177.656 41.9096 264988801 265248001 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 :                                   806.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             316.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            832 sec.

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

