/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 49 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 = 7475
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1125.9+2005_daily_bin51
RA = 171.491, Dec = 20.0912
tmin = 252547201, tmax = 252806401
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='778499', job_status='RUN', time_executed='2021-09-03 20:17:45.789518', time_epoch_executed='1630725465.79' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778499/ft1_4FGL_J1125.9+2005_daily_bin51.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778499/ft1_4FGL_J1125.9+2005_daily_bin51.fits outfile=/scratch/kocevski/778499/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin51.fits ra=171.491 dec=20.0912 rad=12.0 tmin=252547201.0 tmax=252806401.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.83
user 1.24
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.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/778499/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin51.fits evtable="EVENTS" outfile="/scratch/kocevski/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.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 1.37
user 0.37
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/778499/ltcube_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits outfile=/scratch/kocevski/778499/expmap_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.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/778499/ltcube_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits
.....................!
real 191.78
user 186.42
sys 4.16

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/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.fits scfile=/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits outfile=/scratch/kocevski/778499/cmap_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.fits scfile=/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits outfile=/scratch/kocevski/778499/cmap_HighResolution_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.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.73
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.fits', '/scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits', expMap='/scratch/kocevski/778499/expmap_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits', expCube='/scratch/kocevski/778499/ltcube_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/778499/Model_4FGL_J1125.9+2005_daily_bin51.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/778499/ft1_filtered_4FGL_J1125.9+2005_daily_bin51.fits
Spacecraft file(s): /scratch/kocevski/778499/ft2_4FGL_J1125.9+2005_daily_bin51.fits
Exposure map: /scratch/kocevski/778499/expmap_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits
Exposure cube: /scratch/kocevski/778499/ltcube_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/778499/Model_4FGL_J1125.9+2005_daily_bin51.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) = 7781.34042999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29875E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18059E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4039       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.276       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4319       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10835E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0707       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2507       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2340       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5768       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.464       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3393       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5385       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.1940       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.1738       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1400       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .83004       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.

 FCN=   7781.288     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2522 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9929       -.41620E-06** at limit **
   2  Prefactor     .10000E-03    .72365       -.21845E-06** at limit **
   3  Prefactor     8.4041        5.8925        .19727E-07    .82732E-05
   4  Prefactor     .10000E-03    2.2295       -.14877E-06** at limit **
   5  Prefactor     14.276        8.3692        .20473E-06    .15771E-03
   6  Prefactor     6.4293        8.6556        .16601E-06    .53470E-04
   7  Prefactor     .10000E-03    20.353       -.13871E-05** at limit **
   8  norm          1.0707        .81802        .44394E-07    .12816E-04
   9  Prefactor     .10000E-03    .90407       -.20283E-06** at limit **
  10  Prefactor     .10000E-03    5.0213       -.55220E-06** at limit **
  11  norm          .10000E-03    3.5679        .86103E-06** at limit **
  12  norm          2.2512        8.0244        .67306E-06    .11846E-04
  13  Prefactor     1.2305        11.018        .34896E-05    .67372E-05
  14  Prefactor     .10000E-03    7.0142       -.12130E-06** at limit **
  15  Prefactor     3.5532        61.305        .23482E-05    .19654E-04
  16  Prefactor     13.462        11.763       -.35638E-07    .19042E-04
  17  Prefactor     2.3382        18.707       -.44877E-06    .15050E-04
  18  Prefactor     4.5381        6.6626        .19952E-06    .24951E-04
  19  Prefactor     .10000E-03    .78359       -.28066E-06** at limit **
  20  norm          6.1939        1.8615        .18223E-07    .83196E-04
  21  Prefactor     5.1731        12.472       -.87189E-08    .28196E-05
  22  Prefactor     .10000E-03    1.3375       -.32037E-06** at limit **
  23  Prefactor     .10000E-03    1.0406       -.32689E-06** at limit **
  24  Normalizat    1.1400        .16299       -.83597E-06    .45620E-03
  25  Prefactor     .83002        .16660        .22053E-05    .10586E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.40405
  Prefactor  = 0.0001
  Prefactor  = 14.2764
  Prefactor  = 6.42932
  Prefactor  = 0.0001
  norm       = 1.07072
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.25118
  Prefactor  = 1.23049
  Prefactor  = 0.0001
  Prefactor  = 3.55322
  Prefactor  = 13.4624
  Prefactor  = 2.33824
  Prefactor  = 4.53815
  Prefactor  = 0.0001
  norm       = 6.19389
  Prefactor  = 5.17313
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14001
  Prefactor  = 0.830017
 **********
 **   18 **HESSE 
 **********

 FCN=   7781.288     FROM HESSE     STATUS=OK           433 CALLS     2955 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.102        .37580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6315        .14231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.4041        5.8975        .13829E-03   -1.5128    
   4  Prefactor     .10000E-03    2.2408        .12859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.276        8.3413        .10601E-03   -1.4952    
   6  Prefactor     6.4293        8.6335        .79128E-03   -1.5201    
   7  Prefactor     .10000E-03    21.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0707        .79677        .67131E-04   -1.5501    
   9  Prefactor     .10000E-03    .91712        .81781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.5406        .16155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2512        8.0337        .13694E-02   -1.5408    
  13  Prefactor     1.2305        11.071        .20220E-02   -1.5486    
  14  Prefactor     .10000E-03    7.0307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5532        61.436        .21368E-03   -1.5331    
  16  Prefactor     13.462        11.776        .10916E-03   -1.4974    
  17  Prefactor     2.3382        18.575        .26807E-03   -1.5402    
  18  Prefactor     4.5381        6.6523        .94485E-03   -1.5282    
  19  Prefactor     .10000E-03    .80699        .15255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.1939        1.8593        .63446E-04   -1.5210    
  21  Prefactor     5.1731        12.464        .17674E-03   -1.5253    
  22  Prefactor     .10000E-03    1.3605        .99809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.0699        .88064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1400        .18303        .22333E-03   -.88477    
  25  Prefactor     .83002        .18063        .26844E-03   -.98631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74346e-10
Minuit parameter uncertainties:
  1  0.000169121
  2  0.000139361
  3  5.89789
  4  3.79885e-06
  5  8.34199
  6  8.63518
  7  7.12944e-05
  8  0.796782
  9  1.5454e-06
  10  2.03125e-05
  11  1.6553e-05
  12  8.03755
  13  7.38317
  14  7.83573e-06
  15  29.5848
  16  11.7778
  17  13.1861
  18  6.65341
  19  2.09351e-06
  20  1.85929
  21  12.4704
  22  3.94568e-06
  23  2.91268e-06
  24  0.183131
  25  0.180764
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.230e+00  7.383e+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:  8.300e-01  1.808e-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.140e+00  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/778499/likelihoodResults_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.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) = 7781.25788426
delta logL = 0.0299457932724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7781.25699026
delta logL = 0.0308397934568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0696       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8136       1.0000          .0000       10.000    
     3 'Normalizat'    1.1329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83385       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=   7781.257     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      261 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0681        7.4429        .29678E-03    .37540E-05
   2  Index         2.8133        2.3507        .46711E-02    .24681E-04
   3  Normalizat    1.1330        .17609        .22396E-03   -.21320E-05
   4  Prefactor     .83383        .18114        .26790E-03   -.33101E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.06815
  Index      = 2.81334
  Normalizat = 1.13298
  Prefactor  = 0.833826
 **********
 **   18 **HESSE 
 **********

 FCN=   7781.257     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .54E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0681        6.1240        .11871E-04   -1.5501    
   2  Index         2.8133        2.1507        .93422E-03   -.45263    
   3  Normalizat    1.1330        .17627        .89583E-05   -.88700    
   4  Prefactor     .83383        .18124        .10716E-04   -.98493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38542e-14
Minuit parameter uncertainties:
  1  5.11576
  2  2.24256
  3  0.176361
  4  0.181374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778499': 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) = 7781.25698999
delta logL = 0.0308400581753

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.068e+00  5.116e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.813e+00  2.243e+00  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:  8.338e-01  1.814e-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.133e+00  1.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 171.491 20.091

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/778499/cmap_HighResolution_252547201_252806401_4FGL_J1125.9+2005_daily_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-09-03 20:31:32.604609', job_id='778499', GAL2='0.83', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630726292.6', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.08e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='51' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:31:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 778499: <4FGL_J1125.9+2005_daily_bin51> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin51> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 20:16:22 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:16:30 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:30 2021
Terminated at Fri Sep  3 20:31:34 2021
Results reported at Fri Sep  3 20:31:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin51 171.491 20.0912 252547201 252806401 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 :                                   822.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            912 sec.

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

