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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1199
RA = 177.656, Dec = 41.9096
tmin = 550108801, tmax = 550368001
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='113698', job_status='RUN', time_executed='2021-09-04 13:21:40.656029', time_epoch_executed='1630786900.66' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1199'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113698/ft1_4FGL_J1150.6+4154_daily_bin1199.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113698/ft2_4FGL_J1150.6+4154_daily_bin1199.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113698/ft1_4FGL_J1150.6+4154_daily_bin1199.fits outfile=/scratch/kocevski/113698/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1199.fits ra=177.656 dec=41.9096 rad=12.0 tmin=550108801.0 tmax=550368001.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.21
user 2.69
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113698/ft2_4FGL_J1150.6+4154_daily_bin1199.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/113698/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1199.fits evtable="EVENTS" outfile="/scratch/kocevski/113698/ft1_filtered_4FGL_J1150.6+4154_daily_bin1199.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.71
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113698/ft1_filtered_4FGL_J1150.6+4154_daily_bin1199.fits evtable="EVENTS" scfile=/scratch/kocevski/113698/ft2_4FGL_J1150.6+4154_daily_bin1199.fits sctable="SC_DATA" expcube=/scratch/kocevski/113698/ltcube_550108801_550368001_4FGL_J1150.6+4154_daily_bin1199.fits outfile=/scratch/kocevski/113698/expmap_550108801_550368001_4FGL_J1150.6+4154_daily_bin1199.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/113698/ltcube_550108801_550368001_4FGL_J1150.6+4154_daily_bin1199.fits
.....................!
real 191.13
user 185.27
sys 4.61

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/113698/ft1_filtered_4FGL_J1150.6+4154_daily_bin1199.fits scfile=/scratch/kocevski/113698/ft2_4FGL_J1150.6+4154_daily_bin1199.fits outfile=/scratch/kocevski/113698/cmap_550108801_550368001_4FGL_J1150.6+4154_daily_bin1199.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.55
user 0.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.6352       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6475       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.450       1.0000         .10000E-03   10000.    
     6 'norm      '    7.4461       1.0000         .10000E-03   10000.    
     7 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25552E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.6276       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0142       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.172       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3900       1.0000         .10000E-03   10000.    
    14 'norm      '    7.1682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.375       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0669       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.049       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1042       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .46101       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5845       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .46311       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=   6869.574     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     2807 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.276       -.21990E-06** at limit **
   2  norm          1.6348        .39134       -.55632E-07   -.23353E-03
   3  Prefactor     4.6369        13.963        .25205E-05   -.11934E-03
   4  Prefactor     .10000E-03    12.422        .91276E-09** at limit **
   5  Prefactor     55.062        102.31       -.25399E-04   -.68694E-05
   6  norm          7.4458        10.819        .82986E-05   -.54293E-04
   7  norm          .10000E-03    33.905        .14686E-06** at limit **
   8  Prefactor     .10000E-03    1.0388       -.20684E-06** at limit **
   9  Prefactor     .10000E-03    23.435       -.36020E-06** at limit **
  10  norm          4.6264        2.6789       -.37377E-06   -.15004E-03
  11  Prefactor     7.0109        5.2902       -.24166E-05   -.25191E-03
  12  Prefactor     11.161        28.142        .12982E-04   -.11122E-04
  13  norm          2.3897        1.1604       -.24541E-06   -.41899E-03
  14  norm          7.1685        6.5116       -.57220E-07    .54540E-04
  15  Prefactor     21.358        31.015        .36377E-04    .53682E-04
  16  Prefactor     4.0640        5.0086        .43380E-05   -.39375E-03
  17  Prefactor     .10000E-03    25.073        .28652E-06** at limit **
  18  Prefactor     43.043        30.019       -.14193E-04   -.14482E-03
  19  Prefactor     2.0748        48.653       -.18215E-04   -.16182E-03
  20  Prefactor     .10000E-03    2.6039        .14005E-06** at limit **
  21  norm          .10000E-03    2.6908        .49050E-07** at limit **
  22  Prefactor     .35600        18.634        .21632E-05   -.45944E-04
  23  Normalizat    1.5853        .19198       -.26373E-05   -.63127E-05
  24  Prefactor     .46234        .20994        .83946E-07   -.19706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.63485
  Prefactor  = 4.63691
  Prefactor  = 0.0001
  Prefactor  = 55.0619
  norm       = 7.44579
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.62644
  Prefactor  = 7.01094
  Prefactor  = 11.1611
  norm       = 2.38971
  norm       = 7.16855
  Prefactor  = 21.3576
  Prefactor  = 4.06396
  Prefactor  = 0.0001
  Prefactor  = 43.0428
  Prefactor  = 2.07476
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.355999
  Normalizat = 1.58532
  Prefactor  = 0.462337
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.574     FROM HESSE     STATUS=OK           409 CALLS     3216 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6348        .39208        .23654E-04   -1.5452    
   3  Prefactor     4.6369        13.923        .18669E-03   -1.5277    
   4  Prefactor     .10000E-03    12.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     55.062        102.31        .53869E-04   -1.4223    
   6  norm          7.4458        10.768        .14698E-03   -1.5162    
   7  norm          .10000E-03    33.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.8166        .15946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.6264        2.6365        .96650E-04   -1.5278    
  11  Prefactor     7.0109        5.2633        .15147E-03   -1.5178    
  12  Prefactor     11.161        28.128        .11986E-03   -1.5040    
  13  norm          2.3897        1.1580        .57784E-04   -1.5399    
  14  norm          7.1685        6.5137        .14982E-03   -1.5172    
  15  Prefactor     21.358        31.118        .86634E-04   -1.4783    
  16  Prefactor     4.0640        4.9491        .16786E-03   -1.5305    
  17  Prefactor     .10000E-03    25.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.043        29.838        .61100E-04   -1.4395    
  19  Prefactor     2.0748        49.063        .28446E-03   -1.5420    
  20  Prefactor     .10000E-03    2.6106        .13061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.6981        .13269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .35600        22.635        .98442E-01   -1.5589    
  23  Normalizat    1.5853        .21561        .21818E-03   -.75408    
  24  Prefactor     .46234        .22904        .42865E-03   -1.1374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50977e-09
Minuit parameter uncertainties:
  1  3.61051e-05
  2  0.392079
  3  13.9329
  4  4.56331e-05
  5  102.638
  6  10.7712
  7  7.51497e-05
  8  0.000198012
  9  5.17615e-07
  10  2.63656
  11  5.26368
  12  28.1618
  13  1.15799
  14  6.51431
  15  31.1414
  16  4.94963
  17  1.21089e-05
  18  29.8486
  19  20.1967
  20  1.06634e-06
  21  1.10722e-05
  22  5.67883
  23  0.215739
  24  0.229496
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  7.169e+00  6.514e+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:  4.623e-01  2.295e-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.585e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.61
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 9.12e-09 +/- 8.29e-09
Energy Flux (Fixed Index): 1.62e-05 +/- 1.47e-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) = 6869.36233659
delta logL = 0.211950020263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6869.34893392
delta logL = 0.22535268545

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0196       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1369       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46428       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=   6869.349     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0218        5.8580        .40913E-02   -.29833E-02
   2  alpha         1.1371        .56342        .50000       -.25667E-04
   3  Normalizat    1.5864        .18385        .49347E-01   -.44806E-04
   4  Prefactor     .46427        .20810        .96534E-01    .27405E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.02183
  alpha      = 1.1371
  Normalizat = 1.58636
  Prefactor  = 0.464271
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.349     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0218        6.6703        .81826E-03   -1.5217    
   2  alpha         1.1371        .68663        .21556E-01   -.57658    
   3  Normalizat    1.5864        .20137        .21814E-03   -.75380    
   4  Prefactor     .46427        .22726        .42794E-03   -1.1365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10334e-12
Minuit parameter uncertainties:
  1  6.67114
  2  0.699544
  3  0.201475
  4  0.227708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113698': 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) = 6869.34893387
delta logL = 0.225352741609

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.022e+00  6.671e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.137e+00  6.995e-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:  4.643e-01  2.277e-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.586e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.06
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.14 +/- 0.70
Photon Flux (Free Index): 5.41e-09 +/- 6.32e-09
Energy Flux (Free Index): 3.28e-05 +/- 4.66e-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/113698/cmap_HighResolution_550108801_550368001_4FGL_J1150.6+4154_daily_bin1199.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.12e-09', energy_flux2='3.28e-05', photon_flux_error='8.29e-09', dlogl='2.25e-01', energy_flux='1.62e-05', photon_flux2='5.41e-09', job_status='DONE', time_completed='2021-09-04 13:33:49.758041', photon_index_error2='0.70', photon_index2='1.14', ts='9.61', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='4.66e-05', EG='1.59', time_epoch_completed='1630787629.76', return_code='0', job_id='113698', GAL2='0.46', EG2='1.59', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.32e-09', ts2='10.06', photon_index='1.62' WHERE bin_id='1199' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:33:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 113698: <4FGL_J1150.6+4154_daily_bin1199> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1199 177.656 41.9096 550108801 550368001 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 :                                   726.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            750 sec.

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

