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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1420
RA = 177.656, Dec = 41.9096
tmin = 607392001, tmax = 607651201
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='115492', job_status='RUN', time_executed='2021-09-04 13:30:22.945302', time_epoch_executed='1630787422.95' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1420'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115492/ft1_4FGL_J1150.6+4154_daily_bin1420.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits


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

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

Done.
real 5.25
user 5.00
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115492/ft1_filtered_4FGL_J1150.6+4154_daily_bin1420.fits" evtable="EVENTS" scfile=/scratch/kocevski/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits sctable="SC_DATA" outfile=/scratch/kocevski/115492/ltcube_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.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/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits
.....................!
real 11.65
user 11.32
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115492/ft1_filtered_4FGL_J1150.6+4154_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits sctable="SC_DATA" expcube=/scratch/kocevski/115492/ltcube_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.fits outfile=/scratch/kocevski/115492/expmap_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.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/115492/ltcube_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.fits
.....................!
real 190.43
user 185.44
sys 4.64

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/115492/ft1_filtered_4FGL_J1150.6+4154_daily_bin1420.fits scfile=/scratch/kocevski/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits outfile=/scratch/kocevski/115492/cmap_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.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.89
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115492/ft1_filtered_4FGL_J1150.6+4154_daily_bin1420.fits scfile=/scratch/kocevski/115492/ft2_4FGL_J1150.6+4154_daily_bin1420.fits outfile=/scratch/kocevski/115492/cmap_HighResolution_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.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.59
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.058       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4903       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.933       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16586E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.526       1.0000         .10000E-03   10000.    
    10 'norm      '    30.980       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.9230       1.0000         .10000E-03   10000.    
    14 'norm      '    19.538       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.5596       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.807       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.5990       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.947       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83377       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1494       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=   6407.732     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2725 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.910        85.035       -.13859E-04   -.31431E-03
   2  norm          1.4905        .39438        .13987E-07    .26784E-04
   3  Prefactor     .10000E-03    6.6972        .18300E-07** at limit **
   4  Prefactor     27.935        19.879       -.10025E-06   -.24348E-04
   5  Prefactor     .10000E-03    147.33        .12250E-05** at limit **
   6  norm          .10000E-03    14.034        .40144E-07** at limit **
   7  norm          .10000E-03    15.631        .12193E-05** at limit **
   8  Prefactor     .10000E-03    1.7474        .42971E-06** at limit **
   9  Prefactor     33.538        59.707        .53304E-06   -.34831E-05
  10  norm          30.981        5.4078       -.89603E-07   -.26076E-03
  11  Prefactor     .97226        3.8367        .18921E-05   -.14377E-03
  12  Prefactor     .10000E-03    34.582        .31149E-06** at limit **
  13  norm          2.9228        1.1896        .15232E-07   -.79173E-04
  14  norm          19.538        11.416       -.15211E-06    .25218E-04
  15  Prefactor     .10000E-03    11.924        .63782E-06** at limit **
  16  Prefactor     8.5601        5.6576       -.90462E-07   -.92651E-04
  17  Prefactor     .10000E-03    20.363       -.51498E-06** at limit **
  18  Prefactor     12.810        27.899       -.64038E-06   -.19307E-04
  19  Prefactor     .10000E-03    13.112       -.82188E-06** at limit **
  20  Prefactor     .10000E-03    4.3949        .24634E-06** at limit **
  21  norm          4.5987        9.7525        .99223E-05   -.43826E-03
  22  Prefactor     36.952        26.881       -.54272E-05   -.72559E-04
  23  Normalizat    .83354        .18121        .13731E-05   -.18469E-03
  24  Prefactor     1.1497        .21585       -.19863E-05   -.42967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.9104
  norm       = 1.49051
  Prefactor  = 0.0001
  Prefactor  = 27.9352
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5381
  norm       = 30.981
  Prefactor  = 0.972257
  Prefactor  = 0.0001
  norm       = 2.9228
  norm       = 19.5381
  Prefactor  = 0.0001
  Prefactor  = 8.5601
  Prefactor  = 0.0001
  Prefactor  = 12.8104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.59869
  Prefactor  = 36.9517
  Normalizat = 0.833543
  Prefactor  = 1.14966
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.732     FROM HESSE     STATUS=OK           395 CALLS     3120 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.910        89.441        .25070E-03   -1.4107    
   2  norm          1.4905        .39698        .24060E-04   -1.5464    
   3  Prefactor     .10000E-03    6.7105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.935        20.011        .75802E-04   -1.4650    
   5  Prefactor     .10000E-03    147.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7604        .20405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.538        59.142        .69206E-04   -1.4549    
  10  norm          30.981        5.4165        .66991E-04   -1.4594    
  11  Prefactor     .97226        3.8194        .29673E-03   -1.5511    
  12  Prefactor     .10000E-03    34.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9228        1.1880        .53066E-04   -1.5366    
  14  norm          19.538        11.420        .45306E-03   -1.4824    
  15  Prefactor     .10000E-03    11.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.5601        5.6553        .12195E-03   -1.5123    
  17  Prefactor     .10000E-03    20.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.810        27.853        .11193E-03   -1.4992    
  19  Prefactor     .10000E-03    13.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4469        .16386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.5987        9.9440        .93846E-03   -1.5279    
  22  Prefactor     36.952        26.986        .65934E-04   -1.4491    
  23  Normalizat    .83354        .21315        .27565E-03   -.98836    
  24  Prefactor     1.1497        .25400        .29388E-03   -.87895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76349e-09
Minuit parameter uncertainties:
  1  89.6299
  2  0.396981
  3  5.70995e-07
  4  20.0156
  5  0.000281587
  6  3.47521e-05
  7  0.000131679
  8  1.20805e-05
  9  59.2458
  10  5.41656
  11  3.82031
  12  4.41967e-05
  13  1.18799
  14  11.4216
  15  2.92651e-05
  16  5.65563
  17  7.50041e-05
  18  27.8812
  19  0.000103068
  20  2.71852e-06
  21  9.94762
  22  26.9949
  23  0.213365
  24  0.254274
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.954e+01  1.142e+01  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.150e+00  2.543e-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.335e-01  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.91
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 1.45e-08
Energy Flux (Fixed Index): 4.40e-05 +/- 2.57e-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) = 6407.72187898
delta logL = 0.0100389857525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6407.721798
delta logL = 0.0101199672345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.506       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5538       1.0000          .0000       5.0000    
     3 'Normalizat'    .83402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1506       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=   6407.722     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      265 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.487        11.469        .45344E-03    .26301E-04
   2  alpha         1.5529        .46147        .12757E-01    .83729E-05
   3  Normalizat    .83410        .20383        .27558E-03    .75082E-05
   4  Prefactor     1.1505        .25236        .29383E-03    .14858E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.4871
  alpha      = 1.55286
  Normalizat = 0.834101
  Prefactor  = 1.15052
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.722     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.487        11.489        .18138E-04   -1.4825    
   2  alpha         1.5529        .46231        .51026E-03   -.38856    
   3  Normalizat    .83410        .20402        .11023E-04   -.98816    
   4  Prefactor     1.1505        .25261        .11753E-04   -.87868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79356e-12
Minuit parameter uncertainties:
  1  11.4902
  2  0.46544
  3  0.204211
  4  0.252875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115492': 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) = 6407.72179476
delta logL = 0.0101232118886

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.949e+01  1.149e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.553e+00  4.654e-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.151e+00  2.529e-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.341e-01  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.92
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.55 +/- 0.47
Photon Flux (Free Index): 2.30e-08 +/- 1.86e-08
Energy Flux (Free Index): 4.80e-05 +/- 4.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/115492/cmap_HighResolution_607392001_607651201_4FGL_J1150.6+4154_daily_bin1420.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='4.80e-05', photon_flux_error='1.45e-08', dlogl='1.01e-02', energy_flux='4.40e-05', photon_flux2='2.30e-08', job_status='DONE', time_completed='2021-09-04 13:41:59.780387', photon_index_error2='0.47', photon_index2='1.55', ts='19.91', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.12e-05', EG='0.83', time_epoch_completed='1630788119.78', return_code='0', job_id='115492', GAL2='1.15', EG2='0.83', return_code2='0', energy_flux_error='2.57e-05', photon_flux_error2='1.86e-08', ts2='19.92', photon_index='1.62' WHERE bin_id='1420' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:41:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 115492: <4FGL_J1150.6+4154_daily_bin1420> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1420> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:10 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26: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:26:12 2021
Terminated at Sat Sep  4 13:42:00 2021
Results reported at Sat Sep  4 13:42:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1420 177.656 41.9096 607392001 607651201 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 :                                   693.41 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             253.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

