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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1241
RA = 171.491, Dec = 20.0912
tmin = 560995201, tmax = 561254401
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='784737', job_status='RUN', time_executed='2021-09-03 20:40:08.279569', time_epoch_executed='1630726808.28' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784737/ft1_4FGL_J1125.9+2005_daily_bin1241.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784737/ft1_4FGL_J1125.9+2005_daily_bin1241.fits outfile=/scratch/kocevski/784737/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1241.fits ra=171.491 dec=20.0912 rad=12.0 tmin=560995201.0 tmax=561254401.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.78
user 3.50
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits" evtable="EVENTS" scfile=/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits sctable="SC_DATA" outfile=/scratch/kocevski/784737/ltcube_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.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/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits
.....................!
real 15.18
user 14.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits evtable="EVENTS" scfile=/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits sctable="SC_DATA" expcube=/scratch/kocevski/784737/ltcube_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits outfile=/scratch/kocevski/784737/expmap_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.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/784737/ltcube_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits
.....................!
real 191.83
user 186.63
sys 4.72

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/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits scfile=/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits outfile=/scratch/kocevski/784737/cmap_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits scfile=/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits outfile=/scratch/kocevski/784737/cmap_HighResolution_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits', '/scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits', expMap='/scratch/kocevski/784737/expmap_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits', expCube='/scratch/kocevski/784737/ltcube_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784737/Model_4FGL_J1125.9+2005_daily_bin1241.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/784737/ft1_filtered_4FGL_J1125.9+2005_daily_bin1241.fits
Spacecraft file(s): /scratch/kocevski/784737/ft2_4FGL_J1125.9+2005_daily_bin1241.fits
Exposure map: /scratch/kocevski/784737/expmap_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits
Exposure cube: /scratch/kocevski/784737/ltcube_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784737/Model_4FGL_J1125.9+2005_daily_bin1241.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 72.6818251832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 71.8375629538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4077       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30284       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6005       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9419       1.0000         .10000E-03   10000.    
     8 'norm      '    18.892       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5579       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1628       1.0000         .10000E-03   10000.    
    11 'norm      '    .11538       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5716       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4676       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7982       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1322       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6146       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3442       1.0000         .10000E-03   10000.    
    20 'norm      '    6.1171       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3138       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0845       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0945       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .70709       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .13721E-04   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   71.82061     FROM MIGRAD    STATUS=CONVERGED    152 CALLS      333 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17279E-03    592.49        .91327E-02** at limit **
   2  Prefactor     .60560E-02    950.73        .10437E-01    .39275E-02
   3  Prefactor     18.289        71.075        .34603E-02    .36754E-02
   4  Prefactor     .10101E-03    897.98        .12678E-01** at limit **
   5  Prefactor     .16240E-01    1958.8        .42439E-02    .30219E-02
   6  Prefactor     2.8474        1.0163         .0000         .0000    
   7  Prefactor     .39795E-02    .13867        .96223E-04   -.22287E-02
   8  norm          17.805        .97119        .29554E-05   -.50394E-03
   9  Prefactor     1.5579        1.0639         .0000         .0000    
  10  Prefactor     .30603E-01    .99506E-01    .79273E-04   -.31143E-02
  11  norm          .10000E-03    .22965       -.39825E-04** at limit **
  12  norm          2.5560        1.0205         .0000         .0000    
  13  Prefactor     2.5716        1.0203         .0000         .0000    
  14  Prefactor     2.4676        1.0222         .0000         .0000    
  15  Prefactor     .34935E-03    .67030E-01    .88381E-04** at limit **
  16  Prefactor     2.1322        1.0305         .0000         .0000    
  17  Prefactor     3.6146        1.0099         .0000         .0000    
  18  Prefactor     1.4623        1.0753         .0000         .0000    
  19  Prefactor     1.3442        1.0949         .0000         .0000    
  20  norm          6.1171        1.0034         .0000         .0000    
  21  Prefactor     .47440E-03    .11366        .56008E-04** at limit **
  22  Prefactor     1.0845        1.2009         .0000         .0000    
  23  Prefactor     1.0945        1.1925         .0000         .0000    
  24  Normalizat    .70614        1.0461        .22496E-03    .11567E-05
  25  Prefactor     .21927E-12    .25505       -.42318E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000172793
  Prefactor  = 0.00605603
  Prefactor  = 18.289
  Prefactor  = 0.000101013
  Prefactor  = 0.0162401
  Prefactor  = 2.84744
  Prefactor  = 0.00397945
  norm       = 17.8048
  Prefactor  = 1.5579
  Prefactor  = 0.030603
  norm       = 0.000100001
  norm       = 2.55596
  Prefactor  = 2.57157
  Prefactor  = 2.46756
  Prefactor  = 0.000349354
  Prefactor  = 2.13221
  Prefactor  = 3.61457
  Prefactor  = 1.46234
  Prefactor  = 1.34422
  norm       = 6.1171
  Prefactor  = 0.000474398
  Prefactor  = 1.0845
  Prefactor  = 1.09451
  Normalizat = 0.706139
  Prefactor  = 2.19269e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   71.82061     FROM HESSE     STATUS=FAILED        19 CALLS      352 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17279E-03    592.49        .91327E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .60560E-02    950.73        .10437E-01   -1.5693    
   3  Prefactor     18.289        71.075        .34603E-02   -1.4852    
   4  Prefactor     .10101E-03    897.98        .12678E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16240E-01    1958.8        .42439E-02   -1.5683    
   6  Prefactor     556.40        553.46         .0000       -1.5370    
   7  Prefactor     .39795E-02    .13867        .96223E-04   -1.5720    
   8  norm          17.805        .97119        .29554E-05   -1.4864    
   9  Prefactor     1.5579        1.0639         .0000       -1.5458    
  10  Prefactor     .30603E-01    .99506E-01    .79273E-04   -1.5743    
  11  norm          .10000E-03    .22965       -.39825E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5560        1.0205         .0000       -1.5388    
  13  Prefactor     2.5716        1.0203         .0000       -1.5387    
  14  Prefactor     2.4676        1.0222         .0000       -1.5394    
  15  Prefactor     .34935E-03    .67030E-01    .88381E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1322        1.0305         .0000       -1.5416    
  17  Prefactor     3.6146        1.0099         .0000       -1.5328    
  18  Prefactor     1.4623        1.0753         .0000       -1.5466    
  19  Prefactor     1.3442        1.0949         .0000       -1.5476    
  20  norm          6.1171        1.0034         .0000       -1.5213    
  21  Prefactor     .47440E-03    .11366        .56008E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0845        1.2009         .0000       -1.5500    
  23  Prefactor     1.0945        1.1925         .0000       -1.5499    
  24  Normalizat    .70614        1.0461        .22496E-03   -1.0365    
  25  Prefactor     .21927E-12    .25505       -.42318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.61432e-09
Minuit parameter uncertainties:
  1  0.419565
  2  4.83807
  3  71.4067
  4  0.0612773
  5  11.6494
  6  1.01631
  7  0.046388
  8  0.971193
  9  1.06396
  10  0.0995063
  11  2.9314e-05
  12  1.02054
  13  1.02028
  14  1.02216
  15  0.00817659
  16  1.03054
  17  1.0099
  18  1.07533
  19  1.09493
  20  1.00338
  21  0.0130465
  22  1.20089
  23  1.19253
  24  1.0781
  25  4.75239e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 71.8206109239

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  1.020e+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:  2.193e-13  4.752e-07  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.061e-01  1.078e+00  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.64e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784737/likelihoodResults_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.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): 101
logL (Free Index) = 71.8206840195
delta logL = -7.30956398343e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 71.8206840195
delta logL = -7.30956398343e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.2417       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   71.82068     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.2417        1.0140        .24561         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.24173
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   71.82068     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .55686        1.7677        .24561       -.58435    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.0243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784737': 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): 101
logL (Free Index) = 71.8206840195
delta logL = -7.30956398343e-05

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
315        Index:  2.242e+00  1.024e+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.436e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.060e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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

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/784737/cmap_HighResolution_560995201_561254401_4FGL_J1125.9+2005_daily_bin1241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.64e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-03 20:46:17.322874', job_id='784737', GAL2='0.00', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1630727177.32', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-7.31e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1241' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:46:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 784737: <4FGL_J1125.9+2005_daily_bin1241> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1241> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 20:36:27 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:39:39 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:39:39 2021
Terminated at Fri Sep  3 20:46:18 2021
Results reported at Fri Sep  3 20:46:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1241 171.491 20.0912 560995201 561254401 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 :                                   330.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             435.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   398 sec.
    Turnaround time :                            591 sec.

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

