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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin202
RA = 171.491, Dec = 20.0912
tmin = 291686401, tmax = 291945601
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='779931', job_status='RUN', time_executed='2021-09-03 20:23:02.677173', time_epoch_executed='1630725782.68' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779931

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779931/ft1_4FGL_J1125.9+2005_daily_bin202.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779931/ft1_4FGL_J1125.9+2005_daily_bin202.fits outfile=/scratch/kocevski/779931/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin202.fits ra=171.491 dec=20.0912 rad=12.0 tmin=291686401.0 tmax=291945601.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.52
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779931/ft1_filtered_4FGL_J1125.9+2005_daily_bin202.fits" evtable="EVENTS" scfile=/scratch/kocevski/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits sctable="SC_DATA" outfile=/scratch/kocevski/779931/ltcube_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.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/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits
.....................!
real 13.80
user 13.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779931/ft1_filtered_4FGL_J1125.9+2005_daily_bin202.fits evtable="EVENTS" scfile=/scratch/kocevski/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits sctable="SC_DATA" expcube=/scratch/kocevski/779931/ltcube_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.fits outfile=/scratch/kocevski/779931/expmap_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.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/779931/ltcube_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.fits
.....................!
real 191.50
user 186.26
sys 4.82

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/779931/ft1_filtered_4FGL_J1125.9+2005_daily_bin202.fits scfile=/scratch/kocevski/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits outfile=/scratch/kocevski/779931/cmap_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.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/779931/ft1_filtered_4FGL_J1125.9+2005_daily_bin202.fits scfile=/scratch/kocevski/779931/ft2_4FGL_J1125.9+2005_daily_bin202.fits outfile=/scratch/kocevski/779931/cmap_HighResolution_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5299       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.120       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5290       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10915E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .56206       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5422       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0786       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .24202E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.732       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10681E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70164       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .44816       1.0000         .10000E-03   10000.    
    20 'norm      '    10.478       1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.974       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.9330       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.3757       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97765       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88293       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=   5521.601     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2494 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0303        .30278E-06** at limit **
   2  Prefactor     1.5299        1.6149        .88359E-07   -.27057E-03
   3  Prefactor     28.120        9.9078       -.17605E-07   -.28265E-04
   4  Prefactor     .10000E-03    3.7002        .30491E-07** at limit **
   5  Prefactor     7.5316        9.6116        .36943E-05   -.91431E-04
   6  Prefactor     .10000E-03    2.2839        .10325E-06** at limit **
   7  Prefactor     .10000E-03    13.154       -.74282E-06** at limit **
   8  norm          .56262        1.2227       -.11058E-06   -.12585E-02
   9  Prefactor     4.5420        2.5516        .58932E-07   -.13825E-03
  10  Prefactor     9.0813        7.4664        .17685E-05   -.55468E-04
  11  norm          .10000E-03    14.855        .11945E-06** at limit **
  12  norm          .10001E-03    5.9682        .38515E-06** at limit **
  13  Prefactor     14.737        13.686        .36489E-05   -.53252E-04
  14  Prefactor     .10000E-03    4.1907        .65313E-07** at limit **
  15  Prefactor     .10000E-03    192.47       -.21105E-04** at limit **
  16  Prefactor     .10000E-03    2.5329        .17117E-06** at limit **
  17  Prefactor     .70997        10.901        .59660E-06   -.52977E-04
  18  Prefactor     .10000E-03    4.9856       -.14935E-06** at limit **
  19  Prefactor     .44957        1.6903       -.49726E-06   -.15739E-02
  20  norm          10.478        2.4163        .51025E-07   -.89761E-04
  21  Prefactor     26.947        20.636        .12070E-04    .52174E-05
  22  Prefactor     4.9326        4.5001        .21141E-06   -.26315E-03
  23  Prefactor     1.3784        3.4532       -.72514E-06   -.91780E-03
  24  Normalizat    .97759        .19468       -.34014E-05    .10831E-03
  25  Prefactor     .88287        .18976        .26194E-06   -.50309E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.52995
  Prefactor  = 28.1196
  Prefactor  = 0.0001
  Prefactor  = 7.53164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.562624
  Prefactor  = 4.54202
  Prefactor  = 9.08131
  norm       = 0.0001
  norm       = 0.000100015
  Prefactor  = 14.737
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.709975
  Prefactor  = 0.0001
  Prefactor  = 0.449569
  norm       = 10.4779
  Prefactor  = 26.947
  Prefactor  = 4.9326
  Prefactor  = 1.37836
  Normalizat = 0.977588
  Prefactor  = 0.882869
 **********
 **   18 **HESSE 
 **********

 FCN=   5521.601     FROM HESSE     STATUS=OK           435 CALLS     2929 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0810        .16271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5299        1.5982        .93764E-04   -1.5461    
   3  Prefactor     28.120        9.9003        .75550E-04   -1.4647    
   4  Prefactor     .10000E-03    3.7239        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5316        9.5334        .14616E-03   -1.5159    
   6  Prefactor     .10000E-03    2.2846        .10967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .56262        1.2073        .11481E-03   -1.5558    
   9  Prefactor     4.5420        2.5570        .85411E-04   -1.5282    
  10  Prefactor     9.0813        7.4453        .13302E-03   -1.5105    
  11  norm          .10000E-03    15.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    61.992        .34377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.737        13.634        .10435E-03   -1.4940    
  14  Prefactor     .10000E-03    4.1947        .14856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    199.47        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.5342        .11550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .70997        96.971        .43223E-02   -1.5539    
  18  Prefactor     .10000E-03    5.0096        .16200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44957        1.7000        .16890E-03   -1.5574    
  20  norm          10.478        2.4212        .53354E-04   -1.5060    
  21  Prefactor     26.947        20.390        .77135E-04   -1.4669    
  22  Prefactor     4.9326        4.4638        .13968E-03   -1.5264    
  23  Prefactor     1.3784        3.4293        .20311E-03   -1.5473    
  24  Normalizat    .97759        .22276        .24271E-03   -.93785    
  25  Prefactor     .88287        .21987        .26896E-03   -.96742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31158e-09
Minuit parameter uncertainties:
  1  5.10863e-06
  2  1.59827
  3  9.90092
  4  1.57889e-05
  5  9.53533
  6  1.26201e-06
  7  9.38883e-05
  8  1.20734
  9  2.55703
  10  7.44608
  11  8.14332e-05
  12  0.00191999
  13  13.6373
  14  5.25728e-06
  15  0.00173539
  16  2.54124e-06
  17  16.6212
  18  1.68882e-06
  19  1.70016
  20  2.42117
  21  20.3952
  22  4.46412
  23  3.42976
  24  0.222969
  25  0.220094
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.474e+01  1.364e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.829e-01  2.201e-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:  9.776e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.64
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.58e-05

TS (Fixed Index): 1.64
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779931/likelihoodResults_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.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) = 5521.21749226
delta logL = 0.383749194773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5521.20216874
delta logL = 0.399072713863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3113       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9694       1.0000          .0000       10.000    
     3 'Normalizat'    .94352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90996       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=   5521.202     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      249 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2853        79.514        .43598E-02    .28936E-03
   2  Index         2.9714        2.8071        .12581        .12682E-03
   3  Normalizat    .94359        .59339E-01    .45455E-01    .11246E-04
   4  Prefactor     .90982        .60349E-01    .45132E-01    .10442E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28531
  Index      = 2.97136
  Normalizat = 0.943592
  Prefactor  = 0.909825
 **********
 **   18 **HESSE 
 **********

 FCN=   5521.202     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2853        19.389        .12084E-03   -1.5248    
   2  Index         2.9714        1.7541        .44676E-02   -.41778    
   3  Normalizat    .94359        .21401        .24649E-03   -.94945    
   4  Prefactor     .90982        .22451        .26538E-03   -.95799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67499e-11
Minuit parameter uncertainties:
  1  19.4124
  2  1.80028
  3  0.2142
  4  0.224735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779931': 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) = 5521.20216482
delta logL = 0.399076638505

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  5.285e+00  1.941e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.971e+00  1.800e+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:  9.098e-01  2.247e-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:  9.436e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 171.491 20.091
Photon Index (Free Index): 2.97 +/- 1.80
Photon Flux (Free Index): 6.20e-08 +/- 4.79e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.32e-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/779931/cmap_HighResolution_291686401_291945601_4FGL_J1125.9+2005_daily_bin202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.03e-03', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='1.25e-05', photon_flux_error='3.78e-08', dlogl='3.99e-01', energy_flux='1.71e-05', photon_flux2='6.20e-08', job_status='DONE', time_completed='2021-09-03 20:34:32.297729', photon_index_error2='1.80', photon_index2='2.97', ts='1.64', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.32e-05', EG='0.98', time_epoch_completed='1630726472.3', return_code='0', job_id='779931', GAL2='0.91', EG2='0.94', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='4.79e-08', ts2='2.48', photon_index='2.24' WHERE bin_id='202' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:34:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 779931: <4FGL_J1125.9+2005_daily_bin202> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin202> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 20:20:57 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:21:01 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:21:01 2021
Terminated at Fri Sep  3 20:34:33 2021
Results reported at Fri Sep  3 20:34:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin202 171.491 20.0912 291686401 291945601 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 :                                   685.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            816 sec.

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

