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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1037
RA = 171.491, Dec = 20.0912
tmin = 508118401, tmax = 508377601
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='784443', job_status='RUN', time_executed='2021-09-03 20:39:31.857467', time_epoch_executed='1630726771.86' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784443

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784443/ft1_4FGL_J1125.9+2005_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784443/ft2_4FGL_J1125.9+2005_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784443/ft1_4FGL_J1125.9+2005_daily_bin1037.fits outfile=/scratch/kocevski/784443/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1037.fits ra=171.491 dec=20.0912 rad=12.0 tmin=508118401.0 tmax=508377601.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.76
user 3.52
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784443/ft1_filtered_4FGL_J1125.9+2005_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/784443/ft2_4FGL_J1125.9+2005_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/784443/ltcube_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.fits outfile=/scratch/kocevski/784443/expmap_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.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/784443/ltcube_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.fits
.....................!
real 191.17
user 186.67
sys 4.02

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/784443/ft1_filtered_4FGL_J1125.9+2005_daily_bin1037.fits scfile=/scratch/kocevski/784443/ft2_4FGL_J1125.9+2005_daily_bin1037.fits outfile=/scratch/kocevski/784443/cmap_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.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.86
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784443/ft1_filtered_4FGL_J1125.9+2005_daily_bin1037.fits scfile=/scratch/kocevski/784443/ft2_4FGL_J1125.9+2005_daily_bin1037.fits outfile=/scratch/kocevski/784443/cmap_HighResolution_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.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.72
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.449       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2039       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5561       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10329E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4807       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.1581       1.0000         .10000E-03   10000.    
    12 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20483E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2442       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13354       1.0000         .10000E-03   10000.    
    20 'norm      '    6.1422       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.4836       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.6769       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .66750       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4339       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=   5656.908     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2509 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.453        12.859       -.13373E-06    .41736E-04
   2  Prefactor     1.2039        1.5229       -.24348E-06   -.52664E-04
   3  Prefactor     8.5595        7.7650       -.21618E-06   -.44991E-03
   4  Prefactor     .10000E-03    3.2438       -.25192E-06** at limit **
   5  Prefactor     .10000E-03    5.1007       -.64419E-06** at limit **
   6  Prefactor     .10000E-03    12.014       -.25525E-05** at limit **
   7  Prefactor     .10000E-03    4.5354       -.29974E-06** at limit **
   8  norm          .10000E-03    .96296       -.29790E-06** at limit **
   9  Prefactor     3.4807        2.8521       -.12426E-06   -.26001E-02
  10  Prefactor     .10000E-03    5.1414       -.55278E-09** at limit **
  11  norm          7.1551        13.379       -.65922E-06   -.32775E-03
  12  norm          .10000E-03    11.505        .50860E-06** at limit **
  13  Prefactor     .10000E-03    11.191        .22928E-05** at limit **
  14  Prefactor     .10000E-03    9.9015       -.11592E-05** at limit **
  15  Prefactor     .10000E-03    62.623        .24584E-05** at limit **
  16  Prefactor     .10000E-03    6.1116        .24880E-06** at limit **
  17  Prefactor     2.2130        55.831       -.24505E-04   -.55602E-04
  18  Prefactor     .10000E-03    32.419       -.26266E-06** at limit **
  19  Prefactor     .12373        .72788        .77950E-06   -.19813E-02
  20  norm          6.1443        2.3279        .46502E-06    .37064E-03
  21  Prefactor     4.4938        20.400       -.16002E-06   -.16590E-04
  22  Prefactor     .10000E-03    2.7723       -.17804E-06** at limit **
  23  Prefactor     3.6789        4.0610       -.38948E-06   -.11571E-03
  24  Normalizat    .66736        .19676        .44673E-05   -.14772E-05
  25  Prefactor     1.4341        .20202       -.16174E-05    .26547E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.4531
  Prefactor  = 1.20388
  Prefactor  = 8.5595
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.48067
  Prefactor  = 0.0001
  norm       = 7.15505
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.213
  Prefactor  = 0.0001
  Prefactor  = 0.123726
  norm       = 6.14428
  Prefactor  = 4.4938
  Prefactor  = 0.0001
  Prefactor  = 3.67885
  Normalizat = 0.667358
  Prefactor  = 1.43409
 **********
 **   18 **HESSE 
 **********

 FCN=   5656.908     FROM HESSE     STATUS=OK           433 CALLS     2942 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.453        12.845        .72609E-04   -1.4604    
   2  Prefactor     1.2039        1.4998        .10073E-03   -1.5489    
   3  Prefactor     8.5595        7.9235        .68521E-03   -1.5123    
   4  Prefactor     .10000E-03    3.2567        .13228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1337        .16589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5437        .15644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4174        .14134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4807        3.5993        .67480E-03   -1.5335    
  10  Prefactor     .10000E-03    5.1841        .16651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.1551        13.880        .74964E-03   -1.5173    
  12  norm          .10000E-03    11.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    62.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.1781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2130        60.764        .27433E-03   -1.5410    
  18  Prefactor     .10000E-03    33.614        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12373        1.2089        .45972E-01   -1.5638    
  20  norm          6.1443        2.3316        .66192E-04   -1.5212    
  21  Prefactor     4.4938        20.472        .19015E-03   -1.5284    
  22  Prefactor     .10000E-03    2.8201        .12205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6789        4.0683        .15058E-03   -1.5324    
  24  Normalizat    .66736        .23260        .30180E-03   -1.0520    
  25  Prefactor     1.4341        .23813        .23267E-03   -.79403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63698e-09
Minuit parameter uncertainties:
  1  12.8457
  2  1.49988
  3  7.92447
  4  5.15203e-06
  5  3.47098e-06
  6  3.30808e-05
  7  4.64628e-06
  8  3.96529e-05
  9  3.59953
  10  1.92692e-05
  11  13.8862
  12  4.92403e-06
  13  7.23196e-05
  14  1.02978e-05
  15  0.000231847
  16  4.51919e-06
  17  23.218
  18  0.000168313
  19  0.773194
  20  2.33164
  21  19.1939
  22  9.52929e-07
  23  4.06861
  24  0.232947
  25  0.238315
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  7.232e-05  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.434e+00  2.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  6.674e-01  2.329e-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: 7.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784443/likelihoodResults_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.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) = 5656.9080403
delta logL = -0.000424591628871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5656.90761758
delta logL = -1.87277146324e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12111E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2563       1.0000          .0000       10.000    
     3 'Normalizat'    .66708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4344       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=   5656.908     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      195 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.049        .90712E-02** at limit **
   2  Index         2.2704        6.1330        .24497       -.10802E-04
   3  Normalizat    .66736        .18110        .68197E-01    .42775E-04
   4  Prefactor     1.4341        .19767        .52628E-01    .19377E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27041
  Normalizat = 0.667362
  Prefactor  = 1.43409
 **********
 **   18 **HESSE 
 **********

 FCN=   5656.908     FROM HESSE     STATUS=OK            25 CALLS      220 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2704        6.1351        .97987E-02   -.57748    
   3  Normalizat    .66736        .21333        .30180E-03   -1.0520    
   4  Prefactor     1.4341        .23329        .23267E-03   -.79403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20239e-10
Minuit parameter uncertainties:
  1  5.10173e-05
  2  4.19155
  3  0.213592
  4  0.233468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784443': 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) = 5656.90761563
delta logL = 7.32752596377e-08

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  5.102e-05  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.270e+00  4.192e+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.434e+00  2.335e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  6.674e-01  2.136e-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/784443/cmap_HighResolution_508118401_508377601_4FGL_J1125.9+2005_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.64e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2021-09-03 20:51:15.161374', job_id='784443', GAL2='1.43', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1630727475.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='7.33e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1037' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 784443: <4FGL_J1125.9+2005_daily_bin1037> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1037 171.491 20.0912 508118401 508377601 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 :                                   673.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            906 sec.

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

