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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1113
RA = 177.656, Dec = 41.9096
tmin = 527817601, tmax = 528076801
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='113570', job_status='RUN', time_executed='2021-09-04 13:23:49.381343', time_epoch_executed='1630787029.38' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113570/ft1_4FGL_J1150.6+4154_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113570/ft2_4FGL_J1150.6+4154_daily_bin1113.fits


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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113570/ft1_filtered_4FGL_J1150.6+4154_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/113570/ft2_4FGL_J1150.6+4154_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/113570/ltcube_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.fits outfile=/scratch/kocevski/113570/expmap_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.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/113570/ltcube_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.fits
.....................!
real 189.65
user 185.05
sys 4.14

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/113570/ft1_filtered_4FGL_J1150.6+4154_daily_bin1113.fits scfile=/scratch/kocevski/113570/ft2_4FGL_J1150.6+4154_daily_bin1113.fits outfile=/scratch/kocevski/113570/cmap_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.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.61
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113570/ft1_filtered_4FGL_J1150.6+4154_daily_bin1113.fits scfile=/scratch/kocevski/113570/ft2_4FGL_J1150.6+4154_daily_bin1113.fits outfile=/scratch/kocevski/113570/cmap_HighResolution_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.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.58
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4305       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.566       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.236       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10474E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    28.437       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .96991       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2739       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.858       1.0000         .10000E-03   10000.    
    13 'norm      '    11.395       1.0000         .10000E-03   10000.    
    14 'norm      '    13.870       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .32541E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14991E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10478E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.140       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2306       1.0000         .10000E-03   10000.    
    21 'norm      '    4.1741       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4564       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63926       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=   7067.459     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2824 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.774        .43913E-07** at limit **
   2  norm          1.4304        .39514        .40841E-08   -.21546E-05
   3  Prefactor     13.563        20.174        .61165E-07    .10033E-04
   4  Prefactor     13.243        22.796        .24876E-06   -.14493E-05
   5  Prefactor     .10000E-03    190.82       -.40118E-06** at limit **
   6  norm          28.436        17.419        .81108E-07    .10173E-04
   7  norm          .10000E-03    14.082        .23008E-07** at limit **
   8  Prefactor     .10000E-03    1.7564        .29263E-09** at limit **
   9  Prefactor     .10000E-03    30.300        .22657E-06** at limit **
  10  norm          .96669        2.4455        .24107E-06    .89728E-05
  11  Prefactor     7.2748        6.1560        .52038E-06    .65775E-04
  12  Prefactor     42.769        56.599       -.14289E-05   -.14906E-03
  13  norm          11.396        2.1122        .97932E-07    .54661E-04
  14  norm          13.871        9.5753       -.13716E-06   -.10326E-04
  15  Prefactor     .10000E-03    151.74        .18247E-05** at limit **
  16  Prefactor     .10038E-03    1.6141        .67623E-06** at limit **
  17  Prefactor     .10000E-03    18.045       -.84033E-07** at limit **
  18  Prefactor     .10000E-03    32.633       -.35741E-06** at limit **
  19  Prefactor     17.109        39.399        .10792E-05   -.19780E-04
  20  Prefactor     6.2281        9.4673        .45556E-05    .13681E-03
  21  norm          4.1726        6.3230        .31173E-06    .34505E-05
  22  Prefactor     .10000E-03    10.797        .16135E-06** at limit **
  23  Normalizat    1.4571        .19329        .17199E-05   -.27899E-03
  24  Prefactor     .63846        .21815       -.40626E-05   -.63414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.43042
  Prefactor  = 13.5626
  Prefactor  = 13.2429
  Prefactor  = 0.000100001
  norm       = 28.4362
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.966692
  Prefactor  = 7.2748
  Prefactor  = 42.7688
  norm       = 11.396
  norm       = 13.8705
  Prefactor  = 0.000100003
  Prefactor  = 0.00010038
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.1093
  Prefactor  = 6.22815
  norm       = 4.1726
  Prefactor  = 0.0001
  Normalizat = 1.45713
  Prefactor  = 0.638465
 **********
 **   18 **HESSE 
 **********

 FCN=   7067.459     FROM HESSE     STATUS=OK           399 CALLS     3223 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4304        .40041        .25007E-04   -1.5469    
   3  Prefactor     13.563        20.106        .10875E-03   -1.4971    
   4  Prefactor     13.243        22.973        .11010E-03   -1.4980    
   5  Prefactor     .10000E-03    191.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          28.436        17.397        .75129E-04   -1.4641    
   7  norm          .10000E-03    14.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7960        .21676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    30.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .96669        2.3854        .19514E-03   -1.5511    
  11  Prefactor     7.2748        6.1403        .14872E-03   -1.5168    
  12  Prefactor     42.769        56.693        .61236E-04   -1.4399    
  13  norm          11.396        2.1200        .46202E-04   -1.5033    
  14  norm          13.871        9.5760        .53774E-03   -1.4963    
  15  Prefactor     .10000E-03    155.81        .39477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10038E-03    29.449        .19613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.109        39.413        .96741E-04   -1.4880    
  20  Prefactor     6.2281        9.5697        .80411E-03   -1.5209    
  21  norm          4.1726        6.3153        .19727E-03   -1.5299    
  22  Prefactor     .10000E-03    10.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4571        .22076        .23683E-03   -.78990    
  24  Prefactor     .63846        .24666        .39325E-03   -1.0599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23599e-08
Minuit parameter uncertainties:
  1  7.48908e-07
  2  0.400407
  3  20.1156
  4  22.9883
  5  0.000836006
  6  17.4005
  7  6.19931e-06
  8  3.88805e-06
  9  5.64877e-05
  10  2.38565
  11  6.1408
  12  56.7648
  13  2.12006
  14  9.57701
  15  0.00127379
  16  0.00669678
  17  1.83948e-05
  18  0.000278565
  19  39.4727
  20  9.57204
  21  6.31627
  22  3.29569e-06
  23  0.220908
  24  0.247084
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.387e+01  9.577e+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:  6.385e-01  2.471e-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.457e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.79
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.22e-08
Energy Flux (Fixed Index): 3.13e-05 +/- 2.16e-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) = 7067.45872062
delta logL = 1.67754478753e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7067.45872058
delta logL = 2.11322003452e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.871       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6190       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63846       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=   7067.459     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      228 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.871        9.5656        .10755E-03   -.87189E-03
   2  alpha         1.6191        .59737        .15979E-01   -.11774E-03
   3  Normalizat    1.4571        .21267        .23683E-03    .10248E-03
   4  Prefactor     .63846        .24475        .39326E-03    .62906E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.8708
  alpha      = 1.61908
  Normalizat = 1.45713
  Prefactor  = 0.63846
 **********
 **   18 **HESSE 
 **********

 FCN=   7067.459     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.871        9.5874        .21509E-04   -1.4963    
   2  alpha         1.6191        .59882        .63915E-03   -.36010    
   3  Normalizat    1.4571        .21280        .47365E-04   -.78990    
   4  Prefactor     .63846        .24492        .15730E-04   -1.0599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60144e-09
Minuit parameter uncertainties:
  1  9.58845
  2  0.605563
  3  0.212934
  4  0.245328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113570': 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) = 7067.45872056
delta logL = 2.27969394473e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.387e+01  9.588e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  6.056e-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:  6.385e-01  2.453e-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.457e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.81
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.62 +/- 0.61
Photon Flux (Free Index): 1.77e-08 +/- 1.86e-08
Energy Flux (Free Index): 3.12e-05 +/- 3.10e-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/113570/cmap_HighResolution_527817601_528076801_4FGL_J1150.6+4154_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='3.12e-05', photon_flux_error='1.22e-08', dlogl='2.28e-07', energy_flux='3.13e-05', photon_flux2='1.77e-08', job_status='DONE', time_completed='2021-09-04 13:36:04.527434', photon_index_error2='0.61', photon_index2='1.62', ts='11.79', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='3.10e-05', EG='1.46', time_epoch_completed='1630787764.53', return_code='0', job_id='113570', GAL2='0.64', EG2='1.46', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='1.86e-08', ts2='11.81', photon_index='1.62' WHERE bin_id='1113' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:36:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 113570: <4FGL_J1150.6+4154_daily_bin1113> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1113 177.656 41.9096 527817601 528076801 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 :                                   732.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            895 sec.

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

