/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 181 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 = 7476
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin81
RA = 177.656, Dec = 41.9096
tmin = 260323201, tmax = 260582401
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='107530', job_status='RUN', time_executed='2021-09-04 13:05:24.326086', time_epoch_executed='1630785924.33' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='81'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107530

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107530/ft1_4FGL_J1150.6+4154_daily_bin81.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107530/ft1_4FGL_J1150.6+4154_daily_bin81.fits outfile=/scratch/kocevski/107530/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin81.fits ra=177.656 dec=41.9096 rad=12.0 tmin=260323201.0 tmax=260582401.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 1.58
user 1.34
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107530/ft1_filtered_4FGL_J1150.6+4154_daily_bin81.fits" evtable="EVENTS" scfile=/scratch/kocevski/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits sctable="SC_DATA" outfile=/scratch/kocevski/107530/ltcube_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.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/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits
.....................!
real 12.33
user 11.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107530/ft1_filtered_4FGL_J1150.6+4154_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits sctable="SC_DATA" expcube=/scratch/kocevski/107530/ltcube_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.fits outfile=/scratch/kocevski/107530/expmap_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.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/107530/ltcube_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.fits
.....................!
real 190.79
user 184.50
sys 5.94

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/107530/ft1_filtered_4FGL_J1150.6+4154_daily_bin81.fits scfile=/scratch/kocevski/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits outfile=/scratch/kocevski/107530/cmap_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107530/ft1_filtered_4FGL_J1150.6+4154_daily_bin81.fits scfile=/scratch/kocevski/107530/ft2_4FGL_J1150.6+4154_daily_bin81.fits outfile=/scratch/kocevski/107530/cmap_HighResolution_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .55291       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22672E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.197       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .21127E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    5.4369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4816       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.984       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49059E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .11344E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.104       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.038       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5378       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7960       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21602       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75654       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3976       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=   7442.808     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     2486 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.326        .10340E-05** at limit **
   2  norm          .55161        .22906       -.60902E-08   -.25641E-02
   3  Prefactor     .62934        29.789       -.23529E-05    .68824E-04
   4  Prefactor     18.999        16.118       -.90051E-06   -.40947E-03
   5  Prefactor     .10000E-03    217.23        .20103E-05** at limit **
   6  norm          .10068E-03    35.706       -.29554E-05** at limit **
   7  norm          5.4428        39.076        .13284E-05    .27511E-04
   8  Prefactor     .10000E-03    .80616        .97367E-07** at limit **
   9  Prefactor     .10000E-03    13.922        .21857E-06** at limit **
  10  norm          3.4798        2.3873        .82472E-07    .42654E-04
  11  Prefactor     14.983        6.5805        .41152E-07   -.11152E-03
  12  Prefactor     .10056E-03    215.52        .12565E-04** at limit **
  13  norm          .10000E-03    1.3494        .81862E-06** at limit **
  14  norm          10.107        8.4350       -.75574E-07    .81257E-07
  15  Prefactor     13.062        18.085       -.97188E-07   -.22554E-04
  16  Prefactor     2.5423        2.8290        .79559E-06    .72491E-03
  17  Prefactor     .10000E-03    29.661        .79989E-06** at limit **
  18  Prefactor     .10000E-03    22.865        .13109E-05** at limit **
  19  Prefactor     4.7951        20.636       -.13539E-06   -.35645E-04
  20  Prefactor     .25807        30.016       -.18293E-05    .35979E-03
  21  norm          .10000E-03    2.1908        .20545E-06** at limit **
  22  Prefactor     .10000E-03    10.039        .40330E-06** at limit **
  23  Normalizat    .75520        .16976       -.26024E-05   -.17240E-03
  24  Prefactor     1.3982        .20122        .11464E-05   -.33429E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.551609
  Prefactor  = 0.62934
  Prefactor  = 18.9992
  Prefactor  = 0.000100001
  norm       = 0.000100682
  norm       = 5.44282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.47978
  Prefactor  = 14.9828
  Prefactor  = 0.000100559
  norm       = 0.000100005
  norm       = 10.107
  Prefactor  = 13.0619
  Prefactor  = 2.54228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.79506
  Prefactor  = 0.258071
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.755197
  Prefactor  = 1.39821
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.808     FROM HESSE     STATUS=OK           419 CALLS     2905 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55161        .23123        .24364E-04   -1.5559    
   3  Prefactor     .62934        143.66        .56389E-02   -1.5549    
   4  Prefactor     18.999        16.735        .91414E-04   -1.4836    
   5  Prefactor     .10000E-03    219.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10068E-03    19.439        .78658E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.4428        39.284        .17233E-03   -1.5241    
   8  Prefactor     .10000E-03    .81941        .75795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4798        2.4021        .10438E-03   -1.5335    
  11  Prefactor     14.983        6.5796        .10347E-03   -1.4934    
  12  Prefactor     .10056E-03    25.993        .11817       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.8476        .12135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.107        8.4236        .12606E-03   -1.5072    
  15  Prefactor     13.062        18.073        .11093E-03   -1.4985    
  16  Prefactor     2.5423        2.8687        .14844E-03   -1.5389    
  17  Prefactor     .10000E-03    29.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.7951        20.706        .18371E-03   -1.5270    
  20  Prefactor     .25807        41.109        .37888E-02   -1.5606    
  21  norm          .10000E-03    2.2002        .12475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75520        .19040        .26846E-03   -1.0175    
  24  Prefactor     1.3982        .22800        .25306E-03   -.80432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68366e-09
Minuit parameter uncertainties:
  1  0.000243875
  2  0.231232
  3  19.0615
  4  16.7396
  5  0.000873589
  6  0.00728501
  7  29.2717
  8  7.23035e-07
  9  9.23883e-06
  10  2.40213
  11  6.57988
  12  0.00762962
  13  0.000183668
  14  8.42459
  15  18.0809
  16  2.8689
  17  0.000192666
  18  4.1817e-05
  19  19.94
  20  6.51759
  21  8.47703e-06
  22  4.03848e-05
  23  0.190562
  24  0.228169
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.011e+01  8.425e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.398e+00  2.282e-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:  7.552e-01  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.58
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.29e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.90e-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) = 7442.79664602
delta logL = 0.0112256208049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7442.79446337
delta logL = 0.0134082713466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4825       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4809       1.0000          .0000       5.0000    
     3 'Normalizat'    .75580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4001       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=   7442.794     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      197 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4744        354.90        .32535E-02   -.12782E-04
   2  alpha         1.4806        3.6902        .46625       -.12399E-04
   3  Normalizat    .75582        .15001        .43031E-01    .21150E-04
   4  Prefactor     1.4001        .11390        .57205E-01   -.99292E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.47439
  alpha      = 1.48056
  Normalizat = 0.755817
  Prefactor  = 1.40006
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.794     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4744        9.5409        .13014E-03   -1.5092    
   2  alpha         1.4806        .83244        .19381E-01   -.42002    
   3  Normalizat    .75582        .18046        .26837E-03   -1.0173    
   4  Prefactor     1.4001        .22549        .25295E-03   -.80378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57896e-10
Minuit parameter uncertainties:
  1  9.54241
  2  0.852088
  3  0.180607
  4  0.225652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107530': 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) = 7442.79446299
delta logL = 0.0134086471107

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  9.474e+00  9.542e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.481e+00  8.521e-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.400e+00  2.257e-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:  7.558e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.48 +/- 0.85
Photon Flux (Free Index): 1.04e-08 +/- 1.64e-08
Energy Flux (Free Index): 2.61e-05 +/- 3.23e-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/107530/cmap_HighResolution_260323201_260582401_4FGL_J1150.6+4154_daily_bin81.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='2.61e-05', photon_flux_error='1.07e-08', dlogl='1.34e-02', energy_flux='2.28e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2021-09-04 13:17:08.116673', photon_index_error2='0.85', photon_index2='1.48', ts='5.58', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='3.23e-05', EG='0.76', time_epoch_completed='1630786628.12', return_code='0', job_id='107530', GAL2='1.40', EG2='0.76', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='1.64e-08', ts2='5.59', photon_index='1.62' WHERE bin_id='81' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:17:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 107530: <4FGL_J1150.6+4154_daily_bin81> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin81> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:02:08 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:02:10 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:02:10 2021
Terminated at Sat Sep  4 13:17:08 2021
Results reported at Sat Sep  4 13:17:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin81 177.656 41.9096 260323201 260582401 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 :                                   702.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             284.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

