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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin11
RA = 177.603, Dec = 24.3016
tmin = 242179201, tmax = 242438401
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='99250', job_status='RUN', time_executed='2021-09-04 12:38:51.793047', time_epoch_executed='1630784331.79' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='11'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99250/ft1_4FGL_J1150.4+2418_daily_bin11.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99250/ft1_4FGL_J1150.4+2418_daily_bin11.fits outfile=/scratch/kocevski/99250/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin11.fits ra=177.603 dec=24.3016 rad=12.0 tmin=242179201.0 tmax=242438401.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.48
user 1.26
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.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/99250/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin11.fits evtable="EVENTS" outfile="/scratch/kocevski/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.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.53
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits" evtable="EVENTS" scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits sctable="SC_DATA" outfile=/scratch/kocevski/99250/ltcube_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.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/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits
.....................!
real 12.66
user 12.23
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits sctable="SC_DATA" expcube=/scratch/kocevski/99250/ltcube_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits outfile=/scratch/kocevski/99250/expmap_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.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/99250/ltcube_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits
.....................!
real 195.63
user 189.38
sys 5.80

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/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits outfile=/scratch/kocevski/99250/cmap_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits outfile=/scratch/kocevski/99250/cmap_HighResolution_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.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/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/99250/Model_4FGL_J1150.4+2418_daily_bin11.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/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits.....................!
real 80.69
user 79.20
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits', '/scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits', expMap='/scratch/kocevski/99250/expmap_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits', expCube='/scratch/kocevski/99250/ltcube_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/99250/Model_4FGL_J1150.4+2418_daily_bin11.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/99250/ft1_filtered_4FGL_J1150.4+2418_daily_bin11.fits
Spacecraft file(s): /scratch/kocevski/99250/ft2_4FGL_J1150.4+2418_daily_bin11.fits
Exposure map: /scratch/kocevski/99250/expmap_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits
Exposure cube: /scratch/kocevski/99250/ltcube_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/99250/Model_4FGL_J1150.4+2418_daily_bin11.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) = 9602.3832302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4221       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0908       1.0000         .10000E-03   10000.    
     3 'norm      '    18.575       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7382       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0938       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33334       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4737       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.595       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5389       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2132       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0128       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6704       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1388       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5006       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.5275       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1589       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0975       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=   9602.298     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     2700 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4221        1.6567        .90672E-02    .25325E-03
   2  Prefactor     4.0902        4.6740        .49832E-02   -.48590E-03
   3  norm          18.576        11.199        .23233E-02    .13141E-02
   4  Prefactor     4.7379        8.3513        .46213E-02    .28578E-03
   5  Prefactor     .10000E-03    5.6238        .90712E-02** at limit **
   6  Prefactor     .10000E-03    9.2090        .15041    ** at limit **
   7  Prefactor     6.0947        8.1373        .40660E-02   -.14159E-03
   8  Prefactor     .10000E-03    1.4461        .90712E-02** at limit **
   9  Prefactor     .23021        13.814        .10570        .22499E-03
  10  Prefactor     .10000E-03    4.5204        .90712E-02** at limit **
  11  Prefactor     2.4760        1.8157        .64992E-02    .30234E-03
  12  Prefactor     11.588        19.679        .29411E-02   -.11982E-02
  13  norm          2.5394        1.0289        .64077E-03    .84817E-03
  14  Prefactor     4.2126        3.1111        .49081E-02   -.97732E-03
  15  Prefactor     .10000E-03    13.499        .90712E-02** at limit **
  16  Prefactor     1.0128        1.2954        .13061E-02    .46104E-02
  17  Prefactor     .10000E-03    .67226        .90712E-02** at limit **
  18  norm          2.6704        2.1939        .62348E-02    .20445E-03
  19  Prefactor     1.1385        1.9817        .10901E-01    .13800E-02
  20  Prefactor     9.5007        2.7068        .32504E-02   -.22734E-02
  21  Prefactor     .10000E-03    1.5351        .90712E-02** at limit **
  22  norm          .10000E-03    .46167E-01    .90712E-02** at limit **
  23  norm          7.5272        4.0539        .36543E-02    .50361E-02
  24  Prefactor     .10000E-03    5.9998        .90712E-02** at limit **
  25  Normalizat    1.1590        .15724        .57971E-01    .27955E-05
  26  Prefactor     1.0976        .15986        .64361E-01    .33970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42209
  Prefactor  = 4.09019
  norm       = 18.5763
  Prefactor  = 4.73791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.09471
  Prefactor  = 0.0001
  Prefactor  = 0.230208
  Prefactor  = 0.0001
  Prefactor  = 2.476
  Prefactor  = 11.588
  norm       = 2.53941
  Prefactor  = 4.21257
  Prefactor  = 0.0001
  Prefactor  = 1.01283
  Prefactor  = 0.0001
  norm       = 2.67035
  Prefactor  = 1.13855
  Prefactor  = 9.50066
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.52725
  Prefactor  = 0.0001
  Normalizat = 1.15896
  Prefactor  = 1.09758
 **********
 **   18 **HESSE 
 **********

 FCN=   9602.298     FROM HESSE     STATUS=OK           470 CALLS     3170 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4221        1.6453        .13194E-03   -1.5469    
   2  Prefactor     4.0902        4.6631        .19933E-03   -1.5303    
   3  norm          18.576        11.243        .92932E-04   -1.4846    
   4  Prefactor     4.7379        8.3376        .18485E-03   -1.5273    
   5  Prefactor     .10000E-03    5.6331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.442        .57867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0947        8.1303        .16264E-03   -1.5214    
   8  Prefactor     .10000E-03    1.4548        .11505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23021        17.946        .90499E-01   -1.5612    
  10  Prefactor     .10000E-03    4.5570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4760        1.8124        .10251E-03   -1.5393    
  12  Prefactor     11.588        19.746        .11765E-03   -1.5027    
  13  norm          2.5394        1.0293        .12815E-03   -1.5389    
  14  Prefactor     4.2126        3.1077        .14130E-03   -1.5297    
  15  Prefactor     .10000E-03    13.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0128        1.2948        .26123E-03   -1.5507    
  17  Prefactor     .10000E-03    .68645        .78404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6704        2.1765        .11731E-03   -1.5381    
  19  Prefactor     1.1385        1.9222        .16076E-03   -1.5495    
  20  Prefactor     9.5007        2.7000        .80184E-04   -1.5091    
  21  Prefactor     .10000E-03    1.5399        .11850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .55750E-01    .40899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.5272        4.0502        .69502E-03   -1.5159    
  24  Prefactor     .10000E-03    6.0538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1590        .18935        .25637E-03   -.87881    
  26  Prefactor     1.0976        .19074        .28468E-03   -.89544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73931e-09
Minuit parameter uncertainties:
  1  1.64531
  2  4.66348
  3  11.2439
  4  8.33961
  5  1.91137e-06
  6  7.57143e-05
  7  8.13174
  8  5.47221e-07
  9  4.06553
  10  1.63917e-06
  11  1.81248
  12  19.7574
  13  1.02929
  14  3.10784
  15  4.11916e-06
  16  1.29487
  17  7.55655e-07
  18  2.17654
  19  1.92232
  20  2.70005
  21  7.51488e-07
  22  1.46847e-08
  23  4.05035
  24  5.55663e-06
  25  0.189467
  26  0.190855
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.476e+00  1.812e+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:  1.098e+00  1.909e-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.159e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.82
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.28e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.34e-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) = 9602.01024753
delta logL = 0.287397690505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9602.00530443
delta logL = 0.292340795291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9128       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7699       1.0000          .0000       10.000    
     3 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1282       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=   9602.005     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      249 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9128        13.734        .75138E-02    .84514E-03
   2  Index         2.7699        2.9130        .11134        .25032E-03
   3  Normalizat    1.1079        .64415E-01    .59075E-01    .15766E-04
   4  Prefactor     1.1282        .54522E-01    .63570E-01    .13450E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.91279
  Index      = 2.76992
  Normalizat = 1.10785
  Prefactor  = 1.12821
 **********
 **   18 **HESSE 
 **********

 FCN=   9602.005     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9128        1.9952        .66325E-04   -1.5431    
   2  Index         2.7699        .80747        .63035E-02   -.46231    
   3  Normalizat    1.1079        .18993        .26126E-03   -.89500    
   4  Prefactor     1.1282        .19466        .28117E-03   -.88570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25781e-08
Minuit parameter uncertainties:
  1  1.99531
  2  0.811918
  3  0.190042
  4  0.194782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99250': 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) = 9602.00530442
delta logL = 0.292340798675

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.913e+00  1.995e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.770e+00  8.119e-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:  1.128e+00  1.948e-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.108e+00  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.47
Ra Dec: 177.603 24.302
Photon Index (Free Index): 2.77 +/- 0.81
Photon Flux (Free Index): 8.46e-08 +/- 6.68e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.01e-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/99250/cmap_HighResolution_242179201_242438401_4FGL_J1150.4+2418_daily_bin11.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.28e-08', energy_flux2='1.93e-05', photon_flux_error='3.13e-08', dlogl='2.92e-01', energy_flux='1.83e-05', photon_flux2='8.46e-08', job_status='DONE', time_completed='2021-09-04 12:52:46.443521', photon_index_error2='0.81', photon_index2='2.77', ts='7.82', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='1.16', time_epoch_completed='1630785166.44', return_code='0', job_id='99250', GAL2='1.13', EG2='1.11', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='6.68e-08', ts2='8.47', photon_index='2.23' WHERE bin_id='11' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:52:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 99250: <4FGL_J1150.4+2418_daily_bin11> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin11> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 12:36:42 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:36:44 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:36:44 2021
Terminated at Sat Sep  4 12:52:47 2021
Results reported at Sat Sep  4 12:52:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin11 177.603 24.3016 242179201 242438401 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 :                                   832.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            965 sec.

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

