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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1571
RA = 171.491, Dec = 20.0912
tmin = 646531201, tmax = 646790401
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='786343', job_status='RUN', time_executed='2021-09-03 20:45:47.196563', time_epoch_executed='1630727147.2' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786343

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786343/ft1_4FGL_J1125.9+2005_daily_bin1571.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786343/ft2_4FGL_J1125.9+2005_daily_bin1571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786343/ft1_4FGL_J1125.9+2005_daily_bin1571.fits outfile=/scratch/kocevski/786343/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1571.fits ra=171.491 dec=20.0912 rad=12.0 tmin=646531201.0 tmax=646790401.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.67
user 3.41
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786343/ft1_filtered_4FGL_J1125.9+2005_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/786343/ft2_4FGL_J1125.9+2005_daily_bin1571.fits sctable="SC_DATA" expcube=/scratch/kocevski/786343/ltcube_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.fits outfile=/scratch/kocevski/786343/expmap_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.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/786343/ltcube_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.fits
.....................!
real 192.38
user 187.36
sys 4.58

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/786343/ft1_filtered_4FGL_J1125.9+2005_daily_bin1571.fits scfile=/scratch/kocevski/786343/ft2_4FGL_J1125.9+2005_daily_bin1571.fits outfile=/scratch/kocevski/786343/cmap_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.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.55
user 0.40
sys 0.13

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

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0929       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.151       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4995       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.498       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1192       1.0000         .10000E-03   10000.    
     8 'norm      '    .52537       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2327       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7955       1.0000         .10000E-03   10000.    
    11 'norm      '    30.056       1.0000         .10000E-03   10000.    
    12 'norm      '    21.458       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5075       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.298       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.5508       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.7809       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    40.075       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.790       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.4889       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .25628       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3520       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6202.697     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     2427 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0915        2.1859       -.30995E-05   -.27597E-02
   2  Prefactor     .10000E-03    1.6641        .81319E-06** at limit **
   3  Prefactor     21.144        4.1692       -.40264E-05   -.80666E-02
   4  Prefactor     24.489        10.286        .72417E-05   -.37172E-02
   5  Prefactor     7.4968        7.9509       -.48838E-05    .27416E-02
   6  Prefactor     13.498        1.9222       -.18166E-05   -.12057E-02
   7  Prefactor     3.0666        23.451       -.25105E-04    .97555E-03
   8  norm          .52526        .56694       -.60879E-08   -.92736E-04
   9  Prefactor     4.2317        3.0925        .85821E-07   -.11459E-03
  10  Prefactor     7.7906        3.7223       -.56155E-05   -.90656E-02
  11  norm          30.046        5.7520        .38093E-05   -.36658E-03
  12  norm          21.437        8.9645        .41183E-05   -.60829E-02
  13  Prefactor     4.5025        3.4514        .66659E-05    .72791E-03
  14  Prefactor     .10000E-03    7.1967        .11796E-05** at limit **
  15  Prefactor     10.298        1.3600       -.13935E-05    .77543E-03
  16  Prefactor     .10000E-03    8.2688        .21537E-05** at limit **
  17  Prefactor     6.5022        19.175       -.21181E-04    .13349E-02
  18  Prefactor     7.7751        3.9738        .28005E-05   -.88223E-03
  19  Prefactor     .10000E-03    .70590        .58170E-06** at limit **
  20  norm          40.076        4.8213        .26026E-05    .80541E-02
  21  Prefactor     14.787        2.0689       -.93803E-06   -.59915E-03
  22  Prefactor     6.4853        4.3423       -.16982E-05   -.16006E-02
  23  Prefactor     .10000E-03    .90825       -.61397E-06** at limit **
  24  Normalizat    .25711        .24137       -.71504E-05   -.51644E-04
  25  Prefactor     1.3514        .22335        .35387E-05   -.11922E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09153
  Prefactor  = 0.0001
  Prefactor  = 21.1439
  Prefactor  = 24.489
  Prefactor  = 7.49676
  Prefactor  = 13.498
  Prefactor  = 3.06664
  norm       = 0.525256
  Prefactor  = 4.23168
  Prefactor  = 7.79061
  norm       = 30.0464
  norm       = 21.4371
  Prefactor  = 4.50251
  Prefactor  = 0.0001
  Prefactor  = 10.2975
  Prefactor  = 0.0001
  Prefactor  = 6.50223
  Prefactor  = 7.77513
  Prefactor  = 0.0001
  norm       = 40.0758
  Prefactor  = 14.7866
  Prefactor  = 6.48526
  Prefactor  = 0.0001
  Normalizat = 0.25711
  Prefactor  = 1.35138
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.697     FROM HESSE     STATUS=OK           491 CALLS     2918 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0915        5.8861        .71333E-02   -1.5419    
   2  Prefactor     .10000E-03    1.6339        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.144        8.9702        .21773E-02   -1.4788    
   4  Prefactor     24.489        18.180        .20231E-02   -1.4718    
   5  Prefactor     7.4968        13.558        .36612E-02   -1.5160    
   6  Prefactor     13.498        11.695        .27255E-02   -1.4973    
   7  Prefactor     3.0666        78.253        .57393E-02   -1.5358    
   8  norm          .52526        .56836        .11374E-01   -1.5563    
   9  Prefactor     4.2317        3.2488        .48964E-02   -1.5297    
  10  Prefactor     7.7906        7.1535        .35905E-02   -1.5150    
  11  norm          30.046        13.289        .18271E-02   -1.4611    
  12  norm          21.437        18.038        .21617E-02   -1.4782    
  13  Prefactor     4.5025        10.570        .47408E-02   -1.5284    
  14  Prefactor     .10000E-03    7.1919        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.298        25.440        .31215E-02   -1.5066    
  16  Prefactor     .10000E-03    8.2350        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.5022        31.905        .39199E-02   -1.5198    
  18  Prefactor     7.7751        14.028        .35938E-02   -1.5150    
  19  Prefactor     .10000E-03    .70184        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          40.076        5.0209        .15830E-02   -1.4441    
  21  Prefactor     14.787        16.053        .26037E-02   -1.4939    
  22  Prefactor     6.4853        4.5402        .39388E-02   -1.5199    
  23  Prefactor     .10000E-03    .90017        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .25711        .31562        .10932       -1.2549    
  25  Prefactor     1.3514        .25882        .52853E-01   -.81792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86878e-07
Minuit parameter uncertainties:
  1  5.88768
  2  6.58273e-06
  3  8.97074
  4  18.1842
  5  13.5638
  6  11.6965
  7  31.027
  8  0.568363
  9  3.24891
  10  7.15429
  11  13.2905
  12  18.0428
  13  10.5739
  14  3.76592e-05
  15  25.4671
  16  9.83138e-05
  17  28.8312
  18  14.0337
  19  1.4505e-06
  20  5.02095
  21  16.0573
  22  4.54043
  23  2.38582e-06
  24  0.317838
  25  0.259064
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  4.503e+00  1.057e+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:  1.351e+00  2.591e-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:  2.571e-01  3.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/786343/likelihoodResults_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.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) = 6202.69686268
delta logL = 0.000304158535073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6202.69680074
delta logL = 0.000366098573977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4072       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2805       1.0000          .0000       10.000    
     3 'Normalizat'    .25615       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3519       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6202.697     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      259 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4044        11.247        .19184E-03    .53437E-03
   2  Index         2.2796        1.4445        .13238E-01    .14332E-03
   3  Normalizat    .25622        .20725        .48444E-03   -.57686E-03
   4  Prefactor     1.3519        .21812        .23360E-03   -.12764E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.40437
  Index      = 2.27961
  Normalizat = 0.256221
  Prefactor  = 1.35193
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.697     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4044        10.750        .76735E-05   -1.5288    
   2  Index         2.2796        1.3803        .52951E-03   -.57529    
   3  Normalizat    .25622        .20675        .19378E-04   -1.2555    
   4  Prefactor     1.3519        .21771        .46720E-04   -.81776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29469e-09
Minuit parameter uncertainties:
  1  10.7545
  2  1.40654
  3  0.207365
  4  0.217858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786343': 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) = 6202.6967994
delta logL = 0.000367438669855

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  4.404e+00  1.075e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.280e+00  1.407e+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.352e+00  2.179e-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:  2.562e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/786343/cmap_HighResolution_646531201_646790401_4FGL_J1125.9+2005_daily_bin1571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.65e-08', time_completed='2021-09-03 20:57:44.712458', job_id='786343', GAL2='1.35', fit_tolerance='1e-08', EG2='0.26', EG='0.26', time_epoch_completed='1630727864.71', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='3.67e-04', ts2='0.25', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1571' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:57:44 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1571 171.491 20.0912 646531201 646790401 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 :                                   711.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            960 sec.

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

