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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin52
RA = 171.491, Dec = 20.0912
tmin = 252806401, tmax = 253065601
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='778501', job_status='RUN', time_executed='2021-09-03 20:18:47.777693', time_epoch_executed='1630725527.78' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778501

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778501/ft1_4FGL_J1125.9+2005_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778501/ft1_4FGL_J1125.9+2005_daily_bin52.fits outfile=/scratch/kocevski/778501/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin52.fits ra=171.491 dec=20.0912 rad=12.0 tmin=252806401.0 tmax=253065601.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.78
user 1.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.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/778501/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/778501/ft1_filtered_4FGL_J1125.9+2005_daily_bin52.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.59
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778501/ft1_filtered_4FGL_J1125.9+2005_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/778501/ltcube_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.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/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits
.....................!
real 20.05
user 19.51
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778501/ft1_filtered_4FGL_J1125.9+2005_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/778501/ltcube_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.fits outfile=/scratch/kocevski/778501/expmap_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.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/778501/ltcube_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.fits
.....................!
real 194.03
user 187.58
sys 5.11

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/778501/ft1_filtered_4FGL_J1125.9+2005_daily_bin52.fits scfile=/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits outfile=/scratch/kocevski/778501/cmap_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778501/ft1_filtered_4FGL_J1125.9+2005_daily_bin52.fits scfile=/scratch/kocevski/778501/ft2_4FGL_J1125.9+2005_daily_bin52.fits outfile=/scratch/kocevski/778501/cmap_HighResolution_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.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.58
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49357       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5773       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9034       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3109       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.960       1.0000         .10000E-03   10000.    
     8 'norm      '    .11324       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1925       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0693       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8019       1.0000         .10000E-03   10000.    
    12 'norm      '    .14756E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.625       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1603       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.468       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.7192       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.671       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7884       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82258       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0900       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7044.706     FROM MIGRAD    STATUS=CONVERGED     72 CALLS     2452 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0384       -.73539E-05** at limit **
   2  Prefactor     .49343        1.2928       -.10684E-06    .12399E-03
   3  Prefactor     6.5794        1.0115        .29808E-06    .47565E-03
   4  Prefactor     5.9016        1.0055       -.43358E-07    .19153E-03
   5  Prefactor     2.3123        1.0267        .81340E-07    .62462E-04
   6  Prefactor     .10000E-03    10.226       -.18905E-04** at limit **
   7  Prefactor     15.960        1.0008        .17866E-07    .13883E-03
   8  norm          .11367        .74610        .25397E-06    .91610E-03
   9  Prefactor     1.1926        1.1381        .43066E-06    .36896E-03
  10  Prefactor     2.0703        1.0340        .18002E-06    .10087E-03
  11  norm          3.8025        1.0093       -.22014E-07    .83961E-04
  12  norm          .10000E-03    23.970       -.42398E-04** at limit **
  13  Prefactor     11.624        1.0094       -.25983E-06    .31423E-03
  14  Prefactor     9.1590        1.0051       -.18341E-06    .15363E-03
  15  Prefactor     .10000E-03    16.340        .42084E-04** at limit **
  16  Prefactor     .10000E-03    5.4728        .85291E-05** at limit **
  17  Prefactor     23.468        1.0136        .23639E-06   -.37624E-03
  18  Prefactor     .10000E-03    2.3955       -.67954E-06** at limit **
  19  Prefactor     .10000E-03    .94222        .53652E-08** at limit **
  20  norm          4.7193        1.8198       -.88351E-07   -.27818E-04
  21  Prefactor     10.671        1.0135       -.34456E-06    .32391E-03
  22  Prefactor     .10000E-03    1.4525        .44793E-06** at limit **
  23  Prefactor     2.7886        2.1351       -.15829E-06   -.12790E-03
  24  Normalizat    .82245        .17651        .27112E-05    .72082E-03
  25  Prefactor     1.0902        .18933       -.10509E-05    .76964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.493431
  Prefactor  = 6.57939
  Prefactor  = 5.90159
  Prefactor  = 2.31226
  Prefactor  = 0.000100001
  Prefactor  = 15.9602
  norm       = 0.113669
  Prefactor  = 1.19257
  Prefactor  = 2.07034
  norm       = 3.80255
  norm       = 0.000100001
  Prefactor  = 11.6245
  Prefactor  = 9.15896
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 23.4683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.71932
  Prefactor  = 10.671
  Prefactor  = 0.0001
  Prefactor  = 2.78857
  Normalizat = 0.822447
  Prefactor  = 1.09019
 **********
 **   18 **HESSE 
 **********

 FCN=   7044.706     FROM HESSE     STATUS=OK           493 CALLS     2945 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9317        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .49343        1.3291        .11245E-01   -1.5567    
   3  Prefactor     6.5794        6.6670        .39119E-02   -1.5195    
   4  Prefactor     5.9016        6.9768        .41320E-02   -1.5222    
   5  Prefactor     2.3123        5.7039        .67473E-02   -1.5404    
   6  Prefactor     .10000E-03    9.9072        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.960        12.072        .25064E-02   -1.4909    
   8  norm          .11367        .47966        .21855E-01   -1.5641    
   9  Prefactor     1.1926        1.1390        .10421E-02   -1.5490    
  10  Prefactor     2.0703        6.6193        .71797E-02   -1.5420    
  11  norm          3.8025        5.5583        .51754E-02   -1.5318    
  12  norm          .10000E-03    4.7586        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.624        12.542        .29374E-02   -1.5026    
  14  Prefactor     9.1590        12.833        .33105E-02   -1.5103    
  15  Prefactor     .10000E-03    16.333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4466        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.468        17.519        .20671E-02   -1.4739    
  18  Prefactor     .10000E-03    2.3917        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .61572        .35072E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.7193        1.8484        .46308E-02   -1.5273    
  21  Prefactor     10.671        14.620        .30662E-02   -1.5055    
  22  Prefactor     .10000E-03    1.4287        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7886        2.1411        .60916E-02   -1.5374    
  24  Normalizat    .82245        .16642        .43904E-01   -.99241    
  25  Prefactor     1.0902        .16588        .37978E-01   -.89781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37487e-09
Minuit parameter uncertainties:
  1  1.36864e-05
  2  1.32914
  3  6.66773
  4  6.97771
  5  5.70528
  6  0.000171621
  7  12.074
  8  0.466801
  9  1.13898
  10  6.62168
  11  5.55908
  12  0.0001058
  13  12.5452
  14  12.8372
  15  0.00021252
  16  1.71661e-05
  17  17.523
  18  3.56353e-05
  19  9.74131e-06
  20  1.8484
  21  14.6244
  22  1.54581e-05
  23  2.14114
  24  0.16652
  25  0.165954
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.162e+01  1.255e+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.090e+00  1.660e-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:  8.224e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 3.23e-08 +/- 3.48e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/778501/likelihoodResults_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.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) = 7044.51624791
delta logL = 0.190101163023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7044.49710275
delta logL = 0.209246320304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3088       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7551       1.0000          .0000       10.000    
     3 'Normalizat'    .79873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1078       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=   7044.497     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3057        17.091        .15981E-03   -.26513E-03
   2  Index         2.7552        1.3464        .62665E-02   -.76325E-04
   3  Normalizat    .79874        .18378        .25656E-03    .24522E-03
   4  Prefactor     1.1078        .19354        .23676E-03    .13212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30568
  Index      = 2.75523
  Normalizat = 0.798741
  Prefactor  = 1.10778
 **********
 **   18 **HESSE 
 **********

 FCN=   7044.497     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3057        11.233        .63924E-05   -1.5206    
   2  Index         2.7552        .89071        .25066E-03   -.46560    
   3  Normalizat    .79874        .18225        .10263E-04   -1.0012    
   4  Prefactor     1.1078        .19149        .47351E-04   -.89218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-10
Minuit parameter uncertainties:
  1  11.2368
  2  0.896715
  3  0.182392
  4  0.191611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778501': 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) = 7044.49710268
delta logL = 0.209246392816

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.306e+00  1.124e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.755e+00  8.967e-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.108e+00  1.916e-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:  7.987e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 171.491 20.091
Photon Index (Free Index): 2.76 +/- 0.90
Photon Flux (Free Index): 4.73e-08 +/- 4.36e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.04e-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/778501/cmap_HighResolution_252806401_253065601_4FGL_J1125.9+2005_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='1.09e-05', photon_flux_error='3.48e-08', dlogl='2.09e-01', energy_flux='1.35e-05', photon_flux2='4.73e-08', job_status='DONE', time_completed='2021-09-03 20:31:57.034671', photon_index_error2='0.90', photon_index2='2.76', ts='1.21', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.92e-08', energy_flux_error2='1.04e-05', EG='0.82', time_epoch_completed='1630726317.03', return_code='0', job_id='778501', GAL2='1.11', EG2='0.80', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.36e-08', ts2='1.66', photon_index='2.24' WHERE bin_id='52' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:31:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 778501: <4FGL_J1125.9+2005_daily_bin52> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin52> 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) <bullet0117>, 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:57 2021
Results reported at Fri Sep  3 20:31:57 2021

Your job looked like:

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

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

