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


Performing analysis on: 4FGL_J2026.0-2845_daily_bin1041
RA = 306.505, Dec = -28.7546
tmin = 509155201, tmax = 509414401
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='949658', job_status='RUN', time_executed='2021-09-25 06:42:35.928914', time_epoch_executed='1632577355.93' WHERE source_name='4FGL J2026.0-2845' and cadence='daily' and bin_id='1041'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949658/ft1_4FGL_J2026.0-2845_daily_bin1041.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949658/ft1_4FGL_J2026.0-2845_daily_bin1041.fits outfile=/scratch/kocevski/949658/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin1041.fits ra=306.505 dec=-28.7546 rad=12.0 tmin=509155201.0 tmax=509414401.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.72
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.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/949658/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin1041.fits evtable="EVENTS" outfile="/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits" evtable="EVENTS" scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits sctable="SC_DATA" outfile=/scratch/kocevski/949658/ltcube_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.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/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits
.....................!
real 14.47
user 14.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits sctable="SC_DATA" expcube=/scratch/kocevski/949658/ltcube_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits outfile=/scratch/kocevski/949658/expmap_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.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/949658/ltcube_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits
.....................!
real 193.11
user 188.19
sys 4.37

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2026.0-2845 @ 306.505 -28.7546

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits outfile=/scratch/kocevski/949658/cmap_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.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=306.505 yref=-28.7546 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits outfile=/scratch/kocevski/949658/cmap_HighResolution_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.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=306.505 yref=-28.7546 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949658/Model_4FGL_J2026.0-2845_daily_bin1041.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/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits.....................!
real 66.73
user 65.40
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits', '/scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits', expMap='/scratch/kocevski/949658/expmap_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits', expCube='/scratch/kocevski/949658/ltcube_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949658/Model_4FGL_J2026.0-2845_daily_bin1041.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2026.0-2845'

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  6.524e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.578e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  7.138e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/949658/ft1_filtered_4FGL_J2026.0-2845_daily_bin1041.fits
Spacecraft file(s): /scratch/kocevski/949658/ft2_4FGL_J2026.0-2845_daily_bin1041.fits
Exposure map: /scratch/kocevski/949658/expmap_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits
Exposure cube: /scratch/kocevski/949658/ltcube_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949658/Model_4FGL_J2026.0-2845_daily_bin1041.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) = 7550.11297198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.3893       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.396       1.0000         .10000E-03   10000.    
     6 'norm      '    16.415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13333E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7194       1.0000         .10000E-03   10000.    
    12 'norm      '    19.631       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.762       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18297E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3855       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7550.110     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1574 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.235       -.35192E-05** at limit **
   2  Prefactor     .10000E-03    3.9124       -.35347E-06** at limit **
   3  norm          2.3895        1.4465       -.30839E-07   -.12213E-03
   4  Prefactor     .10000E-03    7.2182       -.41735E-07** at limit **
   5  Prefactor     10.394        15.479        .17124E-06   -.82133E-05
   6  norm          16.416        13.799        .26433E-06   -.11798E-04
   7  Prefactor     .10000E-03    10.818       -.20511E-06** at limit **
   8  norm          .10000E-03    3.8094       -.11907E-06** at limit **
   9  Prefactor     .10000E-03    46.251        .12483E-05** at limit **
  10  Prefactor     .10000E-03    19.299       -.43067E-05** at limit **
  11  Prefactor     7.6624        244.27        .22616E-04    .10875E-04
  12  norm          19.631        25.548       -.66678E-07   -.10734E-04
  13  Prefactor     .10000E-03    21.395       -.85797E-06** at limit **
  14  Prefactor     33.766        35.685        .82835E-07   -.43586E-04
  15  Prefactor     .10000E-03    5.1670        .14486E-05** at limit **
  16  Normalizat    1.3852        .29359       -.54924E-05   -.11985E-03
  17  Prefactor     .94396        .99533E-01    .10781E-05   -.78935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.38953
  Prefactor  = 0.0001
  Prefactor  = 10.394
  norm       = 16.4159
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.6624
  norm       = 19.631
  Prefactor  = 0.0001
  Prefactor  = 33.7658
  Prefactor  = 0.0001
  Normalizat = 1.3852
  Prefactor  = 0.943958
 **********
 **   18 **HESSE 
 **********

 FCN=   7550.110     FROM HESSE     STATUS=OK           223 CALLS     1797 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0169        .33514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3895        1.4402        .78397E-04   -1.5399    
   4  Prefactor     .10000E-03    7.2191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.394        15.471        .12427E-03   -1.5063    
   6  norm          16.416        13.802        .98857E-04   -1.4897    
   7  Prefactor     .10000E-03    10.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.8193        .16560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.728        .33530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6624        245.51        .14433E-03   -1.5154    
  12  norm          19.631        25.497        .90397E-04   -1.4822    
  13  Prefactor     .10000E-03    21.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.766        35.789        .68965E-04   -1.4545    
  15  Prefactor     .10000E-03    27.423        .34756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3852        .31519        .39277E-03   -.81058    
  17  Prefactor     .94396        .11093        .16603E-03   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21494e-10
Minuit parameter uncertainties:
  1  0.00018054
  2  4.15348e-06
  3  1.4402
  4  7.32145e-07
  5  15.4771
  6  13.8048
  7  3.4623e-06
  8  2.99788e-06
  9  0.000153538
  10  0.000131044
  11  87.1377
  12  25.5114
  13  8.16367e-06
  14  35.8122
  15  0.000197877
  16  0.315628
  17  0.110952
Done.

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

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.535e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.578e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  7.138e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.440e-01  1.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.385e+00  3.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 306.505 -28.755
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949658/likelihoodResults_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.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) = 7550.11002006
delta logL = -0.000102624759165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7550.1099179
delta logL = -4.63894139102e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1529       1.0000          .0000       10.000    
     3 'Normalizat'    1.3852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94396       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+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=   7550.110     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      274 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10668E-03    28.854        .18142E-01** at limit **
   2  Index         2.9842        5.2308        .50000        .52088E-05
   3  Normalizat    1.3852        .62331E-02    .39276E-03    .14704E-04
   4  Prefactor     .94396        .22422E-02    .16603E-03    .23404E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010668
  Index      = 2.98415
  Normalizat = 1.38519
  Prefactor  = 0.94396
 **********
 **   18 **HESSE 
 **********

 FCN=   7550.110     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10668E-03    278.89        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9842        6.2680        .50000       -.41498    
   3  Normalizat    1.3852        .19470E-01    .15711E-04   -.81058    
   4  Prefactor     .94396        .70036E-02    .33206E-04   -.94621    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.02391e-08
Minuit parameter uncertainties:
  1  0.0867297
  2  923.321
  3  0.0194697
  4  0.0070036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949658': 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) = 7550.10991776
delta logL = -3.25187102135e-07

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.067e-04  8.673e-02  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.984e+00  9.233e+02  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  7.138e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.440e-01  7.004e-03  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.385e+00  1.947e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 306.505 -28.755

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/949658/cmap_HighResolution_509155201_509414401_4FGL_J2026.0-2845_daily_bin1041.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-25 06:52:51.576755', job_id='949658', GAL2='0.94', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1632577971.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-3.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1041' AND source_name='4FGL J2026.0-2845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 06:52:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 949658: <4FGL_J2026.0-2845_daily_bin1041> in cluster <slac> Done

Job <4FGL_J2026.0-2845_daily_bin1041> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 06:36:31 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 06:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 06:40:37 2021
Terminated at Sat Sep 25 06:52:52 2021
Results reported at Sat Sep 25 06:52:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2026.0-2845_daily_bin1041 306.505 -28.7546 509155201 509414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2026.0-2845 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   614.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            981 sec.

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

