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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1505
RA = 171.491, Dec = 20.0912
tmin = 629424001, tmax = 629683201
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='786238', job_status='RUN', time_executed='2021-09-03 20:42:58.851868', time_epoch_executed='1630726978.85' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786238

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786238/ft1_4FGL_J1125.9+2005_daily_bin1505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786238/ft2_4FGL_J1125.9+2005_daily_bin1505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786238/ft1_4FGL_J1125.9+2005_daily_bin1505.fits outfile=/scratch/kocevski/786238/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1505.fits ra=171.491 dec=20.0912 rad=12.0 tmin=629424001.0 tmax=629683201.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.60
user 3.31
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786238/ft1_filtered_4FGL_J1125.9+2005_daily_bin1505.fits evtable="EVENTS" scfile=/scratch/kocevski/786238/ft2_4FGL_J1125.9+2005_daily_bin1505.fits sctable="SC_DATA" expcube=/scratch/kocevski/786238/ltcube_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.fits outfile=/scratch/kocevski/786238/expmap_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.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/786238/ltcube_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.fits
.....................!
real 192.48
user 186.99
sys 4.67

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/786238/ft1_filtered_4FGL_J1125.9+2005_daily_bin1505.fits scfile=/scratch/kocevski/786238/ft2_4FGL_J1125.9+2005_daily_bin1505.fits outfile=/scratch/kocevski/786238/cmap_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786238/ft1_filtered_4FGL_J1125.9+2005_daily_bin1505.fits scfile=/scratch/kocevski/786238/ft2_4FGL_J1125.9+2005_daily_bin1505.fits outfile=/scratch/kocevski/786238/cmap_HighResolution_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.278       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4398       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.315       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.680       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9842       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6221       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .48141       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4809       1.0000         .10000E-03   10000.    
    11 'norm      '    9.9050       1.0000         .10000E-03   10000.    
    12 'norm      '    .94675       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2365       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4835       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.445       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.5432       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .58896E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .64981       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0306       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=   5795.186     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2459 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.278        10.870       -.12008E-05   -.34598E-04
   2  Prefactor     4.4400        2.7312        .71273E-06   -.98079E-04
   3  Prefactor     32.315        9.5733       -.21810E-06    .31179E-04
   4  Prefactor     15.683        12.673        .49723E-05    .46310E-04
   5  Prefactor     8.9789        12.227       -.65620E-05   -.51847E-04
   6  Prefactor     2.6222        4.5954       -.14035E-05   -.25410E-03
   7  Prefactor     .10000E-03    7.8589       -.20021E-05** at limit **
   8  norm          .48149        1.3104       -.24138E-06   -.15159E-02
   9  Prefactor     .10000E-03    .53168        .36480E-07** at limit **
  10  Prefactor     9.4811        5.7569        .16229E-07    .10173E-05
  11  norm          9.9049        9.3736       -.16923E-06   -.31994E-04
  12  norm          .94560        6.0224       -.10278E-05    .15346E-05
  13  Prefactor     6.1031        6.8589       -.26617E-07   -.39429E-04
  14  Prefactor     8.2379        9.1537        .66918E-06    .29054E-05
  15  Prefactor     7.4824        28.725       -.36681E-05   -.23407E-04
  16  Prefactor     .10000E-03    5.6287        .56699E-06** at limit **
  17  Prefactor     13.447        13.558        .20372E-05   -.23291E-04
  18  Prefactor     .10000E-03    11.331        .13202E-04** at limit **
  19  Prefactor     .10000E-03    .45001       -.19538E-07** at limit **
  20  norm          4.5433        1.6496       -.12858E-06    .53551E-04
  21  Prefactor     .10000E-03    12.505       -.10980E-04** at limit **
  22  Prefactor     .10001E-03    1.4067        .16143E-06** at limit **
  23  Prefactor     .10000E-03    .60164        .97470E-07** at limit **
  24  Normalizat    .64971        .17384       -.64276E-06   -.27518E-04
  25  Prefactor     1.0308        .17306        .11811E-06   -.98157E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2778
  Prefactor  = 4.44004
  Prefactor  = 32.3152
  Prefactor  = 15.6828
  Prefactor  = 8.97889
  Prefactor  = 2.62225
  Prefactor  = 0.0001
  norm       = 0.481489
  Prefactor  = 0.0001
  Prefactor  = 9.48107
  norm       = 9.90495
  norm       = 0.945597
  Prefactor  = 6.10305
  Prefactor  = 8.23792
  Prefactor  = 7.48243
  Prefactor  = 0.0001
  Prefactor  = 13.4472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.54329
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Normalizat = 0.649708
  Prefactor  = 1.03076
 **********
 **   18 **HESSE 
 **********

 FCN=   5795.186     FROM HESSE     STATUS=OK           439 CALLS     2898 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.278        10.857        .10992E-03   -1.4979    
   2  Prefactor     4.4400        2.7216        .91258E-04   -1.5287    
   3  Prefactor     32.315        9.5351        .70488E-04   -1.4570    
   4  Prefactor     15.683        12.640        .10115E-03   -1.4916    
   5  Prefactor     8.9789        12.214        .13372E-03   -1.5109    
   6  Prefactor     2.6222        4.5911        .21112E-03   -1.5384    
   7  Prefactor     .10000E-03    7.8881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .48149        1.3044        .13339E-03   -1.5569    
   9  Prefactor     .10000E-03    .53354        .54196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4811        5.7556        .13015E-03   -1.5092    
  11  norm          9.9049        9.3453        .12732E-03   -1.5078    
  12  norm          .94560        25.774        .34354E-02   -1.5513    
  13  Prefactor     6.1031        6.8611        .16252E-03   -1.5214    
  14  Prefactor     8.2379        9.1485        .13969E-03   -1.5134    
  15  Prefactor     7.4824        28.743        .14661E-03   -1.5161    
  16  Prefactor     .10000E-03    5.6524        .17633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.447        13.566        .10924E-03   -1.4974    
  18  Prefactor     .10000E-03    11.385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .46315        .99648E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.5433        1.6509        .56796E-04   -1.5282    
  21  Prefactor     .10000E-03    12.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    11.078        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .60513        .57646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .64971        .20085        .26691E-03   -1.0591    
  25  Prefactor     1.0308        .20150        .23405E-03   -.91711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69699e-09
Minuit parameter uncertainties:
  1  10.8585
  2  2.72166
  3  9.53559
  4  12.6421
  5  12.2179
  6  4.5917
  7  2.16777e-05
  8  1.30446
  9  7.9894e-07
  10  5.75596
  11  9.34667
  12  9.8778
  13  6.86195
  14  9.15009
  15  28.796
  16  3.95127e-06
  17  13.569
  18  0.000114342
  19  1.5316e-06
  20  1.65088
  21  3.0148e-05
  22  0.000618935
  23  1.63682e-07
  24  0.201074
  25  0.201652
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.103e+00  6.862e+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:  1.031e+00  2.017e-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:  6.497e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.94
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.69e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 7.06e-06 +/- 7.94e-06

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

Saving results to:
/scratch/kocevski/786238/likelihoodResults_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.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) = 5795.04685697
delta logL = 0.139256126353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5795.03980981
delta logL = 0.146303282734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2609       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7386       1.0000          .0000       10.000    
     3 'Normalizat'    .66115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0235       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=   5795.040     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2622        8.2839        .14885E-03    .29022E-05
   2  Index         1.7388        .82906        .61930E-01   -.23592E-04
   3  Normalizat    .66122        .18310        .26466E-03    .11126E-04
   4  Prefactor     1.0235        .19920        .23474E-03   -.16176E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.26223
  Index      = 1.73875
  Normalizat = 0.661218
  Prefactor  = 1.02352
 **********
 **   18 **HESSE 
 **********

 FCN=   5795.040     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2622        8.2684        .59542E-05   -1.5169    
   2  Index         1.7388        .83492        .16195E-02   -.71055    
   3  Normalizat    .66122        .18299        .10586E-04   -1.0544    
   4  Prefactor     1.0235        .19927        .93896E-05   -.91950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33465e-12
Minuit parameter uncertainties:
  1  8.26974
  2  0.841824
  3  0.183162
  4  0.199416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786238': 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) = 5795.03980937
delta logL = 0.146303722175

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  7.262e+00  8.270e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  1.739e+00  8.418e-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.024e+00  1.994e-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:  6.612e-01  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.23
Ra Dec: 171.491 20.091
Photon Index (Free Index): 1.74 +/- 0.84
Photon Flux (Free Index): 9.08e-09 +/- 1.49e-08
Energy Flux (Free Index): 1.31e-05 +/- 2.42e-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/786238/cmap_HighResolution_629424001_629683201_4FGL_J1125.9+2005_daily_bin1505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', comment='SUCCESS', photon_flux='1.69e-08', energy_flux2='1.31e-05', photon_flux_error='1.90e-08', dlogl='1.46e-01', energy_flux='7.06e-06', photon_flux2='9.08e-09', job_status='DONE', time_completed='2021-09-03 20:56:04.057799', photon_index_error2='0.84', photon_index2='1.74', ts='1.94', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.25e-08', energy_flux_error2='2.42e-05', EG='0.65', time_epoch_completed='1630727764.06', return_code='0', job_id='786238', GAL2='1.02', EG2='0.66', return_code2='0', energy_flux_error='7.94e-06', photon_flux_error2='1.49e-08', ts2='2.23', photon_index='2.24' WHERE bin_id='1505' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:56:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 786238: <4FGL_J1125.9+2005_daily_bin1505> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1505> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 20:41:37 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:41:46 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:41:46 2021
Terminated at Fri Sep  3 20:56:04 2021
Results reported at Fri Sep  3 20:56:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1505 171.491 20.0912 629424001 629683201 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 :                                   694.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            867 sec.

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

