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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin962
RA = 171.491, Dec = 20.0912
tmin = 488678401, tmax = 488937601
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='783191', job_status='RUN', time_executed='2021-09-03 20:32:31.544636', time_epoch_executed='1630726351.54' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='962'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783191/ft1_4FGL_J1125.9+2005_daily_bin962.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783191/ft2_4FGL_J1125.9+2005_daily_bin962.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783191/ft1_4FGL_J1125.9+2005_daily_bin962.fits outfile=/scratch/kocevski/783191/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin962.fits ra=171.491 dec=20.0912 rad=12.0 tmin=488678401.0 tmax=488937601.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 4.30
user 4.07
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783191/ft1_filtered_4FGL_J1125.9+2005_daily_bin962.fits evtable="EVENTS" scfile=/scratch/kocevski/783191/ft2_4FGL_J1125.9+2005_daily_bin962.fits sctable="SC_DATA" expcube=/scratch/kocevski/783191/ltcube_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.fits outfile=/scratch/kocevski/783191/expmap_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.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/783191/ltcube_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.fits
.....................!
real 194.65
user 188.02
sys 5.00

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/783191/ft1_filtered_4FGL_J1125.9+2005_daily_bin962.fits scfile=/scratch/kocevski/783191/ft2_4FGL_J1125.9+2005_daily_bin962.fits outfile=/scratch/kocevski/783191/cmap_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.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.40
sys 0.17

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

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

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2138       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10616E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2075       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40234E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0432       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5813       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.314       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1293       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    34.989       1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.549       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.792       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .56166E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    14.812       1.0000         .10000E-03   10000.    
    21 'Prefactor '    40.785       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.5237       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .65112       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3621       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=   5423.535     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2964 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2123        9.6067       -.71881E-06    .22037E-03
   2  Prefactor     .10000E-03    1.3338        .95799E-07** at limit **
   3  Prefactor     3.2084        5.9824       -.64064E-06   -.36924E-03
   4  Prefactor     .10003E-03    8.2172       -.26654E-05** at limit **
   5  Prefactor     9.0175        14.591       -.11023E-05    .49645E-03
   6  Prefactor     3.5569        15.779        .36629E-05   -.13644E-04
   7  Prefactor     24.324        18.182        .77295E-05    .94774E-04
   8  norm          2.1298        1.5380        .48551E-07   -.16913E-03
   9  Prefactor     .10000E-03    2.4218       -.57850E-06** at limit **
  10  Prefactor     .10000E-03    2.4638        .25324E-07** at limit **
  11  norm          34.982        15.848       -.80641E-06    .13653E-03
  12  norm          .10000E-03    13.009       -.41744E-06** at limit **
  13  Prefactor     .10000E-03    8.3185       -.69462E-06** at limit **
  14  Prefactor     .10000E-03    3.5506       -.19540E-06** at limit **
  15  Prefactor     13.545        35.559       -.81743E-05    .67443E-04
  16  Prefactor     .10000E-03    4.7463       -.33752E-06** at limit **
  17  Prefactor     .10000E-03    5.9224       -.24013E-06** at limit **
  18  Prefactor     21.799        13.910       -.14359E-05    .12725E-03
  19  Prefactor     .56887E-01    .92644       -.14721E-06   -.56419E-04
  20  norm          14.812        3.0211        .50329E-07    .78259E-04
  21  Prefactor     40.783        26.875       -.26299E-05    .10459E-03
  22  Prefactor     .10000E-03    2.1076        .56646E-07** at limit **
  23  Prefactor     5.5243        3.3448        .10019E-05   -.41386E-03
  24  Normalizat    .65089        .20732       -.39280E-06    .32674E-03
  25  Prefactor     1.3621        .21433        .40541E-06    .26936E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.21231
  Prefactor  = 0.000100003
  Prefactor  = 3.20842
  Prefactor  = 0.000100026
  Prefactor  = 9.01752
  Prefactor  = 3.55691
  Prefactor  = 24.3244
  norm       = 2.12985
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 34.9815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.7993
  Prefactor  = 0.0568874
  norm       = 14.8122
  Prefactor  = 40.7828
  Prefactor  = 0.0001
  Prefactor  = 5.5243
  Normalizat = 0.650893
  Prefactor  = 1.36213
 **********
 **   18 **HESSE 
 **********

 FCN=   5423.535     FROM HESSE     STATUS=OK           433 CALLS     3397 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2123        9.4115        .13203E-03   -1.5101    
   2  Prefactor     .10000E-03    8.0667        .15970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2084        5.9929        .22622E-03   -1.5350    
   4  Prefactor     .10003E-03    18.675        .36345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.0175        13.310        .13328E-03   -1.5107    
   6  Prefactor     3.5569        13.830        .21354E-03   -1.5331    
   7  Prefactor     24.324        18.053        .81237E-04   -1.4721    
   8  norm          2.1298        1.5292        .73677E-04   -1.5416    
   9  Prefactor     .10000E-03    4.0890        .20316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4672        .11288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          34.982        15.834        .67749E-04   -1.4524    
  12  norm          .10000E-03    13.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.3723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.5518        .13553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.545        35.534        .10882E-03   -1.4972    
  16  Prefactor     .10000E-03    4.7635        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.9308        .17501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.799        13.928        .85804E-04   -1.4774    
  19  Prefactor     .56887E-01    8.8127        .13460E-02   -1.5660    
  20  norm          14.812        3.0206        .55728E-04   -1.4938    
  21  Prefactor     40.783        26.871        .62767E-04   -1.4430    
  22  Prefactor     .10000E-03    2.1525        .10430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.5243        3.3198        .99911E-04   -1.5238    
  24  Normalizat    .65089        .23850        .30855E-03   -1.0586    
  25  Prefactor     1.3621        .25193        .24796E-03   -.81478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80402e-08
Minuit parameter uncertainties:
  1  9.41301
  2  0.000292622
  3  5.994
  4  0.00138429
  5  13.3144
  6  13.842
  7  18.0569
  8  1.52925
  9  0.000165334
  10  5.77806e-06
  11  15.8354
  12  4.53703e-06
  13  1.58002e-05
  14  2.15758e-06
  15  35.5891
  16  4.51822e-06
  17  5.67707e-06
  18  13.9296
  19  1.41506
  20  3.0206
  21  26.8786
  22  2.98726e-06
  23  3.3199
  24  0.238882
  25  0.25216
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.580e-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.362e+00  2.522e-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.509e-01  2.389e-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.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783191/likelihoodResults_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.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) = 5423.53541045
delta logL = -0.000568870435018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5423.53484176
delta logL = -1.80491952051e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2408       1.0000          .0000       10.000    
     3 'Normalizat'    .65083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3622       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=   5423.535     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    303.99        .90712E-02** at limit **
   2  Index         2.2398        5.4312        .50000        .85913E-06
   3  Normalizat    .65089        .29750E-01    .69717E-01    .45698E-04
   4  Prefactor     1.3621        .33501E-01    .56079E-01    .18056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23981
  Normalizat = 0.650891
  Prefactor  = 1.36213
 **********
 **   18 **HESSE 
 **********

 FCN=   5423.535     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2398        5.3182        .50000       -.58481    
   3  Normalizat    .65089        .22023        .30855E-03   -1.0586    
   4  Prefactor     1.3621        .24858        .24796E-03   -.81478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7075e-12
Minuit parameter uncertainties:
  1  6.86541e-06
  2  8.83058
  3  0.220532
  4  0.248798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783191': 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) = 5423.53484158
delta logL = 5.48425305169e-10

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  6.865e-06  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.240e+00  8.831e+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.362e+00  2.488e-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.509e-01  2.205e-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/783191/cmap_HighResolution_488678401_488937601_4FGL_J1125.9+2005_daily_bin962.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='7.03e-08', time_completed='2021-09-03 20:44:43.257330', job_id='783191', GAL2='1.36', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1630727083.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='5.48e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='962' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:44:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 783191: <4FGL_J1125.9+2005_daily_bin962> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin962 171.491 20.0912 488678401 488937601 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 :                                   726.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            778 sec.

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

