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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin602
RA = 177.603, Dec = 24.3016
tmin = 395366401, tmax = 395625601
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='102446', job_status='RUN', time_executed='2021-09-04 12:46:39.167029', time_epoch_executed='1630784799.17' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='602'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102446

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102446/ft1_4FGL_J1150.4+2418_daily_bin602.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits


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

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

Done.
real 5.27
user 4.86
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.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/102446/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin602.fits evtable="EVENTS" outfile="/scratch/kocevski/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits" evtable="EVENTS" scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits sctable="SC_DATA" outfile=/scratch/kocevski/102446/ltcube_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.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/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits
.....................!
real 12.48
user 12.05
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits evtable="EVENTS" scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits sctable="SC_DATA" expcube=/scratch/kocevski/102446/ltcube_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.fits outfile=/scratch/kocevski/102446/expmap_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.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/102446/ltcube_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.fits
.....................!
real 191.48
user 185.18
sys 4.51

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/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits outfile=/scratch/kocevski/102446/cmap_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits outfile=/scratch/kocevski/102446/cmap_HighResolution_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.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.60
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits evtable="EVENTS" scfile=/scratch/kocevski/102446/ft2_4FGL_J1150.4+2418_daily_bin602.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102446/Model_4FGL_J1150.4+2418_daily_bin602.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/102446/ft1_filtered_4FGL_J1150.4+2418_daily_bin602.fits....................!
real 56.48
user 54.82
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.065       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.337       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13522E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2497       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0002       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24949E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13716       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.9378       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7869       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7838       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10752E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3617       1.0000         .10000E-03   10000.    
    18 'norm      '    12.827       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .95573       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3947       1.0000         .10000E-03   10000.    
    22 'norm      '    1.5317       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.4650       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .63780       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3402       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=   6134.767     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     3272 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.065        5.3196        .19792E-06   -.68830E-04
   2  Prefactor     11.337        8.8914        .14199E-06    .29270E-04
   3  norm          .10000E-03    3.8267        .41298E-07** at limit **
   4  Prefactor     .10029E-03    8.2710       -.44951E-06** at limit **
   5  Prefactor     8.2446        16.744       -.18013E-05   -.10773E-03
   6  Prefactor     50.229        47.706        .26679E-06   -.54908E-05
   7  Prefactor     6.9985        11.487        .36921E-06   -.80066E-04
   8  Prefactor     .10002E-03    4.4048        .23128E-05** at limit **
   9  Prefactor     .10000E-03    12.790        .80937E-08** at limit **
  10  Prefactor     .10000E-03    5.7370       -.93487E-08** at limit **
  11  Prefactor     .13643        1.0743        .18442E-06   -.14646E-03
  12  Prefactor     .10000E-03    12.601       -.43133E-07** at limit **
  13  norm          2.9378        1.4860        .34201E-07   -.39160E-03
  14  Prefactor     4.7876        5.0462       -.14039E-06   -.31414E-03
  15  Prefactor     2.7943        56.878        .57607E-05   -.15253E-04
  16  Prefactor     .10000E-03    2.0121       -.33424E-06** at limit **
  17  Prefactor     5.3625        4.1360        .70620E-06   -.18367E-03
  18  norm          12.827        4.0693       -.72231E-07   -.15501E-03
  19  Prefactor     .10000E-03    1.2301        .12549E-07** at limit **
  20  Prefactor     .95584        1.9804        .56092E-07   -.23421E-04
  21  Prefactor     9.3947        5.5863        .25532E-07   -.32269E-04
  22  norm          1.5317        .35578       -.61856E-08   -.88154E-03
  23  norm          .10000E-03    1.6370       -.23096E-08** at limit **
  24  Prefactor     4.4652        7.9438        .25332E-05    .24465E-03
  25  Normalizat    .63779        .20279       -.17601E-05   -.36919E-03
  26  Prefactor     1.3402        .20508       -.32817E-07   -.36647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0655
  Prefactor  = 11.3367
  norm       = 0.0001
  Prefactor  = 0.000100293
  Prefactor  = 8.24463
  Prefactor  = 50.2292
  Prefactor  = 6.9985
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.136435
  Prefactor  = 0.0001
  norm       = 2.93783
  Prefactor  = 4.7876
  Prefactor  = 2.79426
  Prefactor  = 0.0001
  Prefactor  = 5.36253
  norm       = 12.8274
  Prefactor  = 0.0001
  Prefactor  = 0.955839
  Prefactor  = 9.39475
  norm       = 1.53167
  norm       = 0.0001
  Prefactor  = 4.46518
  Normalizat = 0.63779
  Prefactor  = 1.34016
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.767     FROM HESSE     STATUS=OK           474 CALLS     3746 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.065        5.3357        .10404E-03   -1.4958    
   2  Prefactor     11.337        8.8816        .11898E-03   -1.5034    
   3  norm          .10000E-03    3.8334        .14963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10029E-03    10.783        .71546E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2446        16.633        .13958E-03   -1.5134    
   6  Prefactor     50.229        47.701        .56585E-04   -1.4289    
   7  Prefactor     6.9985        11.431        .15163E-03   -1.5179    
   8  Prefactor     .10002E-03    14.009        .25492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13643        5.1939        .15178E-02   -1.5634    
  12  Prefactor     .10000E-03    12.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9378        1.4815        .63902E-04   -1.5365    
  14  Prefactor     4.7876        4.9731        .16497E-03   -1.5270    
  15  Prefactor     2.7943        56.873        .24388E-03   -1.5374    
  16  Prefactor     .10000E-03    6.6235        .19409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.3625        4.1618        .65957E-03   -1.5245    
  18  norm          12.827        4.0286        .83206E-04   -1.4992    
  19  Prefactor     .10000E-03    1.2432        .84542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95584        1.9026        .14630E-03   -1.5512    
  21  Prefactor     9.3947        5.5851        .13075E-03   -1.5095    
  22  norm          1.5317        .35584        .21452E-04   -1.5460    
  23  norm          .10000E-03    1.6683        .97839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.4652        7.9470        .95279E-03   -1.5285    
  25  Normalizat    .63779        .22966        .32478E-03   -1.0640    
  26  Prefactor     1.3402        .23875        .25853E-03   -.82121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9722e-08
Minuit parameter uncertainties:
  1  5.33591
  2  8.88266
  3  4.98538e-06
  4  0.0035545
  5  16.6428
  6  47.7375
  7  11.4343
  8  0.00108358
  9  1.07418e-05
  10  6.31144e-06
  11  1.68314
  12  3.35104e-05
  13  1.48151
  14  4.97351
  15  25.2396
  16  2.17759e-06
  17  4.16202
  18  4.02871
  19  5.19281e-07
  20  1.90274
  21  5.58546
  22  0.355836
  23  1.1374e-07
  24  7.94886
  25  0.230002
  26  0.238947
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.364e-01  1.683e+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.340e+00  2.389e-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:  6.378e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 8.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102446/likelihoodResults_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.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) = 6134.74983939
delta logL = 0.0169806761814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6134.73371521
delta logL = 0.0331048520438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42931       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7228       1.0000          .0000       10.000    
     3 'Normalizat'    .64020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3357       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6134.734     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      277 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42926        1.7243        .20177E-03    .18233E-03
   2  Index         1.7227        1.4160        .14187E-01    .24173E-04
   3  Normalizat    .64022        .21039        .32420E-03   -.44885E-04
   4  Prefactor     1.3356        .23644        .25886E-03   -.76733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.429263
  Index      = 1.72267
  Normalizat = 0.640215
  Prefactor  = 1.33564
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.734     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42926        1.7556        .80707E-05   -1.5577    
   2  Index         1.7227        1.4292        .56746E-03   -.71480    
   3  Normalizat    .64022        .21052        .12968E-04   -1.0630    
   4  Prefactor     1.3356        .23660        .51773E-04   -.82253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55537e-10
Minuit parameter uncertainties:
  1  1.7361
  2  1.46569
  3  0.210782
  4  0.236788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102446': 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) = 6134.7337152
delta logL = 0.0331048605058

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.293e-01  1.736e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.723e+00  1.466e+00  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.336e+00  2.368e-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:  6.402e-01  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 177.603 24.302

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/102446/cmap_HighResolution_395366401_395625601_4FGL_J1150.4+2418_daily_bin602.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.31e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-04 12:59:51.198526', job_id='102446', GAL2='1.34', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630785591.2', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='3.31e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='602' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:59:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 102446: <4FGL_J1150.4+2418_daily_bin602> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin602> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 12:46:29 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:46:31 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:46:31 2021
Terminated at Sat Sep  4 12:59:52 2021
Results reported at Sat Sep  4 12:59:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin602 177.603 24.3016 395366401 395625601 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 :                                   782.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

