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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1413
RA = 171.491, Dec = 20.0912
tmin = 605577601, tmax = 605836801
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='786094', job_status='RUN', time_executed='2021-09-03 20:42:02.740439', time_epoch_executed='1630726922.74' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1413'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786094/ft1_4FGL_J1125.9+2005_daily_bin1413.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786094/ft2_4FGL_J1125.9+2005_daily_bin1413.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786094/ft1_4FGL_J1125.9+2005_daily_bin1413.fits outfile=/scratch/kocevski/786094/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1413.fits ra=171.491 dec=20.0912 rad=12.0 tmin=605577601.0 tmax=605836801.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 5.10
user 4.77
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786094/ft1_filtered_4FGL_J1125.9+2005_daily_bin1413.fits evtable="EVENTS" scfile=/scratch/kocevski/786094/ft2_4FGL_J1125.9+2005_daily_bin1413.fits sctable="SC_DATA" expcube=/scratch/kocevski/786094/ltcube_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.fits outfile=/scratch/kocevski/786094/expmap_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.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/786094/ltcube_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.fits
.....................!
real 193.51
user 187.74
sys 5.26

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/786094/ft1_filtered_4FGL_J1125.9+2005_daily_bin1413.fits scfile=/scratch/kocevski/786094/ft2_4FGL_J1125.9+2005_daily_bin1413.fits outfile=/scratch/kocevski/786094/cmap_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786094/ft1_filtered_4FGL_J1125.9+2005_daily_bin1413.fits scfile=/scratch/kocevski/786094/ft2_4FGL_J1125.9+2005_daily_bin1413.fits outfile=/scratch/kocevski/786094/cmap_HighResolution_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=171.491 yref=20.0912 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8529       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8778       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.018       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1100       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2075       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7329       1.0000         .10000E-03   10000.    
    11 'norm      '    10.907       1.0000         .10000E-03   10000.    
    12 'norm      '    8.5438       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.544       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2672       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31136       1.0000         .10000E-03   10000.    
    20 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9454       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.5349       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12515E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71856       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1882       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=   4996.919     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2932 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8543        12.108       -.13842E-06   -.10715E-04
   2  Prefactor     3.8789        3.3464        .55523E-07   -.50048E-04
   3  Prefactor     15.021        9.4467       -.14882E-06    .15026E-04
   4  Prefactor     .10000E-03    4.7814       -.22234E-06** at limit **
   5  Prefactor     .10000E-03    4.4710       -.59461E-07** at limit **
   6  Prefactor     .10000E-03    7.4239        .26297E-07** at limit **
   7  Prefactor     6.1106        10.717       -.14727E-06   -.19076E-04
   8  norm          1.2079        1.4471        .11308E-06   -.23993E-04
   9  Prefactor     5.7349        3.6429        .36173E-07    .99662E-04
  10  Prefactor     7.7340        6.8680       -.56775E-07   -.13277E-03
  11  norm          10.911        13.107       -.54785E-06   -.24975E-04
  12  norm          8.5470        11.827        .26966E-06    .11239E-03
  13  Prefactor     .10000E-03    25.143        .77431E-06** at limit **
  14  Prefactor     .10000E-03    24.724        .56606E-06** at limit **
  15  Prefactor     .10000E-03    52.650       -.15432E-05** at limit **
  16  Prefactor     .10000E-03    23.320       -.38069E-05** at limit **
  17  Prefactor     47.503        31.982        .15183E-05    .30499E-03
  18  Prefactor     3.2692        16.735        .12197E-06   -.13867E-04
  19  Prefactor     .31521        2.3431       -.10506E-05   -.12074E-03
  20  norm          .10000E-03    .77359       -.39150E-06** at limit **
  21  Prefactor     1.9423        33.769       -.53148E-10   -.41804E-04
  22  Prefactor     8.5338        6.7184        .60384E-06    .42468E-03
  23  Prefactor     .10000E-03    38.749        .13824E-04** at limit **
  24  Normalizat    .71791        .25675       -.73714E-05    .41543E-03
  25  Prefactor     1.1888        .24175        .74504E-05    .37349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.85428
  Prefactor  = 3.87888
  Prefactor  = 15.0208
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.11065
  norm       = 1.2079
  Prefactor  = 5.73493
  Prefactor  = 7.73399
  norm       = 10.9105
  norm       = 8.54701
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 47.5031
  Prefactor  = 3.26919
  Prefactor  = 0.315206
  norm       = 0.0001
  Prefactor  = 1.9423
  Prefactor  = 8.53383
  Prefactor  = 0.000100001
  Normalizat = 0.717913
  Prefactor  = 1.18876
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.919     FROM HESSE     STATUS=OK           429 CALLS     3361 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8543        12.085        .12766E-03   -1.5080    
   2  Prefactor     3.8789        3.3362        .11030E-03   -1.5314    
   3  Prefactor     15.021        9.4425        .10335E-03   -1.4933    
   4  Prefactor     .10000E-03    4.8057        .15089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4762        .14595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.4503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1106        10.708        .16242E-03   -1.5214    
   8  norm          1.2079        1.4163        .87321E-04   -1.5488    
   9  Prefactor     5.7349        3.6406        .10248E-03   -1.5229    
  10  Prefactor     7.7340        6.8701        .14420E-03   -1.5152    
  11  norm          10.911        13.125        .12131E-03   -1.5047    
  12  norm          8.5470        11.816        .13714E-03   -1.5123    
  13  Prefactor     .10000E-03    25.600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    52.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     47.503        31.856        .58153E-04   -1.4328    
  18  Prefactor     3.2692        16.507        .22404E-03   -1.5346    
  19  Prefactor     .31521        2.3161        .19874E-03   -1.5596    
  20  norm          .10000E-03    .78021        .60606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.9423        33.883        .29759E-03   -1.5429    
  22  Prefactor     8.5338        6.5485        .13721E-03   -1.5124    
  23  Prefactor     .10000E-03    37.576        .17606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .71791        .25543        .29692E-03   -1.0319    
  25  Prefactor     1.1888        .24160        .24499E-03   -.86678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.79125e-10
Minuit parameter uncertainties:
  1  12.0884
  2  3.33633
  3  9.44349
  4  1.98668e-05
  5  9.72748e-06
  6  1.88429e-05
  7  10.7109
  8  1.4163
  9  3.64078
  10  6.87083
  11  13.1288
  12  11.8188
  13  0.000363143
  14  0.000160561
  15  0.000368825
  16  5.12272e-05
  17  31.8678
  18  14.6985
  19  1.70869
  20  1.21817e-05
  21  16.235
  22  6.54905
  23  0.00034328
  24  0.255858
  25  0.24182
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  3.631e-04  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.189e+00  2.418e-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.179e-01  2.559e-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: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/786094/likelihoodResults_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.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) = 4996.91933734
delta logL = -0.000186333629244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4996.91915105
delta logL = -4.61586751044e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3244       1.0000          .0000       10.000    
     3 'Normalizat'    .71791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1888       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=   4996.919     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      245 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    815.62        .90712E-02** at limit **
   2  Index         2.3151        5.8675        .50000        .29353E-05
   3  Normalizat    .71791        .30269E-01    .67100E-01   -.57344E-05
   4  Prefactor     1.1888        .31528E-01    .55408E-01   -.20732E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31514
  Normalizat = 0.71791
  Prefactor  = 1.18876
 **********
 **   18 **HESSE 
 **********

 FCN=   4996.919     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3151        6.1555        .50000       -.56684    
   3  Normalizat    .71791        .22737        .29691E-03   -1.0319    
   4  Prefactor     1.1888        .23733        .24499E-03   -.86678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15401e-11
Minuit parameter uncertainties:
  1  2.0239e-05
  2  4.40432
  3  0.227667
  4  0.237545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786094': 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) = 4996.91915104
delta logL = -3.67717802874e-08

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.024e-05  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.315e+00  4.404e+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:  1.189e+00  2.375e-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.179e-01  2.277e-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/786094/cmap_HighResolution_605577601_605836801_4FGL_J1125.9+2005_daily_bin1413.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-09-03 20:53:38.798864', job_id='786094', GAL2='1.19', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630727618.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-3.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1413' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:53:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 786094: <4FGL_J1125.9+2005_daily_bin1413> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1413 171.491 20.0912 605577601 605836801 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 :                                   666.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            732 sec.

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

