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


Performing analysis on: 4FGL_J2026.0-2845_daily_bin780
RA = 306.505, Dec = -28.7546
tmin = 441504001, tmax = 441763201
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='949276', job_status='RUN', time_executed='2021-09-25 06:37:02.617358', time_epoch_executed='1632577022.62' WHERE source_name='4FGL J2026.0-2845' and cadence='daily' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949276

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949276/ft1_4FGL_J2026.0-2845_daily_bin780.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949276/ft1_4FGL_J2026.0-2845_daily_bin780.fits outfile=/scratch/kocevski/949276/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin780.fits ra=306.505 dec=-28.7546 rad=12.0 tmin=441504001.0 tmax=441763201.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.51
user 3.15
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.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/949276/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin780.fits evtable="EVENTS" outfile="/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.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.55
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits" evtable="EVENTS" scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits sctable="SC_DATA" outfile=/scratch/kocevski/949276/ltcube_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.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/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits
.....................!
real 13.92
user 13.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits sctable="SC_DATA" expcube=/scratch/kocevski/949276/ltcube_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits outfile=/scratch/kocevski/949276/expmap_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.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/949276/ltcube_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits
.....................!
real 192.50
user 187.05
sys 4.55

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/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits outfile=/scratch/kocevski/949276/cmap_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits outfile=/scratch/kocevski/949276/cmap_HighResolution_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949276/Model_4FGL_J2026.0-2845_daily_bin780.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/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits.....................!
real 67.35
user 65.80
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits', '/scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits', expMap='/scratch/kocevski/949276/expmap_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits', expCube='/scratch/kocevski/949276/ltcube_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949276/Model_4FGL_J2026.0-2845_daily_bin780.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/949276/ft1_filtered_4FGL_J2026.0-2845_daily_bin780.fits
Spacecraft file(s): /scratch/kocevski/949276/ft2_4FGL_J2026.0-2845_daily_bin780.fits
Exposure map: /scratch/kocevski/949276/expmap_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits
Exposure cube: /scratch/kocevski/949276/ltcube_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949276/Model_4FGL_J2026.0-2845_daily_bin780.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) = 7359.99370135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.2737       1.0000         .10000E-03   10000.    
     3 'norm      '    .30757       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.469       1.0000         .10000E-03   10000.    
     6 'norm      '    9.7328       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11335E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.074       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10856E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.2584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .41875E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .70745       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .42558       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2516       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7359.962     FROM MIGRAD    STATUS=FAILED       581 CALLS     2093 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.765        .18142E-02** at limit **
   2  Prefactor     3.2728        6.1680        .22380E-03   -.10667E-04
   3  norm          .30749        .90022        .13783E-03   -.56749E-04
   4  Prefactor     .10000E-03    13.587        .18142E-02** at limit **
   5  Prefactor     20.465        22.550        .88530E-04   -.29407E-04
   6  norm          9.7279        18.311        .12845E-03   -.34695E-04
   7  Prefactor     .10000E-03    29.750        .18142E-02** at limit **
   8  norm          .10000E-03    11.253        .18142E-02** at limit **
   9  Prefactor     .10000E-03    63.827        .18142E-02** at limit **
  10  Prefactor     12.076        11.818        .57641E-03   -.10157E-04
  11  Prefactor     .10000E-03    84.181        .18142E-02** at limit **
  12  norm          3.2515        121.26        .22436E-03   -.12465E-04
  13  Prefactor     .10000E-03    23.878        .10193    ** at limit **
  14  Prefactor     .10000E-03    8.3393        .18142E-02** at limit **
  15  Prefactor     .68776        28.920        .43182E-02    .20667E-02
  16  Normalizat    .42565        .32468        .63835E-03   -.16367E-04
  17  Prefactor     1.2516        .11850        .14812E-03   -.36228E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7359.962     FROM SIMPLEX   STATUS=UNCHANGED    875 CALLS     2968 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.765        .66123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2728        6.1680        .98072E-07   -1.5346    
   3  norm          .30749        .90022        .99699E-07   -1.5597    
   4  Prefactor     .10000E-03    13.587        .58170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.465        22.550        .94569E-07   -1.4803    
   6  norm          9.7279        18.311        .96336E-07   -1.5084    
   7  Prefactor     .10000E-03    29.750        .43292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.253        .35974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    63.827        .68204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.076        11.818        .97150E-07   -1.5013    
  11  Prefactor     .10000E-03    84.181        .82470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.2515        121.26        .16591E-06   -1.5347    
  13  Prefactor     .10000E-03    23.878        .15486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.3393        .37139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68776        28.920        .10134E-06   -1.5542    
  16  Normalizat    .42565        .32468        .75396E-07   -1.1600    
  17  Prefactor     1.2516        .11850        .53964E-07   -.84757    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7359.962     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     3198 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.766        .36285E-03** at limit **
   2  Prefactor     3.2728        6.1658        .89522E-05    .81276E-06
   3  norm          .30750        .90008        .55131E-05    .41242E-06
   4  Prefactor     .10000E-03    13.587        .36285E-03** at limit **
   5  Prefactor     20.466        22.546        .35412E-05     .0000    
   6  norm          9.7279        18.305        .51380E-05     .0000    
   7  Prefactor     .10000E-03    29.752        .36285E-03** at limit **
   8  norm          .10000E-03    11.259        .36285E-03** at limit **
   9  Prefactor     .10000E-03    63.829        .36285E-03** at limit **
  10  Prefactor     12.076        11.805        .23056E-04    .18737E-05
  11  Prefactor     .10000E-03    84.183        .36285E-03** at limit **
  12  norm          3.2516        121.03        .89743E-05    .25336E-06
  13  Prefactor     .10000E-03    21.866        .10817    ** at limit **
  14  Prefactor     .10000E-03    8.3396        .36285E-03** at limit **
  15  Prefactor     .68776        28.731        .86364E-03    .33567E-05
  16  Normalizat    .42565        .32293        .25534E-04    .16919E-05
  17  Prefactor     1.2516        .11835        .59247E-05    .53728E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.27277
  norm       = 0.307496
  Prefactor  = 0.0001
  Prefactor  = 20.4655
  norm       = 9.72795
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0755
  Prefactor  = 0.0001
  norm       = 3.25161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.687757
  Normalizat = 0.425648
  Prefactor  = 1.25163
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.962     FROM HESSE     STATUS=OK           217 CALLS     3415 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.766        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2728        6.1655        .89522E-05   -1.5346    
   3  norm          .30750        .89993        .11026E-05   -1.5597    
   4  Prefactor     .10000E-03    13.587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.466        22.545        .35412E-05   -1.4803    
   6  norm          9.7279        18.305        .51380E-05   -1.5084    
   7  Prefactor     .10000E-03    29.752        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.259        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    63.829        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.076        11.803        .46113E-05   -1.5013    
  11  Prefactor     .10000E-03    84.183        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.2516        121.79        .17949E-05   -1.5347    
  13  Prefactor     .10000E-03    22.472        .10615       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.3396        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68776        28.611        .34546E-04   -1.5542    
  16  Normalizat    .42565        .32246        .51068E-05   -1.1600    
  17  Prefactor     1.2516        .11826        .11849E-05   -.84757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39617e-14
Minuit parameter uncertainties:
  1  1.59225e-09
  2  6.16665
  3  0.899966
  4  9.29625e-09
  5  22.5539
  6  18.3155
  7  4.25828e-08
  8  2.92958e-10
  9  2.62931e-07
  10  11.8052
  11  1.78362e-06
  12  39.8876
  13  1.67772e-05
  14  2.04407e-08
  15  8.87568
  16  0.323879
  17  0.11828
Done.

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

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.629e-07  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:  1.252e+00  1.183e-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:  4.256e-01  3.239e-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.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949276/likelihoodResults_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.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) = 7359.9624936
delta logL = -7.45493298382e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7359.96241909
delta logL = -3.97985786549e-08

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 'Index     '    2.5244       1.0000          .0000       10.000    
     3 'Normalizat'    .42566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2516       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.

 FCN=   7359.962     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8628.4        .90712E-02** at limit **
   2  Index         2.5442        5.9461        .50000       -.29646E-05
   3  Normalizat    .42565        .12356        .14405        .69972E-04
   4  Prefactor     1.2516        .47488E-01    .33511E-01   -.96465E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5442
  Normalizat = 0.425648
  Prefactor  = 1.25163
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.962     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5442        6.2703        .50000       -.51342    
   3  Normalizat    .42565        .29234        .63835E-03   -1.1600    
   4  Prefactor     1.2516        .11355        .14812E-03   -.84757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01142e-11
Minuit parameter uncertainties:
  1  4.25213e-05
  2  4.76975
  3  0.293401
  4  0.113569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949276': 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) = 7359.96241907
delta logL = -2.34731487581e-08

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  4.252e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.544e+00  4.770e+00  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:  1.252e+00  1.136e-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:  4.256e-01  2.934e-01  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/949276/cmap_HighResolution_441504001_441763201_4FGL_J2026.0-2845_daily_bin780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-09-25 06:49:21.742905', job_id='949276', GAL2='1.25', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1632577761.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='-2.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='780' AND source_name='4FGL J2026.0-2845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 06:49:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 949276: <4FGL_J2026.0-2845_daily_bin780> in cluster <slac> Done

Job <4FGL_J2026.0-2845_daily_bin780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 06:36:01 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 06:36:19 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:36:19 2021
Terminated at Sat Sep 25 06:49:22 2021
Results reported at Sat Sep 25 06:49:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2026.0-2845_daily_bin780 306.505 -28.7546 441504001 441763201 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 :                                   736.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            801 sec.

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

