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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin88
RA = 171.491, Dec = 20.0912
tmin = 262137601, tmax = 262396801
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='778557', job_status='RUN', time_executed='2021-09-03 20:16:58.935535', time_epoch_executed='1630725418.94' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778557/ft1_4FGL_J1125.9+2005_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778557/ft1_4FGL_J1125.9+2005_daily_bin88.fits outfile=/scratch/kocevski/778557/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin88.fits ra=171.491 dec=20.0912 rad=12.0 tmin=262137601.0 tmax=262396801.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.24
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.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/778557/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin88.fits evtable="EVENTS" outfile="/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.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.63
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits" evtable="EVENTS" scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits sctable="SC_DATA" outfile=/scratch/kocevski/778557/ltcube_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.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/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits
.....................!
real 18.17
user 17.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/778557/ltcube_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits outfile=/scratch/kocevski/778557/expmap_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.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/778557/ltcube_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits
.....................!
real 193.13
user 186.49
sys 4.59

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1125.9+2005 @ 171.491 20.0912

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits outfile=/scratch/kocevski/778557/cmap_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.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=171.491 yref=20.0912 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits outfile=/scratch/kocevski/778557/cmap_HighResolution_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.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=171.491 yref=20.0912 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/778557/Model_4FGL_J1125.9+2005_daily_bin88.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/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits.....................!
real 68.45
user 67.00
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits', '/scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits', expMap='/scratch/kocevski/778557/expmap_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits', expCube='/scratch/kocevski/778557/ltcube_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/778557/Model_4FGL_J1125.9+2005_daily_bin88.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.9+2005'

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/778557/ft1_filtered_4FGL_J1125.9+2005_daily_bin88.fits
Spacecraft file(s): /scratch/kocevski/778557/ft2_4FGL_J1125.9+2005_daily_bin88.fits
Exposure map: /scratch/kocevski/778557/expmap_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits
Exposure cube: /scratch/kocevski/778557/ltcube_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/778557/Model_4FGL_J1125.9+2005_daily_bin88.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) = 7365.17533177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9585       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .37356       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.2887       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.194       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.748       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28184E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6991       1.0000         .10000E-03   10000.    
    20 'norm      '    7.5308       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.3717       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.3808       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3148       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69551       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7365.168     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2930 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7897         .0000    ** at limit **
   2  Prefactor     1.9583        1.8541         .0000        .48907E-03
   3  Prefactor     .10000E-03    1.9931         .0000    ** at limit **
   4  Prefactor     .10000E-03    3.7633         .0000    ** at limit **
   5  Prefactor     .10000E-03    4.9155         .0000    ** at limit **
   6  Prefactor     .10000E-03    5.1767         .0000    ** at limit **
   7  Prefactor     .10000E-03    3.0745         .0000    ** at limit **
   8  norm          .37295        1.1120         .0000        .15751E-02
   9  Prefactor     .10000E-03    1.3382         .0000    ** at limit **
  10  Prefactor     .10000E-03    3.5139         .0000    ** at limit **
  11  norm          .10001E-03    4.7093         .0000    ** at limit **
  12  norm          6.2889        7.3987         .0000        .11966E-03
  13  Prefactor     10.194        9.7283         .0000       -.29021E-03
  14  Prefactor     .10000E-03    8.4340         .0000    ** at limit **
  15  Prefactor     69.750        36.328         .0000        .40708E-03
  16  Prefactor     .10000E-03    5.1513         .0000    ** at limit **
  17  Prefactor     .10000E-03    14.445         .0000    ** at limit **
  18  Prefactor     .10000E-03    6.1128         .0000    ** at limit **
  19  Prefactor     2.6990        1.8075         .0000        .15879E-03
  20  norm          7.5306        2.3605         .0000       -.47901E-04
  21  Prefactor     .10000E-03    10.309         .0000    ** at limit **
  22  Prefactor     2.3726        3.3638         .0000        .16706E-01
  23  Prefactor     3.3808        2.2344         .0000        .20046E-03
  24  Normalizat    1.3147        .16214         .0000       -.19994E-04
  25  Prefactor     .69556        .15757         .0000        .20236E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.95827
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.372952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100005
  norm       = 6.28892
  Prefactor  = 10.1941
  Prefactor  = 0.000100001
  Prefactor  = 69.7502
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 2.69898
  norm       = 7.53063
  Prefactor  = 0.0001
  Prefactor  = 2.37264
  Prefactor  = 3.38082
  Normalizat = 1.3147
  Prefactor  = 0.69556
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.168     FROM HESSE     STATUS=OK           433 CALLS     3363 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9583        1.8418        .10919E-03   -1.5428    
   3  Prefactor     .10000E-03    2.0028        .11828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8085        .16248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0782        .14695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .37295        1.3875        .14109E-02   -1.5586    
   9  Prefactor     .10000E-03    1.4007        .19372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5853        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    4.7321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.2889        7.4026        .16007E-03   -1.5206    
  13  Prefactor     10.194        9.7304        .12550E-03   -1.5069    
  14  Prefactor     .10000E-03    8.4844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     69.750        36.387        .48065E-04   -1.4036    
  16  Prefactor     .10000E-03    5.1731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.436        .87516E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6990        1.8054        .87961E-04   -1.5379    
  20  norm          7.5306        2.3608        .70243E-04   -1.5159    
  21  Prefactor     .10000E-03    10.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.3726        3.3424        .88822E-03   -1.5400    
  23  Prefactor     3.3808        2.2303        .10039E-03   -1.5340    
  24  Normalizat    1.3147        .18918        .22100E-03   -.83129    
  25  Prefactor     .69556        .18271        .30124E-03   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48765e-08
Minuit parameter uncertainties:
  1  0.000136923
  2  1.84183
  3  6.32041e-07
  4  0.000138873
  5  4.19874e-05
  6  0.000234944
  7  5.48829e-06
  8  1.38761
  9  6.35559e-07
  10  8.09374e-05
  11  0.000309532
  12  7.40373
  13  9.73188
  14  0.000142261
  15  36.3986
  16  0.000180851
  17  0.000114388
  18  0.000338778
  19  1.80545
  20  2.36082
  21  7.40301e-05
  22  3.34264
  23  2.23036
  24  0.189282
  25  0.182867
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.019e+01  9.732e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  6.956e-01  1.829e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.315e+00  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.83e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.13e-05

TS (Fixed Index): 1.54
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 8.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/778557/likelihoodResults_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.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) = 7365.16281649
delta logL = 0.00479670060577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7365.15929395
delta logL = 0.00831924551403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.203       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1396       1.0000          .0000       10.000    
     3 'Normalizat'    1.3186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69257       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   7365.159     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      256 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.205        13.513        .11969E-03    .56989E-05
   2  Index         2.1395        .81167        .98472E-02    .32439E-03
   3  Normalizat    1.3187        .17975        .22072E-03   -.17689E-03
   4  Prefactor     .69252        .18291        .30182E-03   -.94318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2046
  Index      = 2.13947
  Normalizat = 1.31865
  Prefactor  = 0.692522
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.159     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.205        12.847        .47878E-05   -1.5038    
   2  Index         2.1395        .77173        .19694E-02   -.60907    
   3  Normalizat    1.3187        .17954        .44144E-04   -.83011    
   4  Prefactor     .69252        .18277        .12073E-04   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75668e-11
Minuit parameter uncertainties:
  1  12.8501
  2  0.776362
  3  0.179624
  4  0.182931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778557': 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) = 7365.15929389
delta logL = 0.00831930800632

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.120e+01  1.285e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.139e+00  7.764e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  6.925e-01  1.829e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.319e+00  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 171.491 20.091
Photon Index (Free Index): 2.14 +/- 0.78
Photon Flux (Free Index): 2.60e-08 +/- 3.11e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.69e-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/778557/cmap_HighResolution_262137601_262396801_4FGL_J1125.9+2005_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', comment='SUCCESS', photon_flux='2.83e-08', energy_flux2='1.31e-05', photon_flux_error='2.70e-08', dlogl='8.32e-03', energy_flux='1.18e-05', photon_flux2='2.60e-08', job_status='DONE', time_completed='2021-09-03 20:31:00.985862', photon_index_error2='0.78', photon_index2='2.14', ts='1.54', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='8.79e-08', energy_flux_error2='1.69e-05', EG='1.31', time_epoch_completed='1630726260.99', return_code='0', job_id='778557', GAL2='0.69', EG2='1.32', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='3.11e-08', ts2='1.55', photon_index='2.24' WHERE bin_id='88' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:31:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 778557: <4FGL_J1125.9+2005_daily_bin88> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin88> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 20:16:27 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:16:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 20:16:36 2021
Terminated at Fri Sep  3 20:31:01 2021
Results reported at Fri Sep  3 20:31:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin88 171.491 20.0912 262137601 262396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.9+2005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   838.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            874 sec.

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

