/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 3 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7446
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1025
RA = 177.603, Dec = 24.3016
tmin = 505008001, tmax = 505267201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='105418', job_status='RUN', time_executed='2021-09-04 12:56:29.619246', time_epoch_executed='1630785389.62' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105418/ft1_4FGL_J1150.4+2418_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits


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

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

Done.
real 4.54
user 4.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/105418/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.57
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/105418/ltcube_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits
.....................!
real 11.91
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/105418/ltcube_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits outfile=/scratch/kocevski/105418/expmap_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/105418/ltcube_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits
.....................!
real 191.02
user 185.15
sys 5.44

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J1150.4+2418 @ 177.603 24.3016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits outfile=/scratch/kocevski/105418/cmap_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=177.603 yref=24.3016 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits outfile=/scratch/kocevski/105418/cmap_HighResolution_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=177.603 yref=24.3016 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105418/Model_4FGL_J1150.4+2418_daily_bin1025.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits.....................!
real 56.75
user 55.42
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits', '/scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits', expMap='/scratch/kocevski/105418/expmap_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits', expCube='/scratch/kocevski/105418/ltcube_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105418/Model_4FGL_J1150.4+2418_daily_bin1025.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.4+2418'

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.344e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/105418/ft1_filtered_4FGL_J1150.4+2418_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/105418/ft2_4FGL_J1150.4+2418_daily_bin1025.fits
Exposure map: /scratch/kocevski/105418/expmap_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits
Exposure cube: /scratch/kocevski/105418/ltcube_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105418/Model_4FGL_J1150.4+2418_daily_bin1025.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    48.801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.698       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35702E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.065       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0867       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.185       1.0000         .10000E-03   10000.    
    13 'norm      '    10.333       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.530       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.849       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7835       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6491       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7953       1.0000         .10000E-03   10000.    
    22 'norm      '    .96803E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    4.8918       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1499       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .84870       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6361.478     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     3055 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5669        1.8700       -.71494E-07   -.70324E-04
   2  Prefactor     .10000E-03    5.4666        .18499E-05** at limit **
   3  norm          .10000E-03    8.9993        .62670E-05** at limit **
   4  Prefactor     10.535        11.606       -.76746E-06   -.59301E-04
   5  Prefactor     .10000E-03    15.153       -.12587E-05** at limit **
   6  Prefactor     48.803        37.752        .19115E-05    .11583E-04
   7  Prefactor     13.689        13.910       -.62334E-05   -.10139E-03
   8  Prefactor     .10002E-03    4.0265        .20310E-05** at limit **
   9  Prefactor     .10000E-03    7.4317       -.70991E-05** at limit **
  10  Prefactor     15.066        10.354       -.38918E-06    .35225E-04
  11  Prefactor     2.0868        1.7997       -.18847E-06   -.17004E-03
  12  Prefactor     51.169        33.534       -.19290E-04   -.12001E-03
  13  norm          10.333        2.1862        .44320E-06    .18614E-03
  14  Prefactor     .10000E-03    2.0928       -.61306E-08** at limit **
  15  Prefactor     33.530        32.921        .10337E-05   -.97079E-06
  16  Prefactor     .10000E-03    1.5043       -.71049E-07** at limit **
  17  Prefactor     .10000E-03    2.9967       -.44655E-06** at limit **
  18  norm          16.848        4.9777        .32294E-07    .11957E-03
  19  Prefactor     3.7833        2.5249        .74758E-06    .17332E-03
  20  Prefactor     1.6492        2.4509       -.14940E-05   -.83607E-03
  21  Prefactor     3.7952        4.6364        .16383E-07    .74676E-04
  22  norm          .97263E-02    .22523       -.21238E-06   -.20498E-02
  23  norm          4.8917        4.2116       -.24627E-07    .15924E-03
  24  Prefactor     .10000E-03    3.1570        .20454E-06** at limit **
  25  Normalizat    1.1499        .19948        .40187E-05   -.16982E-03
  26  Prefactor     .84858        .19961       -.33382E-06    .97948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56693
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5351
  Prefactor  = 0.000100001
  Prefactor  = 48.8032
  Prefactor  = 13.6887
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 15.0656
  Prefactor  = 2.08677
  Prefactor  = 51.1686
  norm       = 10.3333
  Prefactor  = 0.0001
  Prefactor  = 33.5301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.8485
  Prefactor  = 3.78334
  Prefactor  = 1.64925
  Prefactor  = 3.79517
  norm       = 0.00972634
  norm       = 4.89172
  Prefactor  = 0.0001
  Normalizat = 1.1499
  Prefactor  = 0.84858
 **********
 **   18 **HESSE 
 **********

 FCN=   6361.478     FROM HESSE     STATUS=OK           462 CALLS     3517 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5669        1.8621        .11577E-03   -1.5458    
   2  Prefactor     .10000E-03    5.5108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.0459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.535        11.606        .12344E-03   -1.5059    
   5  Prefactor     .10000E-03    15.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     48.803        37.805        .57402E-04   -1.4310    
   7  Prefactor     13.689        13.928        .10822E-03   -1.4968    
   8  Prefactor     .10002E-03    10.964        .30845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.4244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.066        10.356        .10319E-03   -1.4931    
  11  Prefactor     2.0868        1.7909        .95330E-04   -1.5419    
  12  Prefactor     51.169        33.578        .56056E-04   -1.4276    
  13  norm          10.333        2.1902        .51261E-04   -1.5065    
  14  Prefactor     .10000E-03    2.1216        .11260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.530        32.941        .69203E-04   -1.4549    
  16  Prefactor     .10000E-03    1.5358        .95419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.1304        .26918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.848        4.9648        .87198E-04   -1.4887    
  19  Prefactor     3.7833        2.5259        .96073E-04   -1.5319    
  20  Prefactor     1.6492        2.4317        .14099E-03   -1.5451    
  21  Prefactor     3.7952        4.6245        .18174E-03   -1.5318    
  22  norm          .97263E-02    1.5411        .68929E-03   -1.5688    
  23  norm          4.8917        4.2060        .14507E-03   -1.5266    
  24  Prefactor     .10000E-03    3.1603        .13840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1499        .24346        .25899E-03   -.88166    
  26  Prefactor     .84858        .24211        .31202E-03   -.97962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85905e-09
Minuit parameter uncertainties:
  1  1.86219
  2  2.22188e-05
  3  2.58861e-05
  4  11.6085
  5  0.000229842
  6  37.8239
  7  13.9314
  8  0.000848829
  9  8.81347e-06
  10  10.3577
  11  1.79096
  12  33.5904
  13  2.19027
  14  1.08883e-05
  15  32.9587
  16  1.0144e-05
  17  2.74713e-05
  18  4.96495
  19  2.52599
  20  2.43182
  21  4.62494
  22  0.243604
  23  4.20621
  24  3.16105e-07
  25  0.243703
  26  0.242419
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.087e+00  1.791e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.486e-01  2.424e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.150e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.44
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.32e-05

TS (Fixed Index): 2.44
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105418/likelihoodResults_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6361.0949659
delta logL = 0.383135118356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6361.071663
delta logL = 0.406438016853

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7453       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7701       1.0000          .0000       10.000    
     3 'Normalizat'    1.1667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6361.072     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      266 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7476        93.694        .61428E-02    .15466E-03
   2  Index         1.7707        5.3637        .21432       -.16700E-04
   3  Normalizat    1.1664        .20762        .58193E-01    .11676E-03
   4  Prefactor     .83482        .22082        .70999E-01    .30518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7476
  Index      = 1.77069
  Normalizat = 1.16641
  Prefactor  = 0.834815
 **********
 **   18 **HESSE 
 **********

 FCN=   6361.072     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7476        2.1929        .10226E-03   -1.5376    
   2  Index         1.7707        .46574        .80443E-02   -.70215    
   3  Normalizat    1.1664        .22712        .25735E-03   -.87647    
   4  Prefactor     .83482        .24012        .31416E-03   -.98457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07636e-11
Minuit parameter uncertainties:
  1  2.19292
  2  0.466906
  3  0.22731
  4  0.240421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105418': 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) = 6361.0716608
delta logL = 0.406440213032

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.748e+00  2.193e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.771e+00  4.669e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.348e-01  2.404e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.166e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.26
Ra Dec: 177.603 24.302
Photon Index (Free Index): 1.77 +/- 0.47
Photon Flux (Free Index): 2.51e-08 +/- 2.44e-08
Energy Flux (Free Index): 3.28e-05 +/- 3.89e-05

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/105418/cmap_HighResolution_505008001_505267201_4FGL_J1150.4+2418_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='3.28e-05', photon_flux_error='3.10e-08', dlogl='4.06e-01', energy_flux='1.54e-05', photon_flux2='2.51e-08', job_status='DONE', time_completed='2021-09-04 13:09:22.007345', photon_index_error2='0.47', photon_index2='1.77', ts='2.44', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='3.89e-05', EG='1.15', time_epoch_completed='1630786162.01', return_code='0', job_id='105418', GAL2='0.83', EG2='1.17', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='2.44e-08', ts2='3.26', photon_index='2.23' WHERE bin_id='1025' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:09:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 105418: <4FGL_J1150.4+2418_daily_bin1025> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1025> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:14 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 12:56:16 2021
Terminated at Sat Sep  4 13:09:22 2021
Results reported at Sat Sep  4 13:09:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1025 177.603 24.3016 505008001 505267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.4+2418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

