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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1005
RA = 177.656, Dec = 41.9096
tmin = 499824001, tmax = 500083201
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='112469', job_status='RUN', time_executed='2021-09-04 13:19:04.683783', time_epoch_executed='1630786744.68' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112469/ft1_4FGL_J1150.6+4154_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112469/ft1_4FGL_J1150.6+4154_daily_bin1005.fits outfile=/scratch/kocevski/112469/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1005.fits ra=177.656 dec=41.9096 rad=12.0 tmin=499824001.0 tmax=500083201.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 5.23
user 4.94
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/112469/ft1_filtered_4FGL_J1150.6+4154_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/112469/ltcube_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.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/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits
.....................!
real 12.15
user 11.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112469/ft1_filtered_4FGL_J1150.6+4154_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/112469/ltcube_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.fits outfile=/scratch/kocevski/112469/expmap_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.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/112469/ltcube_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.fits
.....................!
real 190.48
user 185.70
sys 4.40

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/112469/ft1_filtered_4FGL_J1150.6+4154_daily_bin1005.fits scfile=/scratch/kocevski/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits outfile=/scratch/kocevski/112469/cmap_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.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.76
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112469/ft1_filtered_4FGL_J1150.6+4154_daily_bin1005.fits scfile=/scratch/kocevski/112469/ft2_4FGL_J1150.6+4154_daily_bin1005.fits outfile=/scratch/kocevski/112469/cmap_HighResolution_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.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.60
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .68793       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6369       1.0000         .10000E-03   10000.    
     7 'norm      '    23.051       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.9309       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.2907       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.313       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.312       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10519E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.0057       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.141       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2457       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96444       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=   4778.333     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2688 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.839        .55265E-07** at limit **
   2  norm          .68794        .27188        .30397E-08   -.11022E-03
   3  Prefactor     .10000E-03    10.326        .16499E-06** at limit **
   4  Prefactor     .10000E-03    5.8138        .43659E-07** at limit **
   5  Prefactor     .10000E-03    79.501       -.23502E-06** at limit **
   6  norm          3.6300        14.868        .99820E-06   -.37092E-05
   7  norm          23.024        44.623       -.16431E-06   -.33212E-04
   8  Prefactor     .10000E-03    2.3165        .14251E-06** at limit **
   9  Prefactor     .10000E-03    65.271        .49235E-06** at limit **
  10  norm          4.9240        3.1689        .14734E-06   -.41177E-04
  11  Prefactor     .10000E-03    3.4150       -.16729E-07** at limit **
  12  Prefactor     .10000E-03    14.772        .74598E-07** at limit **
  13  norm          .10000E-03    .30003        .25685E-07** at limit **
  14  norm          3.2921        7.0020        .33982E-06   -.72991E-05
  15  Prefactor     .10000E-03    22.281       -.84532E-06** at limit **
  16  Prefactor     .10000E-03    3.2541       -.15445E-06** at limit **
  17  Prefactor     .10000E-03    21.280        .87827E-07** at limit **
  18  Prefactor     11.297        24.074       -.30252E-06   -.54643E-05
  19  Prefactor     15.260        44.062       -.13130E-05   -.41212E-04
  20  Prefactor     .10000E-03    10.456       -.13509E-05** at limit **
  21  norm          8.0068        10.376        .26619E-05   -.52428E-05
  22  Prefactor     28.130        33.205       -.18284E-05   -.17592E-04
  23  Normalizat    1.2463        .21280        .15499E-05   -.87625E-04
  24  Prefactor     .96379        .24996       -.25697E-05    .64353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.687944
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.63001
  norm       = 23.0235
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.92398
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.29206
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2966
  Prefactor  = 15.2601
  Prefactor  = 0.0001
  norm       = 8.00685
  Prefactor  = 28.1301
  Normalizat = 1.24627
  Prefactor  = 0.963787
 **********
 **   18 **HESSE 
 **********

 FCN=   4778.333     FROM HESSE     STATUS=OK           391 CALLS     3079 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .68794        .27252        .21965E-04   -1.5542    
   3  Prefactor     .10000E-03    10.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.8161        .16278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    79.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6300        14.833        .21184E-03   -1.5327    
   7  norm          23.024        44.732        .83430E-04   -1.4748    
   8  Prefactor     .10000E-03    2.3863        .20452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    65.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9240        3.1541        .93915E-04   -1.5264    
  11  Prefactor     .10000E-03    3.4456        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .30619        .36951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2921        6.9842        .22320E-03   -1.5345    
  15  Prefactor     .10000E-03    22.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.3436        .24262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.297        24.049        .11911E-03   -1.5036    
  19  Prefactor     15.260        44.314        .10236E-03   -1.4926    
  20  Prefactor     .10000E-03    10.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.0068        10.491        .70853E-03   -1.5142    
  22  Prefactor     28.130        33.232        .75522E-04   -1.4647    
  23  Normalizat    1.2463        .24907        .23332E-03   -.85185    
  24  Prefactor     .96379        .28858        .30889E-03   -.93947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91429e-10
Minuit parameter uncertainties:
  1  2.55487e-05
  2  0.272522
  3  1.37493e-05
  4  9.70979e-07
  5  0.000205725
  6  14.6819
  7  44.7969
  8  5.63393e-06
  9  0.000200872
  10  3.15423
  11  1.07673e-06
  12  3.76718e-06
  13  1.14973e-09
  14  6.98591
  15  1.08887e-05
  16  1.39232e-06
  17  1.53302e-05
  18  24.07
  19  44.41
  20  1.02956e-05
  21  10.4938
  22  33.2536
  23  0.249311
  24  0.289038
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.638e-01  2.890e-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.246e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/112469/likelihoodResults_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.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) = 4778.33278042
delta logL = 4.93372681376e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4778.33278041
delta logL = 4.94126743433e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2921       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6151       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96375       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=   4778.333     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      201 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2954        538.77        .55787E-02    .18566E-03
   2  alpha         1.6150        4.1556        .45006        .97687E-05
   3  Normalizat    1.2463        .82286E-01    .52769E-01    .32140E-05
   4  Prefactor     .96378        .94793E-01    .69823E-01    .12069E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.2954
  alpha      = 1.61505
  Normalizat = 1.24628
  Prefactor  = 0.963783
 **********
 **   18 **HESSE 
 **********

 FCN=   4778.333     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2954        7.1466        .22315E-03   -1.5345    
   2  alpha         1.6150        1.1099        .25450E-01   -.36182    
   3  Normalizat    1.2463        .24008        .23331E-03   -.85184    
   4  Prefactor     .96378        .28520        .30889E-03   -.93947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25976e-13
Minuit parameter uncertainties:
  1  7.14848
  2  1.15653
  3  0.240294
  4  0.285645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112469': 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) = 4778.33278029
delta logL = 5.06456126459e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.638e-01  2.856e-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.246e+00  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/112469/cmap_HighResolution_499824001_500083201_4FGL_J1150.6+4154_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-05', job_status='DONE', photon_flux_upper_limit='3.63e-08', time_completed='2021-09-04 13:29:51.784551', job_id='112469', GAL2='0.96', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630787391.78', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.06e-06', ts2='0.33', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1005' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:29:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 112469: <4FGL_J1150.6+4154_daily_bin1005> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1005> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:16:59 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:17:01 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:17:01 2021
Terminated at Sat Sep  4 13:29:52 2021
Results reported at Sat Sep  4 13:29:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1005 177.656 41.9096 499824001 500083201 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 :                                   645.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             264.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

