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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin71
RA = 171.491, Dec = 20.0912
tmin = 257731201, tmax = 257990401
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='778530', job_status='RUN', time_executed='2021-09-03 20:18:48.463490', time_epoch_executed='1630725528.46' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='71'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778530

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778530/ft1_4FGL_J1125.9+2005_daily_bin71.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778530/ft2_4FGL_J1125.9+2005_daily_bin71.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778530/ft1_4FGL_J1125.9+2005_daily_bin71.fits outfile=/scratch/kocevski/778530/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin71.fits ra=171.491 dec=20.0912 rad=12.0 tmin=257731201.0 tmax=257990401.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.55
user 1.25
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778530/ft1_filtered_4FGL_J1125.9+2005_daily_bin71.fits evtable="EVENTS" scfile=/scratch/kocevski/778530/ft2_4FGL_J1125.9+2005_daily_bin71.fits sctable="SC_DATA" expcube=/scratch/kocevski/778530/ltcube_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.fits outfile=/scratch/kocevski/778530/expmap_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.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/778530/ltcube_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.fits
.....................!
real 196.04
user 188.56
sys 4.32

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/778530/ft1_filtered_4FGL_J1125.9+2005_daily_bin71.fits scfile=/scratch/kocevski/778530/ft2_4FGL_J1125.9+2005_daily_bin71.fits outfile=/scratch/kocevski/778530/cmap_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.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.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778530/ft1_filtered_4FGL_J1125.9+2005_daily_bin71.fits scfile=/scratch/kocevski/778530/ft2_4FGL_J1125.9+2005_daily_bin71.fits outfile=/scratch/kocevski/778530/cmap_HighResolution_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4440       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .47985E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.494       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0382       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0029       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9336       1.0000         .10000E-03   10000.    
    11 'norm      '    11.304       1.0000         .10000E-03   10000.    
    12 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .31033E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.213       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.300       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8630       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9356       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0365       1.0000         .10000E-03   10000.    
    20 'norm      '    .84017       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .31436       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79424       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1496       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=   6248.898     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2969 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7372        .65080E-06** at limit **
   2  Prefactor     .10000E-03    1.1843        .52655E-06** at limit **
   3  Prefactor     .10000E-03    2.2283        .29515E-06** at limit **
   4  Prefactor     .10000E-03    2.7088        .29411E-06** at limit **
   5  Prefactor     4.4439        5.2932       -.58961E-06   -.56863E-03
   6  Prefactor     .10008E-03    10.937        .43944E-05** at limit **
   7  Prefactor     11.494        13.635        .15744E-06   -.10410E-03
   8  norm          1.0382        1.2054        .42757E-06    .14297E-02
   9  Prefactor     2.0062        2.6258        .25958E-06   -.36023E-03
  10  Prefactor     2.9324        5.2215        .11217E-05    .25054E-03
  11  norm          11.308        11.126       -.26086E-06   -.24226E-03
  12  norm          .10000E-03    8.4560        .10450E-06** at limit **
  13  Prefactor     .10002E-03    11.996        .61538E-05** at limit **
  14  Prefactor     27.193        32.262        .16423E-05   -.47060E-04
  15  Prefactor     20.263        34.566       -.70956E-06   -.23297E-03
  16  Prefactor     8.8749        23.169       -.27106E-05   -.22705E-03
  17  Prefactor     3.9221        22.009        .26341E-05    .70382E-04
  18  Prefactor     .10000E-03    4.9129        .25150E-06** at limit **
  19  Prefactor     3.0378        2.2273       -.29156E-06   -.10559E-02
  20  norm          .84027        .86479       -.98640E-07   -.62063E-03
  21  Prefactor     .10000E-03    4.4017        .15987E-07** at limit **
  22  Prefactor     .10000E-03    1.9431        .30323E-06** at limit **
  23  Prefactor     .31560        1.6453        .77489E-06   -.46928E-04
  24  Normalizat    .79402        .17684        .21965E-05   -.76968E-03
  25  Prefactor     1.1499        .17196       -.31581E-05   -.10109E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44386
  Prefactor  = 0.000100078
  Prefactor  = 11.4943
  norm       = 1.03821
  Prefactor  = 2.00619
  Prefactor  = 2.93244
  norm       = 11.3082
  norm       = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 27.1934
  Prefactor  = 20.2627
  Prefactor  = 8.87494
  Prefactor  = 3.92205
  Prefactor  = 0.0001
  Prefactor  = 3.03778
  norm       = 0.840272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.315597
  Normalizat = 0.794025
  Prefactor  = 1.14989
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.898     FROM HESSE     STATUS=OK           431 CALLS     3400 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8074        .16834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.2381        .16888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2470        .11530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7209        .12707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4439        5.3119        .95509E-03   -1.5286    
   6  Prefactor     .10008E-03    29.815        .39501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.494        13.637        .11817E-03   -1.5030    
   8  norm          1.0382        1.1985        .89708E-04   -1.5504    
   9  Prefactor     2.0062        2.4900        .13225E-03   -1.5425    
  10  Prefactor     2.9324        5.1623        .23032E-03   -1.5365    
  11  norm          11.308        11.097        .11916E-03   -1.5035    
  12  norm          .10000E-03    8.5760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    17.765        .37772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.193        32.099        .76796E-04   -1.4665    
  15  Prefactor     20.263        34.571        .88896E-04   -1.4807    
  16  Prefactor     8.8749        23.003        .13464E-03   -1.5112    
  17  Prefactor     3.9221        22.231        .20335E-03   -1.5312    
  18  Prefactor     .10000E-03    4.9681        .17117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0378        2.2110        .89713E-04   -1.5359    
  20  norm          .84027        .86816        .72410E-04   -1.5525    
  21  Prefactor     .10000E-03    4.4066        .16198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.0224        .21521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31560        3.0107        .19133E-02   -1.5596    
  24  Normalizat    .79402        .19640        .25574E-03   -1.0029    
  25  Prefactor     1.1499        .19667        .23462E-03   -.87888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64745e-08
Minuit parameter uncertainties:
  1  7.44604e-05
  2  2.97881e-05
  3  2.19874e-05
  4  2.43666e-05
  5  5.31245
  6  0.00304245
  7  13.6411
  8  1.19849
  9  2.49009
  10  5.16313
  11  11.0991
  12  3.50496e-06
  13  0.00119389
  14  32.119
  15  34.6047
  16  23.0257
  17  18.6854
  18  3.17348e-05
  19  2.21101
  20  0.868174
  21  1.56161e-06
  22  2.07453e-05
  23  1.94935
  24  0.196574
  25  0.196799
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.194e-03  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.150e+00  1.968e-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.940e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/778530/likelihoodResults_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.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): 102
logL (Free Index) = 6248.89804507
delta logL = -0.00026676708967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6248.89777889
delta logL = -5.82846041652e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12960E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3340       1.0000          .0000       10.000    
     3 'Normalizat'    .79429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1496       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=   6248.768     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      278 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11452        3.9514        .90712E-02    .49609E-02
   2  Index         4.1858        3.1569        .13478        .17750E-03
   3  Normalizat    .76795        .24014E-01    .43536E-01    .44384E-03
   4  Prefactor     1.1662        .26163E-01    .52749E-01    .47224E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.114524
  Index      = 4.18578
  Normalizat = 0.767954
  Prefactor  = 1.16623
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.768     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11452        23.596        .52804E-04   -1.5640    
   2  Index         4.1858        5.6733        .92228E-02   -.16357    
   3  Normalizat    .76795        .13337        .25976E-03   -1.0127    
   4  Prefactor     1.1662        .14259        .23321E-03   -.87377    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.87151e-10
Minuit parameter uncertainties:
  1  3.28761
  2  12.4867
  3  0.133431
  4  0.142634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778530': 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): 102
logL (Free Index) = 6248.76849624
delta logL = 0.12928206975

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.145e-01  3.288e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  4.186e+00  1.249e+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.166e+00  1.426e-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.680e-01  1.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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/778530/cmap_HighResolution_257731201_257990401_4FGL_J1125.9+2005_daily_bin71.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2021-09-03 20:32:06.080818', job_id='778530', GAL2='1.17', fit_tolerance='1e-08', EG2='0.77', EG='0.79', time_epoch_completed='1630726326.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.29e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='71' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:32:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 778530: <4FGL_J1125.9+2005_daily_bin71> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin71 171.491 20.0912 257731201 257990401 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.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            942 sec.

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

