/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 174 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1125.9+2005_daily_bin307
RA = 171.491, Dec = 20.0912
tmin = 318902401, tmax = 319161601
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='780065', job_status='RUN', time_executed='2021-09-03 20:24:38.602126', time_epoch_executed='1630725878.6' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/780065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/780065/ft1_4FGL_J1125.9+2005_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/780065/ft1_4FGL_J1125.9+2005_daily_bin307.fits outfile=/scratch/kocevski/780065/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin307.fits ra=171.491 dec=20.0912 rad=12.0 tmin=318902401.0 tmax=319161601.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 3.55
user 3.21
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/780065/ft1_filtered_4FGL_J1125.9+2005_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/780065/ltcube_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.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/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits
.....................!
real 14.85
user 14.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/780065/ft1_filtered_4FGL_J1125.9+2005_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/780065/ltcube_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.fits outfile=/scratch/kocevski/780065/expmap_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.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/780065/ltcube_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.fits
.....................!
real 191.74
user 186.48
sys 4.58

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/780065/ft1_filtered_4FGL_J1125.9+2005_daily_bin307.fits scfile=/scratch/kocevski/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits outfile=/scratch/kocevski/780065/cmap_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/780065/ft1_filtered_4FGL_J1125.9+2005_daily_bin307.fits scfile=/scratch/kocevski/780065/ft2_4FGL_J1125.9+2005_daily_bin307.fits outfile=/scratch/kocevski/780065/cmap_HighResolution_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4333       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9855       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.245       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10979E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20183E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0253       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3159       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1282       1.0000         .10000E-03   10000.    
    11 'norm      '    17.940       1.0000         .10000E-03   10000.    
    12 'norm      '    .10480E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.219       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.152       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2821       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.643       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3763       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0869       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5319       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6298       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.6678       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .48677       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5667       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=   5849.786     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2915 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4234        12.316        .27769E-05   -.57121E-03
   2  Prefactor     1.9853        2.1809       -.53852E-06   -.48977E-03
   3  Prefactor     .10000E-03    3.0532        .25380E-08** at limit **
   4  Prefactor     .10000E-03    5.1909       -.16947E-06** at limit **
   5  Prefactor     12.243        10.009       -.10997E-05   -.21666E-04
   6  Prefactor     .10000E-03    18.041       -.47795E-05** at limit **
   7  Prefactor     .10000E-03    10.072       -.32346E-06** at limit **
   8  norm          3.0250        1.5673        .17831E-07   -.43538E-04
   9  Prefactor     4.3171        2.6592       -.58401E-06   -.21186E-02
  10  Prefactor     4.1278        4.7305        .10796E-05   -.11685E-03
  11  norm          17.957        12.168       -.77760E-05    .65797E-05
  12  norm          .10000E-03    16.741        .29160E-05** at limit **
  13  Prefactor     24.221        11.975       -.12116E-05    .17587E-04
  14  Prefactor     13.150        15.559       -.98003E-05   -.57043E-04
  15  Prefactor     9.1397        35.765       -.11726E-04    .62885E-05
  16  Prefactor     4.3857        11.109        .41654E-05   -.74434E-04
  17  Prefactor     13.638        17.326        .12597E-05   -.36035E-05
  18  Prefactor     .10000E-03    3.1163        .12391E-07** at limit **
  19  Prefactor     1.3761        1.6545       -.56846E-06   -.79807E-03
  20  norm          2.0869        1.4054       -.17507E-06   -.76188E-04
  21  Prefactor     9.5364        18.556       -.17755E-04   -.21919E-04
  22  Prefactor     2.6301        2.9944       -.25425E-06   -.12489E-03
  23  Prefactor     1.6680        2.6956       -.62634E-06   -.74016E-03
  24  Normalizat    .48682        .19314        .63704E-05    .58726E-04
  25  Prefactor     1.5667        .20357        .13168E-05    .17678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42343
  Prefactor  = 1.98529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.02502
  Prefactor  = 4.31705
  Prefactor  = 4.12777
  norm       = 17.9575
  norm       = 0.000100001
  Prefactor  = 24.221
  Prefactor  = 13.15
  Prefactor  = 9.13966
  Prefactor  = 4.38572
  Prefactor  = 13.6383
  Prefactor  = 0.0001
  Prefactor  = 1.37607
  norm       = 2.08686
  Prefactor  = 9.53643
  Prefactor  = 2.63006
  Prefactor  = 1.66799
  Normalizat = 0.486823
  Prefactor  = 1.56673
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.786     FROM HESSE     STATUS=OK           439 CALLS     3354 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4234        11.903        .36070E-03   -1.5469    
   2  Prefactor     1.9853        2.1382        .10869E-03   -1.5426    
   3  Prefactor     .10000E-03    3.0728        .13048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2316        .16976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.243        9.9739        .11447E-03   -1.5008    
   6  Prefactor     .10000E-03    18.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0250        1.5637        .65787E-04   -1.5360    
   9  Prefactor     4.3171        2.6745        .47017E-03   -1.5292    
  10  Prefactor     4.1278        4.7191        .17248E-03   -1.5302    
  11  norm          17.957        12.160        .94559E-04   -1.4860    
  12  norm          .10000E-03    17.191        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.221        11.978        .81396E-04   -1.4723    
  14  Prefactor     13.150        15.470        .11045E-03   -1.4983    
  15  Prefactor     9.1397        35.752        .13154E-03   -1.5103    
  16  Prefactor     4.3857        11.004        .19208E-03   -1.5289    
  17  Prefactor     13.638        17.219        .10844E-03   -1.4969    
  18  Prefactor     .10000E-03    3.1202        .13185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3761        1.6231        .99952E-04   -1.5473    
  20  norm          2.0869        1.4038        .71538E-04   -1.5419    
  21  Prefactor     9.5364        18.603        .12980E-03   -1.5090    
  22  Prefactor     2.6301        2.9769        .13411E-03   -1.5384    
  23  Prefactor     1.6680        2.6749        .15138E-03   -1.5450    
  24  Normalizat    .48682        .21249        .34090E-03   -1.1303    
  25  Prefactor     1.5667        .22843        .22931E-03   -.75688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98543e-09
Minuit parameter uncertainties:
  1  8.23443
  2  2.13824
  3  1.56502e-05
  4  2.65059e-05
  5  9.97523
  6  2.935e-05
  7  3.81299e-05
  8  1.56375
  9  2.6746
  10  4.71956
  11  12.1614
  12  0.000196079
  13  11.9794
  14  15.4751
  15  35.8364
  16  11.0091
  17  17.2252
  18  3.26878e-06
  19  1.62311
  20  1.40386
  21  18.6144
  22  2.9771
  23  2.67506
  24  0.212841
  25  0.228579
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.422e+01  1.198e+01  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:  1.567e+00  2.286e-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:  4.868e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.54
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.72e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.39e-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) = 5848.42632913
delta logL = 1.35956440974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5848.42620668
delta logL = 1.35968685778

Fit tolerance = 1e-08

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

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

 FCN=   5848.426     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      244 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.648        24.840        .16538E-02    .26810E-05
   2  Index         1.6613        .39974        .14391       -.12640E-05
   3  Normalizat    .52458        .17638        .74242E-01    .14926E-04
   4  Prefactor     1.5397        .20075        .52207E-01   -.71355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.6482
  Index      = 1.66128
  Normalizat = 0.524585
  Prefactor  = 1.53966
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.426     FROM HESSE     STATUS=OK            29 CALLS      273 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.648        18.423        .66152E-04   -1.4496    
   2  Index         1.6613        .31993        .58536E-02   -.73117    
   3  Normalizat    .52458        .19715        .32870E-03   -1.1129    
   4  Prefactor     1.5397        .22625        .23079E-03   -.76435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62759e-12
Minuit parameter uncertainties:
  1  18.4257
  2  0.32032
  3  0.197415
  4  0.226401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/780065': 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) = 5848.42619999
delta logL = 1.35969355558

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.665e+01  1.843e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  1.661e+00  3.203e-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:  1.540e+00  2.264e-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:  5.246e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.25
Ra Dec: 171.491 20.091
Photon Index (Free Index): 1.66 +/- 0.32
Photon Flux (Free Index): 4.16e-08 +/- 2.57e-08
Energy Flux (Free Index): 7.70e-05 +/- 6.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/780065/cmap_HighResolution_318902401_319161601_4FGL_J1125.9+2005_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.72e-08', energy_flux2='7.70e-05', photon_flux_error='3.32e-08', dlogl='1.36e+00', energy_flux='2.80e-05', photon_flux2='4.16e-08', job_status='DONE', time_completed='2021-09-03 20:35:36.208790', photon_index_error2='0.32', photon_index2='1.66', ts='15.54', fit_tolerance='1e-08', GAL='1.57', photon_index_error='0.00', energy_flux_error2='6.52e-05', EG='0.49', time_epoch_completed='1630726536.21', return_code='0', job_id='780065', GAL2='1.54', EG2='0.52', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='2.57e-08', ts2='18.25', photon_index='2.24' WHERE bin_id='307' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:35:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 780065: <4FGL_J1125.9+2005_daily_bin307> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin307> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 20:21:07 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:21:35 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:21:35 2021
Terminated at Fri Sep  3 20:35:37 2021
Results reported at Fri Sep  3 20:35:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin307 171.491 20.0912 318902401 319161601 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 :                                   655.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            870 sec.

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

