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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin235
RA = 171.491, Dec = 20.0912
tmin = 300240001, tmax = 300499201
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='779964', job_status='RUN', time_executed='2021-09-03 20:24:33.002237', time_epoch_executed='1630725873.0' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779964

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779964/ft1_4FGL_J1125.9+2005_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779964/ft1_4FGL_J1125.9+2005_daily_bin235.fits outfile=/scratch/kocevski/779964/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin235.fits ra=171.491 dec=20.0912 rad=12.0 tmin=300240001.0 tmax=300499201.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.48
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.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/779964/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/779964/ft1_filtered_4FGL_J1125.9+2005_daily_bin235.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779964/ft1_filtered_4FGL_J1125.9+2005_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/779964/ltcube_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.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/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits
.....................!
real 16.01
user 15.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779964/ft1_filtered_4FGL_J1125.9+2005_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/779964/ltcube_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.fits outfile=/scratch/kocevski/779964/expmap_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.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/779964/ltcube_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.fits
.....................!
real 191.43
user 186.59
sys 4.05

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/779964/ft1_filtered_4FGL_J1125.9+2005_daily_bin235.fits scfile=/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits outfile=/scratch/kocevski/779964/cmap_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779964/ft1_filtered_4FGL_J1125.9+2005_daily_bin235.fits scfile=/scratch/kocevski/779964/ft2_4FGL_J1125.9+2005_daily_bin235.fits outfile=/scratch/kocevski/779964/cmap_HighResolution_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5188       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1527       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.490       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9549       1.0000         .10000E-03   10000.    
    12 'norm      '    9.7800       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.038       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .97039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14711E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    2.6403       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4320       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.0144       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95815       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=   5745.397     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2934 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51546        7.1402       -.41583E-06   -.46784E-04
   2  Prefactor     2.9639        2.4583       -.10960E-06   -.11280E-03
   3  Prefactor     .10000E-03    8.1207       -.10746E-05** at limit **
   4  Prefactor     4.5263        8.7834        .43446E-05    .62727E-03
   5  Prefactor     17.221        12.012       -.14640E-05   -.12768E-03
   6  Prefactor     .10000E-03    3.3799        .96854E-07** at limit **
   7  Prefactor     .10000E-03    10.553        .10759E-05** at limit **
   8  norm          1.7904        1.4415        .11206E-06    .55005E-03
   9  Prefactor     2.1528        2.2787        .33345E-07    .26237E-04
  10  Prefactor     14.497        9.1559       -.53276E-07    .43792E-04
  11  norm          6.9594        10.039        .15286E-06    .47545E-04
  12  norm          9.7855        11.060        .29125E-07    .86879E-04
  13  Prefactor     .10000E-03    4.7582       -.41788E-07** at limit **
  14  Prefactor     .10000E-03    3.3169       -.90879E-07** at limit **
  15  Prefactor     .10000E-03    25.418       -.89632E-06** at limit **
  16  Prefactor     .10000E-03    2.4545       -.25587E-07** at limit **
  17  Prefactor     18.022        19.088        .28780E-05    .56024E-03
  18  Prefactor     .10044E-03    19.117       -.84540E-05** at limit **
  19  Prefactor     .10000E-03    .91571       -.17900E-06** at limit **
  20  norm          2.6404        1.4737       -.27902E-07    .28099E-03
  21  Prefactor     .10000E-03    7.3430        .11680E-05** at limit **
  22  Prefactor     7.4292        5.5578       -.24530E-06    .63484E-03
  23  Prefactor     7.0181        4.5172        .84396E-06    .11401E-02
  24  Normalizat    1.0924        .20200        .43184E-06    .85726E-03
  25  Prefactor     .95868        .19775       -.11344E-05    .51480E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.515455
  Prefactor  = 2.96385
  Prefactor  = 0.000100001
  Prefactor  = 4.52634
  Prefactor  = 17.2213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.79042
  Prefactor  = 2.15276
  Prefactor  = 14.4971
  norm       = 6.95942
  norm       = 9.78553
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.022
  Prefactor  = 0.000100443
  Prefactor  = 0.000100004
  norm       = 2.6404
  Prefactor  = 0.0001
  Prefactor  = 7.42924
  Prefactor  = 7.01806
  Normalizat = 1.09244
  Prefactor  = 0.958678
 **********
 **   18 **HESSE 
 **********

 FCN=   5745.397     FROM HESSE     STATUS=OK           431 CALLS     3365 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51546        25.388        .37876E-02   -1.5564    
   2  Prefactor     2.9639        2.4427        .10198E-03   -1.5364    
   3  Prefactor     .10000E-03    8.1974        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5263        9.2999        .94695E-03   -1.5282    
   5  Prefactor     17.221        12.141        .96515E-04   -1.4878    
   6  Prefactor     .10000E-03    3.3842        .13608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7904        1.4341        .77386E-04   -1.5440    
   9  Prefactor     2.1528        2.2696        .11336E-03   -1.5415    
  10  Prefactor     14.497        9.1691        .10522E-03   -1.4946    
  11  norm          6.9594        10.034        .15212E-03   -1.5180    
  12  norm          9.7855        11.118        .12814E-03   -1.5082    
  13  Prefactor     .10000E-03    4.7736        .16144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3179        .13483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.4556        .11598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.022        19.100        .94303E-04   -1.4859    
  18  Prefactor     .10044E-03    55.132        .40835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    36.384        .13250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.6404        1.4741        .66524E-04   -1.5383    
  21  Prefactor     .10000E-03    7.3267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.4292        5.5166        .13800E-03   -1.5163    
  23  Prefactor     7.0181        4.5599        .59033E-03   -1.5178    
  24  Normalizat    1.0924        .24136        .24820E-03   -.89995    
  25  Prefactor     .95868        .23337        .27821E-03   -.94120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58723e-08
Minuit parameter uncertainties:
  1  7.23759
  2  2.44283
  3  0.000174563
  4  9.30291
  5  12.1428
  6  1.95736e-07
  7  2.58138e-05
  8  1.43411
  9  2.26974
  10  9.16996
  11  10.0362
  12  11.1206
  13  7.28428e-06
  14  9.00794e-07
  15  7.23657e-05
  16  3.11921e-06
  17  19.1066
  18  0.00989253
  19  0.000802009
  20  1.4741
  21  2.15172e-05
  22  5.51697
  23  4.5601
  24  0.241602
  25  0.233611
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  7.284e-06  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:  9.587e-01  2.336e-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:  1.092e+00  2.416e-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: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779964/likelihoodResults_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.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): 102
logL (Free Index) = 5745.39817227
delta logL = -0.000996526530798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5745.39717568
delta logL = 5.70507836528e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2244       1.0000          .0000       10.000    
     3 'Normalizat'    1.0924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95868       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=   5745.397     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10342E-03    2.4973        .16338E-01** at limit **
   2  Index         2.0474        8.5033        .50000        .17395E-04
   3  Normalizat    1.0924        .31914E-02    .24820E-03   -.13201E-03
   4  Prefactor     .95868        .33929E-02    .27821E-03    .56228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103424
  Index      = 2.04744
  Normalizat = 1.09243
  Prefactor  = 0.958683
 **********
 **   18 **HESSE 
 **********

 FCN=   5745.397     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10342E-03    155.10        .17044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0474        8.0761        .50000       -.63169    
   3  Normalizat    1.0924        .25894E-01    .99280E-05   -.89995    
   4  Prefactor     .95868        .27527E-01    .11128E-04   -.94120    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.01959e-07
Minuit parameter uncertainties:
  1  0.0462096
  2  907.377
  3  0.0258948
  4  0.0275278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779964': 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): 102
logL (Free Index) = 5745.39717494
delta logL = 8.05171112006e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  9.587e-01  2.753e-02  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:  1.092e+00  2.589e-02  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/779964/cmap_HighResolution_300240001_300499201_4FGL_J1125.9+2005_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-03 20:36:52.620351', job_id='779964', GAL2='0.96', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630726612.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='235' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:36:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 779964: <4FGL_J1125.9+2005_daily_bin235> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin235> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 20:21:01 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:21:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 20:21:16 2021
Terminated at Fri Sep  3 20:36:53 2021
Results reported at Fri Sep  3 20:36:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin235 171.491 20.0912 300240001 300499201 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 :                                   737.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            952 sec.

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

