/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 4 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 = 7480
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin411
RA = 177.656, Dec = 41.9096
tmin = 345859201, tmax = 346118401
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='110494', job_status='RUN', time_executed='2021-09-04 13:11:35.205570', time_epoch_executed='1630786295.21' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110494

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110494/ft1_4FGL_J1150.6+4154_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110494/ft2_4FGL_J1150.6+4154_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110494/ft1_4FGL_J1150.6+4154_daily_bin411.fits outfile=/scratch/kocevski/110494/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin411.fits ra=177.656 dec=41.9096 rad=12.0 tmin=345859201.0 tmax=346118401.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.37
user 3.16
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110494/ft1_filtered_4FGL_J1150.6+4154_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/110494/ft2_4FGL_J1150.6+4154_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/110494/ltcube_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.fits outfile=/scratch/kocevski/110494/expmap_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.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/110494/ltcube_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.fits
.....................!
real 191.13
user 185.48
sys 5.21

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/110494/ft1_filtered_4FGL_J1150.6+4154_daily_bin411.fits scfile=/scratch/kocevski/110494/ft2_4FGL_J1150.6+4154_daily_bin411.fits outfile=/scratch/kocevski/110494/cmap_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110494/ft1_filtered_4FGL_J1150.6+4154_daily_bin411.fits scfile=/scratch/kocevski/110494/ft2_4FGL_J1150.6+4154_daily_bin411.fits outfile=/scratch/kocevski/110494/cmap_HighResolution_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.4786       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8709       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6020       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.793       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2907       1.0000         .10000E-03   10000.    
    14 'norm      '    11.555       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.099       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12697E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.838       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.177       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .26990       1.0000         .10000E-03   10000.    
    21 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.959       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3212       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .59027       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=   6062.519     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2739 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.744        .54173E-06** at limit **
   2  norm          1.4786        .34164       -.24935E-08   -.30443E-04
   3  Prefactor     4.8702        7.7918       -.94978E-07    .11880E-05
   4  Prefactor     .10000E-03    5.9242        .48611E-08** at limit **
   5  Prefactor     .10000E-03    33.657       -.32888E-05** at limit **
   6  norm          2.6004        7.1554        .44818E-05   -.14275E-03
   7  norm          .10000E-03    18.573        .28545E-05** at limit **
   8  Prefactor     .10000E-03    .60269        .21531E-07** at limit **
   9  Prefactor     .10000E-03    9.5312        .82320E-07** at limit **
  10  norm          .10000E-03    1.0358        .30963E-07** at limit **
  11  Prefactor     17.794        6.3321       -.16786E-06   -.11210E-03
  12  Prefactor     .10000E-03    51.423        .19806E-05** at limit **
  13  norm          1.2908        .87834       -.24404E-07   -.37202E-03
  14  norm          11.555        8.0214        .30734E-07    .10142E-04
  15  Prefactor     22.089        25.986        .14472E-05    .74303E-04
  16  Prefactor     .10000E-03    1.8802       -.18375E-06** at limit **
  17  Prefactor     .10000E-03    16.586       -.20081E-05** at limit **
  18  Prefactor     13.813        17.654        .88522E-06    .16190E-03
  19  Prefactor     20.184        21.637       -.72587E-06   -.66485E-04
  20  Prefactor     .24484        5.0411        .99798E-06   -.19203E-03
  21  norm          .10000E-03    2.8701       -.23386E-08** at limit **
  22  Prefactor     20.961        17.268        .23929E-07    .13695E-04
  23  Normalizat    1.3210        .16717        .23924E-06    .60158E-04
  24  Prefactor     .59047        .18940       -.10204E-05    .23552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.47862
  Prefactor  = 4.87023
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.60036
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.7941
  Prefactor  = 0.0001
  norm       = 1.29084
  norm       = 11.5549
  Prefactor  = 22.089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8133
  Prefactor  = 20.184
  Prefactor  = 0.244844
  norm       = 0.0001
  Prefactor  = 20.9607
  Normalizat = 1.32103
  Prefactor  = 0.590467
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.519     FROM HESSE     STATUS=OK           401 CALLS     3140 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4786        .34215        .20958E-04   -1.5465    
   3  Prefactor     4.8702        7.7872        .18226E-03   -1.5267    
   4  Prefactor     .10000E-03    5.9316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6004        7.1991        .12646E-02   -1.5385    
   7  norm          .10000E-03    18.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .60905        .58995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.5335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.6803        .15321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.794        6.3348        .94951E-04   -1.4864    
  12  Prefactor     .10000E-03    51.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2908        .86800        .57586E-04   -1.5481    
  14  norm          11.555        8.0219        .11785E-03   -1.5028    
  15  Prefactor     22.089        26.047        .85205E-04   -1.4768    
  16  Prefactor     .10000E-03    6.5239        .19693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.813        17.131        .10767E-03   -1.4964    
  19  Prefactor     20.184        21.637        .89168E-04   -1.4809    
  20  Prefactor     .24484        21.489        .32856E-02   -1.5609    
  21  norm          .10000E-03    2.8855        .12875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.961        17.277        .87488E-04   -1.4792    
  23  Normalizat    1.3210        .19159        .20828E-03   -.82941    
  24  Prefactor     .59047        .21492        .34723E-03   -1.0799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06093e-10
Minuit parameter uncertainties:
  1  5.64258e-05
  2  0.342146
  3  7.7888
  4  3.68501e-07
  5  0.000358489
  6  7.20145
  7  0.000232726
  8  7.84139e-07
  9  5.63734e-06
  10  1.02047e-06
  11  6.33506
  12  0.000230989
  13  0.868013
  14  8.02262
  15  26.0608
  16  1.28144e-06
  17  0.000154797
  18  17.1374
  19  21.645
  20  4.58838
  21  1.91573e-07
  22  17.2812
  23  0.191694
  24  0.215219
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.155e+01  8.023e+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:  5.905e-01  2.152e-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.321e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.98
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.02e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 1.81e-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) = 6061.19878721
delta logL = 1.32004816774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6060.86855059
delta logL = 1.6502847854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9710       1.0000         .10000E-03   10000.    
     2 'alpha     '    .58804       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59246       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=   6060.869     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      221 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9710        4.0992        .45094E-02    .25745E-02
   2  alpha         .58802        .40043        .35876       -.50116E-04
   3  Normalizat    1.3261        .16131        .47039E-01    .46840E-03
   4  Prefactor     .59246        .18783        .78298E-01    .30429E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.97097
  alpha      = 0.588021
  Normalizat = 1.32608
  Prefactor  = 0.592463
 **********
 **   18 **HESSE 
 **********

 FCN=   6060.869     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9710        5.7254        .12295E-03   -1.5262    
   2  alpha         .58802        .52265        .16796E-01   -.87072    
   3  Normalizat    1.3261        .18391        .20794E-03   -.82791    
   4  Prefactor     .59246        .21361        .34674E-03   -1.0790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92428e-09
Minuit parameter uncertainties:
  1  5.72602
  2  0.532285
  3  0.184001
  4  0.213903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110494': 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) = 6060.86855059
delta logL = 1.65028478653

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  4.971e+00  5.726e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  5.880e-01  5.323e-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:  5.925e-01  2.139e-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.326e+00  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.28
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.59 +/- 0.53
Photon Flux (Free Index): 6.24e-09 +/- 4.65e-09
Energy Flux (Free Index): 1.17e-04 +/- 1.16e-04

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/110494/cmap_HighResolution_345859201_346118401_4FGL_J1150.6+4154_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='1.17e-04', photon_flux_error='1.02e-08', dlogl='1.65e+00', energy_flux='2.60e-05', photon_flux2='6.24e-09', job_status='DONE', time_completed='2021-09-04 13:22:57.860726', photon_index_error2='0.53', photon_index2='0.59', ts='16.98', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='1.16e-04', EG='1.32', time_epoch_completed='1630786977.86', return_code='0', job_id='110494', GAL2='0.59', EG2='1.33', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='4.65e-09', ts2='20.28', photon_index='1.62' WHERE bin_id='411' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:22:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 110494: <4FGL_J1150.6+4154_daily_bin411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin411 177.656 41.9096 345859201 346118401 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 :                                   680.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

