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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1505
RA = 177.656, Dec = 41.9096
tmin = 629424001, tmax = 629683201
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='115736', job_status='RUN', time_executed='2021-09-04 13:28:29.671375', time_epoch_executed='1630787309.67' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115736/ft1_4FGL_J1150.6+4154_daily_bin1505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115736/ft2_4FGL_J1150.6+4154_daily_bin1505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115736/ft1_4FGL_J1150.6+4154_daily_bin1505.fits outfile=/scratch/kocevski/115736/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1505.fits ra=177.656 dec=41.9096 rad=12.0 tmin=629424001.0 tmax=629683201.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.51
user 3.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115736/ft2_4FGL_J1150.6+4154_daily_bin1505.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/115736/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1505.fits evtable="EVENTS" outfile="/scratch/kocevski/115736/ft1_filtered_4FGL_J1150.6+4154_daily_bin1505.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.49
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115736/ft1_filtered_4FGL_J1150.6+4154_daily_bin1505.fits evtable="EVENTS" scfile=/scratch/kocevski/115736/ft2_4FGL_J1150.6+4154_daily_bin1505.fits sctable="SC_DATA" expcube=/scratch/kocevski/115736/ltcube_629424001_629683201_4FGL_J1150.6+4154_daily_bin1505.fits outfile=/scratch/kocevski/115736/expmap_629424001_629683201_4FGL_J1150.6+4154_daily_bin1505.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/115736/ltcube_629424001_629683201_4FGL_J1150.6+4154_daily_bin1505.fits
.....................!
real 191.17
user 185.18
sys 5.59

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/115736/ft1_filtered_4FGL_J1150.6+4154_daily_bin1505.fits scfile=/scratch/kocevski/115736/ft2_4FGL_J1150.6+4154_daily_bin1505.fits outfile=/scratch/kocevski/115736/cmap_629424001_629683201_4FGL_J1150.6+4154_daily_bin1505.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.36
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.305       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1136       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0879       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9144       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0594       1.0000         .10000E-03   10000.    
    14 'norm      '    10.387       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11364E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.428       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2186       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    21.528       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88867       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0832       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6990.330     FROM MIGRAD    STATUS=CONVERGED   1009 CALLS     2823 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.761        .18142E-02** at limit **
   2  norm          2.1130        .38594        .20719E-04   -.52895E-03
   3  Prefactor     4.1054        10.058        .19888E-03   -.37443E-04
   4  Prefactor     12.307        13.167        .11419E-03   -.30165E-04
   5  Prefactor     .10000E-03    34.259        .18142E-02** at limit **
   6  norm          3.1125        9.0819        .22979E-03    .29784E-04
   7  norm          .10000E-03    14.184        .18142E-02** at limit **
   8  Prefactor     .10000E-03    6.0297        .16048E-02** at limit **
   9  Prefactor     .10000E-03    87.045        .18142E-02** at limit **
  10  norm          6.0897        2.5818        .83410E-04   -.11160E-02
  11  Prefactor     2.9161        5.0761        .23511E-03   -.16823E-03
  12  Prefactor     .10008E-03    135.86        .70116E-02** at limit **
  13  norm          3.0568        1.1745        .51704E-04    .68405E-03
  14  norm          10.384        7.3821        .12432E-03   -.32555E-04
  15  Prefactor     .10000E-03    63.117        .18142E-02** at limit **
  16  Prefactor     .10000E-03    .56698        .61422E-03** at limit **
  17  Prefactor     .10066E-03    30.966        .14879    ** at limit **
  18  Prefactor     13.429        12.065        .10931E-03    .90487E-05
  19  Prefactor     4.2239        26.148        .19619E-03    .19180E-04
  20  Prefactor     .10000E-03    2.7802        .13579E-02** at limit **
  21  norm          21.530        9.0499        .86327E-04    .27577E-03
  22  Prefactor     .10000E-03    10.342        .18142E-02** at limit **
  23  Normalizat    .88865        .18231        .24931E-03   -.56544E-04
  24  Prefactor     1.0831        .22184        .28219E-03   -.80614E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.11299
  Prefactor  = 4.1054
  Prefactor  = 12.307
  Prefactor  = 0.0001
  norm       = 3.11255
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 6.08966
  Prefactor  = 2.91611
  Prefactor  = 0.000100076
  norm       = 3.05685
  norm       = 10.3839
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100658
  Prefactor  = 13.429
  Prefactor  = 4.22391
  Prefactor  = 0.0001
  norm       = 21.5299
  Prefactor  = 0.0001
  Normalizat = 0.888651
  Prefactor  = 1.08315
 **********
 **   18 **HESSE 
 **********

 FCN=   6990.330     FROM HESSE     STATUS=OK           383 CALLS     3206 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.762        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1130        .38594        .82877E-06   -1.5417    
   3  Prefactor     4.1054        10.056        .79551E-05   -1.5303    
   4  Prefactor     12.307        13.168        .45678E-05   -1.5006    
   5  Prefactor     .10000E-03    34.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1125        9.0807        .91915E-05   -1.5355    
   7  norm          .10000E-03    14.184        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0838        .32096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    87.080        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0897        2.5805        .33364E-05   -1.5214    
  11  Prefactor     2.9161        5.0745        .94042E-05   -1.5366    
  12  Prefactor     .10008E-03    140.03        .28046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0568        1.1733        .20682E-05   -1.5358    
  14  norm          10.384        7.3820        .49728E-05   -1.5063    
  15  Prefactor     .10000E-03    63.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .56698        .12284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10066E-03    30.915        .14903       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.429        12.065        .43722E-05   -1.4975    
  19  Prefactor     4.2239        26.147        .78478E-05   -1.5297    
  20  Prefactor     .10000E-03    2.7805        .27158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          21.530        9.0499        .34531E-05   -1.4780    
  22  Prefactor     .10000E-03    10.342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88865        .18248        .99725E-05   -.96860    
  24  Prefactor     1.0831        .22206        .11288E-04   -.90007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24022e-09
Minuit parameter uncertainties:
  1  9.55814e-06
  2  0.385938
  3  10.0604
  4  13.1706
  5  2.91617e-06
  6  9.08473
  7  1.10781e-06
  8  0.000188825
  9  0.00101232
  10  2.58055
  11  5.07522
  12  0.00655564
  13  1.17328
  14  7.38266
  15  0.000440733
  16  5.9034e-07
  17  0.00902361
  18  12.0672
  19  21.0318
  20  3.01241e-06
  21  9.05045
  22  4.92421e-05
  23  0.182609
  24  0.22225
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.038e+01  7.383e+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.083e+00  2.222e-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:  8.887e-01  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.68
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 9.39e-09
Energy Flux (Fixed Index): 2.34e-05 +/- 1.66e-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) = 6988.53437192
delta logL = 1.79553046253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6988.19668516
delta logL = 2.13321722302

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3159       1.0000         .10000E-03   10000.    
     2 'alpha     '    .53385       1.0000          .0000       5.0000    
     3 'Normalizat'    .88930       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0888       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=   6988.197     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      217 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3145        3.5759        .48477E-02   -.21549E-03
   2  alpha         .53372        .38572        .37990       -.88578E-05
   3  Normalizat    .88931        .15170        .44765E-01    .11393E-04
   4  Prefactor     1.0887        .18860        .63664E-01    .70556E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.31455
  alpha      = 0.533718
  Normalizat = 0.889312
  Prefactor  = 1.08872
 **********
 **   18 **HESSE 
 **********

 FCN=   6988.197     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3145        5.1682        .12327E-03   -1.5293    
   2  alpha         .53372        .51198        .18077E-01   -.90514    
   3  Normalizat    .88931        .17830        .24923E-03   -.96837    
   4  Prefactor     1.0887        .22156        .28159E-03   -.89828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40004e-10
Minuit parameter uncertainties:
  1  5.16873
  2  0.521862
  3  0.178415
  4  0.221752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115736': 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) = 6988.19668509
delta logL = 2.13321728929

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  4.315e+00  5.169e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  5.337e-01  5.219e-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.089e+00  2.218e-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:  8.893e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.94
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.53 +/- 0.52
Photon Flux (Free Index): 5.85e-09 +/- 4.37e-09
Energy Flux (Free Index): 1.19e-04 +/- 1.13e-04

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/115736/cmap_HighResolution_629424001_629683201_4FGL_J1150.6+4154_daily_bin1505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='1.19e-04', photon_flux_error='9.39e-09', dlogl='2.13e+00', energy_flux='2.34e-05', photon_flux2='5.85e-09', job_status='DONE', time_completed='2021-09-04 13:40:33.897200', photon_index_error2='0.52', photon_index2='0.53', ts='16.68', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.13e-04', EG='0.89', time_epoch_completed='1630788033.9', return_code='0', job_id='115736', GAL2='1.09', EG2='0.89', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='4.37e-09', ts2='20.94', photon_index='1.62' WHERE bin_id='1505' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:40:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 115736: <4FGL_J1150.6+4154_daily_bin1505> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1505> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:23 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26:24 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:26:24 2021
Terminated at Sat Sep  4 13:40:34 2021
Results reported at Sat Sep  4 13:40:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1505 177.656 41.9096 629424001 629683201 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 :                                   721.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             304.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            851 sec.

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

