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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1025
RA = 177.656, Dec = 41.9096
tmin = 505008001, tmax = 505267201
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='113439', job_status='RUN', time_executed='2021-09-04 13:21:34.119932', time_epoch_executed='1630786894.12' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113439/ft1_4FGL_J1150.6+4154_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113439/ft1_4FGL_J1150.6+4154_daily_bin1025.fits outfile=/scratch/kocevski/113439/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1025.fits ra=177.656 dec=41.9096 rad=12.0 tmin=505008001.0 tmax=505267201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.74
user 4.28
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113439/ft1_filtered_4FGL_J1150.6+4154_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/113439/ltcube_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.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/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits
.....................!
real 13.47
user 12.83
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113439/ft1_filtered_4FGL_J1150.6+4154_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/113439/ltcube_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.fits outfile=/scratch/kocevski/113439/expmap_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.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/113439/ltcube_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.fits
.....................!
real 191.02
user 185.56
sys 4.44

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/113439/ft1_filtered_4FGL_J1150.6+4154_daily_bin1025.fits scfile=/scratch/kocevski/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits outfile=/scratch/kocevski/113439/cmap_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113439/ft1_filtered_4FGL_J1150.6+4154_daily_bin1025.fits scfile=/scratch/kocevski/113439/ft2_4FGL_J1150.6+4154_daily_bin1025.fits outfile=/scratch/kocevski/113439/cmap_HighResolution_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.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.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    132.51       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4578       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.958       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    26.977       1.0000         .10000E-03   10000.    
     7 'norm      '    20.767       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6964       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10456E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2115       1.0000         .10000E-03   10000.    
    14 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.440       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0836       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.011       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.792       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7494       1.0000         .10000E-03   10000.    
    21 'norm      '    22.512       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93262       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0961       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=   6726.289     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2721 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     132.51        84.499        .73264E-06   -.21169E-05
   2  norm          2.4576        .44456        .28152E-08   -.39650E-04
   3  Prefactor     29.953        23.031        .60617E-06   -.36904E-04
   4  Prefactor     .10000E-03    6.3421       -.13264E-06** at limit **
   5  Prefactor     .10000E-03    36.425        .20086E-05** at limit **
   6  norm          26.976        19.500       -.11387E-08   -.67141E-04
   7  norm          20.748        36.787        .52335E-05   -.24451E-05
   8  Prefactor     1.6963        1.7792        .10730E-06   -.33690E-03
   9  Prefactor     .10000E-03    15.508        .20689E-05** at limit **
  10  norm          .10000E-03    1.3505       -.15701E-06** at limit **
  11  Prefactor     .10002E-03    5.9412        .53373E-05** at limit **
  12  Prefactor     .10000E-03    26.853       -.12451E-05** at limit **
  13  norm          2.2118        1.1258        .50278E-07    .19274E-04
  14  norm          .10000E-03    10.776        .82669E-06** at limit **
  15  Prefactor     52.443        32.733       -.20096E-06   -.11591E-03
  16  Prefactor     1.0826        3.1225        .11739E-05    .40588E-03
  17  Prefactor     .10000E-03    28.190       -.16486E-05** at limit **
  18  Prefactor     13.017        27.581       -.23523E-05   -.76880E-04
  19  Prefactor     31.778        31.637        .20428E-05   -.12588E-04
  20  Prefactor     2.7517        6.8430        .62356E-05    .31500E-03
  21  norm          22.513        8.8076        .92920E-07   -.43647E-04
  22  Prefactor     .10000E-03    14.340        .15735E-06** at limit **
  23  Normalizat    .93248        .17678       -.90160E-06   -.20940E-03
  24  Prefactor     1.0963        .20492       -.42547E-07   -.16028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 132.51
  norm       = 2.45762
  Prefactor  = 29.953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.9756
  norm       = 20.748
  Prefactor  = 1.69629
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  norm       = 2.21184
  norm       = 0.0001
  Prefactor  = 52.4433
  Prefactor  = 1.08256
  Prefactor  = 0.0001
  Prefactor  = 13.0171
  Prefactor  = 31.7782
  Prefactor  = 2.75165
  norm       = 22.5131
  Prefactor  = 0.0001
  Normalizat = 0.932477
  Prefactor  = 1.09631
 **********
 **   18 **HESSE 
 **********

 FCN=   6726.289     FROM HESSE     STATUS=OK           403 CALLS     3124 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     132.51        84.524        .34981E-04   -1.3401    
   2  norm          2.4576        .44593        .21952E-04   -1.5394    
   3  Prefactor     29.953        23.065        .73201E-04   -1.4613    
   4  Prefactor     .10000E-03    6.3483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          26.976        19.472        .77131E-04   -1.4669    
   7  norm          20.748        36.759        .87892E-04   -1.4797    
   8  Prefactor     1.6963        1.7621        .10711E-03   -1.5447    
   9  Prefactor     .10000E-03    15.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.8920        .18334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    12.246        .30530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2118        1.1179        .59083E-04   -1.5411    
  14  norm          .10000E-03    11.075        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.443        32.470        .55385E-04   -1.4258    
  16  Prefactor     1.0826        2.9512        .20504E-03   -1.5500    
  17  Prefactor     .10000E-03    28.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.017        26.441        .11105E-03   -1.4986    
  19  Prefactor     31.778        31.636        .71063E-04   -1.4580    
  20  Prefactor     2.7517        7.2884        .12276E-02   -1.5376    
  21  norm          22.513        8.8050        .84421E-04   -1.4759    
  22  Prefactor     .10000E-03    14.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93248        .20755        .26530E-03   -.95328    
  24  Prefactor     1.0963        .24096        .29677E-03   -.89585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82921e-09
Minuit parameter uncertainties:
  1  84.6016
  2  0.445935
  3  23.0715
  4  1.14296e-05
  5  3.9298e-05
  6  19.4767
  7  36.7987
  8  1.76219
  9  1.16317e-05
  10  3.03475e-05
  11  0.000885132
  12  2.99343e-06
  13  1.11787
  14  3.39445e-05
  15  32.481
  16  2.95163
  17  2.55658e-06
  18  26.4645
  19  31.6526
  20  7.29071
  21  8.80548
  22  7.38412e-06
  23  0.207726
  24  0.241199
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  3.394e-05  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.096e+00  2.412e-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.325e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/113439/likelihoodResults_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.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): 102
logL (Free Index) = 6726.28935617
delta logL = -0.000430710034379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6726.28893417
delta logL = -8.71442080097e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24833E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5069       1.0000          .0000       5.0000    
     3 'Normalizat'    .93318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0954       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=   6726.236     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      263 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99046        3.7931        .90712E-02   -.91936E-03
   2  alpha         .73824        1.2238        .46274       -.44861E-04
   3  Normalizat    .93147        .16878        .45324E-01    .10037E-03
   4  Prefactor     1.0954        .20390        .67110E-01    .57223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.990455
  alpha      = 0.738243
  Normalizat = 0.931472
  Prefactor  = 1.09539
 **********
 **   18 **HESSE 
 **********

 FCN=   6726.236     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99046        3.6215        .27772E-03   -1.5907    
   2  alpha         .73824        1.1682        .55509E-01   -.78200    
   3  Normalizat    .93147        .19856        .26542E-03   -.95363    
   4  Prefactor     1.0954        .23976        .29687E-03   -.89614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95065e-08
Minuit parameter uncertainties:
  1  3.6223
  2  1.27527
  3  0.198721
  4  0.239991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113439': 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) = 6726.23595762
delta logL = 0.052967839446

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  9.905e-01  3.622e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  7.382e-01  1.275e+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:  1.095e+00  2.400e-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.315e-01  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/113439/cmap_HighResolution_505008001_505267201_4FGL_J1150.6+4154_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-05', job_status='DONE', photon_flux_upper_limit='2.89e-08', time_completed='2021-09-04 13:34:54.009663', job_id='113439', GAL2='1.10', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630787694.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.30e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1025' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:34:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 113439: <4FGL_J1150.6+4154_daily_bin1025> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1025 177.656 41.9096 505008001 505267201 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 :                                   798.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

