/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 1 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 = 7474
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1125.9+2005_daily_bin54
RA = 171.491, Dec = 20.0912
tmin = 253324801, tmax = 253584001
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='778504', job_status='RUN', time_executed='2021-09-03 20:16:41.996871', time_epoch_executed='1630725402.0' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='54'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778504/ft1_4FGL_J1125.9+2005_daily_bin54.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778504/ft1_4FGL_J1125.9+2005_daily_bin54.fits outfile=/scratch/kocevski/778504/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin54.fits ra=171.491 dec=20.0912 rad=12.0 tmin=253324801.0 tmax=253584001.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 1.59
user 1.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778504/ft1_filtered_4FGL_J1125.9+2005_daily_bin54.fits" evtable="EVENTS" scfile=/scratch/kocevski/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits sctable="SC_DATA" outfile=/scratch/kocevski/778504/ltcube_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.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/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits
.....................!
real 19.93
user 19.30
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778504/ft1_filtered_4FGL_J1125.9+2005_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits sctable="SC_DATA" expcube=/scratch/kocevski/778504/ltcube_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.fits outfile=/scratch/kocevski/778504/expmap_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.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/778504/ltcube_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.fits
.....................!
real 199.62
user 187.25
sys 5.50

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/778504/ft1_filtered_4FGL_J1125.9+2005_daily_bin54.fits scfile=/scratch/kocevski/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits outfile=/scratch/kocevski/778504/cmap_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.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.64
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778504/ft1_filtered_4FGL_J1125.9+2005_daily_bin54.fits scfile=/scratch/kocevski/778504/ft2_4FGL_J1125.9+2005_daily_bin54.fits outfile=/scratch/kocevski/778504/cmap_HighResolution_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.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.59
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9675       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.993       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.462       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .60330       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .39049E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0238       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    66.540       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .84760       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1708       1.0000         .10000E-03   10000.    
    20 'norm      '    12.649       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3200       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7043       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.9948       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87727       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0544       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=   6045.662     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2914 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.447       -.77814E-07** at limit **
   2  Prefactor     1.9676        1.9225        .44783E-07    .17497E-04
   3  Prefactor     .10000E-03    2.0834        .17817E-07** at limit **
   4  Prefactor     4.6732        7.7662        .58335E-06    .53518E-04
   5  Prefactor     11.994        11.550        .12261E-06    .54207E-05
   6  Prefactor     .10000E-03    4.6284       -.14687E-06** at limit **
   7  Prefactor     18.468        18.843       -.10525E-05    .11075E-04
   8  norm          .10000E-03    .72625        .20969E-07** at limit **
   9  Prefactor     .60350        1.9386        .57840E-06    .11210E-03
  10  Prefactor     .10000E-03    4.3786        .32280E-06** at limit **
  11  norm          .10000E-03    5.3735       -.62702E-06** at limit **
  12  norm          .10000E-03    7.4657       -.11548E-06** at limit **
  13  Prefactor     3.0249        9.2264        .50523E-05    .25567E-03
  14  Prefactor     .10000E-03    5.0729       -.62533E-07** at limit **
  15  Prefactor     66.521        38.403        .26157E-05   -.60781E-05
  16  Prefactor     .10000E-03    5.8426        .37169E-06** at limit **
  17  Prefactor     .10000E-03    4.8792       -.10707E-06** at limit **
  18  Prefactor     .86938        13.513        .38669E-05   -.32976E-03
  19  Prefactor     4.1712        2.2206        .20439E-08   -.64733E-04
  20  norm          12.650        2.8117       -.34860E-07    .75111E-05
  21  Prefactor     1.3223        52.280        .59215E-06    .35485E-05
  22  Prefactor     1.7042        3.1989        .49364E-06   -.27261E-04
  23  Prefactor     1.9948        2.0889       -.25002E-09   -.79934E-04
  24  Normalizat    .87718        .17756       -.37953E-06    .74384E-04
  25  Prefactor     1.0544        .18143       -.54777E-06    .53737E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.96764
  Prefactor  = 0.0001
  Prefactor  = 4.67316
  Prefactor  = 11.9941
  Prefactor  = 0.0001
  Prefactor  = 18.4676
  norm       = 0.0001
  Prefactor  = 0.603496
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.0249
  Prefactor  = 0.0001
  Prefactor  = 66.5209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.869382
  Prefactor  = 4.17122
  norm       = 12.6497
  Prefactor  = 1.32227
  Prefactor  = 1.70422
  Prefactor  = 1.99478
  Normalizat = 0.877185
  Prefactor  = 1.05445
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.662     FROM HESSE     STATUS=OK           437 CALLS     3351 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9676        1.9176        .10215E-03   -1.5427    
   3  Prefactor     .10000E-03    2.0922        .10958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6732        7.7019        .18612E-03   -1.5276    
   5  Prefactor     11.994        11.513        .11567E-03   -1.5015    
   6  Prefactor     .10000E-03    4.6528        .16331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.468        18.821        .93215E-04   -1.4848    
   8  norm          .10000E-03    1.4129        .12709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .60350        1.9146        .18533E-03   -1.5553    
  10  Prefactor     .10000E-03    4.4344        .15887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    14.501        .34693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    7.5687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0249        9.5365        .11669E-02   -1.5360    
  14  Prefactor     .10000E-03    5.0797        .17103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     66.521        38.524        .49202E-04   -1.4075    
  16  Prefactor     .10000E-03    5.8660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.8820        .16771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .86938        33.608        .44872E-02   -1.5521    
  19  Prefactor     4.1712        2.2155        .80504E-04   -1.5299    
  20  norm          12.650        2.8133        .59424E-04   -1.4996    
  21  Prefactor     1.3223        53.233        .38303E-03   -1.5478    
  22  Prefactor     1.7042        3.1626        .18019E-03   -1.5447    
  23  Prefactor     1.9948        2.0773        .11084E-03   -1.5425    
  24  Normalizat    .87718        .20520        .25488E-03   -.97267    
  25  Prefactor     1.0544        .21185        .25245E-03   -.90936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16907e-09
Minuit parameter uncertainties:
  1  3.03515e-06
  2  1.91762
  3  8.1054e-07
  4  7.70349
  5  11.5146
  6  4.84212e-06
  7  18.8272
  8  3.68888e-06
  9  1.91483
  10  6.72049e-07
  11  5.64758e-05
  12  9.31778e-06
  13  9.54125
  14  1.57409e-06
  15  38.5382
  16  3.36635e-06
  17  4.06899e-06
  18  10.8167
  19  2.21551
  20  2.81332
  21  16.7949
  22  3.16287
  23  2.07734
  24  0.20538
  25  0.212018
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.025e+00  9.541e+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

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.054e+00  2.120e-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:  8.772e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/778504/likelihoodResults_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.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) = 6045.62281314
delta logL = 0.0390149557479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6045.60302676
delta logL = 0.0588013357101

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3802       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7662       1.0000          .0000       10.000    
     3 'Normalizat'    .88225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0491       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=   6045.603     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      277 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3813        12.481        .17325E-03   -.87653E-03
   2  Index         1.7662        1.1032        .15761E-01   -.20071E-03
   3  Normalizat    .88233        .19415        .25418E-03    .23253E-03
   4  Prefactor     1.0490        .21000        .25299E-03    .33633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38125
  Index      = 1.76618
  Normalizat = 0.882326
  Prefactor  = 1.04896
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.603     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3813        12.407        .69302E-05   -1.5244    
   2  Index         1.7662        1.0974        .63046E-03   -.70333    
   3  Normalizat    .88233        .19427        .10167E-04   -.97084    
   4  Prefactor     1.0490        .21013        .50597E-04   -.91115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6787e-09
Minuit parameter uncertainties:
  1  12.4126
  2  1.11318
  3  0.194425
  4  0.210294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778504': 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) = 6045.60302662
delta logL = 0.0588014710002

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  5.381e+00  1.241e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  1.766e+00  1.113e+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.049e+00  2.103e-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:  8.823e-01  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/778504/cmap_HighResolution_253324801_253584001_4FGL_J1125.9+2005_daily_bin54.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2021-09-03 20:29:28.338105', job_id='778504', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630726168.34', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.88e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='54' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:29:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 778504: <4FGL_J1125.9+2005_daily_bin54> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin54 171.491 20.0912 253324801 253584001 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 :                                   757.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            787 sec.

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

