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


Performing analysis on: 4FGL_J2026.0-2845_daily_bin1631
RA = 306.505, Dec = -28.7546
tmin = 662083201, tmax = 662342401
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='559982', job_status='RUN', time_executed='2021-12-28 00:31:27.490604', time_epoch_executed='1640680287.49' WHERE source_name='4FGL J2026.0-2845' and cadence='daily' and bin_id='1631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/559982

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/559982/ft1_4FGL_J2026.0-2845_daily_bin1631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/559982/ft1_4FGL_J2026.0-2845_daily_bin1631.fits outfile=/scratch/kocevski/559982/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin1631.fits ra=306.505 dec=-28.7546 rad=12.0 tmin=662083201.0 tmax=662342401.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.89
user 3.65
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits" evtable="EVENTS" scfile=/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits sctable="SC_DATA" outfile=/scratch/kocevski/559982/ltcube_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.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/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits
.....................!
real 12.23
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits evtable="EVENTS" scfile=/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits sctable="SC_DATA" expcube=/scratch/kocevski/559982/ltcube_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.fits outfile=/scratch/kocevski/559982/expmap_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.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/559982/ltcube_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.fits
.....................!
real 190.62
user 184.67
sys 5.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/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits scfile=/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits outfile=/scratch/kocevski/559982/cmap_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.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/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits scfile=/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits outfile=/scratch/kocevski/559982/cmap_HighResolution_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits evtable="EVENTS" scfile=/scratch/kocevski/559982/ft2_4FGL_J2026.0-2845_daily_bin1631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/559982/Model_4FGL_J2026.0-2845_daily_bin1631.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/559982/ft1_filtered_4FGL_J2026.0-2845_daily_bin1631.fits.....................!
real 55.73
user 53.65
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.942       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8030       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6604       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .17992       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .91116E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .23525E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.689       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.716       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4675       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6040.707     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1377 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.947        1.3724       -.86845E-08   -.36600E-03
   2  Prefactor     6.8021        5.9281       -.47242E-05    .14822E-04
   3  norm          8.6587        2.5780       -.64284E-07    .19962E-04
   4  Prefactor     .10000E-03    24.244        .38001E-05** at limit **
   5  Prefactor     .10000E-03    20.442        .71364E-05** at limit **
   6  norm          .10004E-03    1795.8        .68877E-04** at limit **
   7  Prefactor     .10000E-03    201.85        .32190E-04** at limit **
   8  norm          .10000E-03    22.545       -.15289E-04** at limit **
   9  Prefactor     21.696        1.5267       -.35145E-06    .63094E-03
  10  Prefactor     .10000E-03    3.3804       -.45244E-06** at limit **
  11  Prefactor     .10000E-03    67.142       -.28426E-04** at limit **
  12  norm          .10000E-03    28.167       -.19905E-06** at limit **
  13  Prefactor     .10000E-03    6.1458       -.52215E-07** at limit **
  14  Prefactor     42.703        2.2246        .13518E-06   -.38414E-05
  15  Prefactor     .10000E-03    2.3539       -.18554E-05** at limit **
  16  Normalizat    1.4676        .33833        .30055E-05   -.83623E-06
  17  Prefactor     .94673        .13110        .14290E-05   -.19802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.9474
  Prefactor  = 6.80213
  norm       = 8.65871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.6963
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.7031
  Prefactor  = 0.0001
  Normalizat = 1.46758
  Prefactor  = 0.946727
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.707     FROM HESSE     STATUS=OK           261 CALLS     1638 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.947        48.169        .13291E-02   -1.4197    
   2  Prefactor     6.8021        5.9370        .38458E-02   -1.5186    
   3  norm          8.6587        2.5804        .34052E-02   -1.5119    
   4  Prefactor     .10000E-03    24.208        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.398        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10004E-03    12.767        .98856E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    195.82        .10411E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.3899        .10039       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.696        61.489        .21502E-02   -1.4776    
  10  Prefactor     .10000E-03    3.3640        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    67.905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    28.112        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1427        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.703        34.622        .15334E-02   -1.4400    
  15  Prefactor     .10000E-03    2.3500        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4676        .29137        .83806E-01   -.78694    
  17  Prefactor     .94673        .11086        .45596E-01   -.94527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.62222e-09
Minuit parameter uncertainties:
  1  48.2018
  2  5.93755
  3  2.58041
  4  6.40652e-05
  5  9.7618e-06
  6  0.00140133
  7  0.000151251
  8  4.59707e-06
  9  61.6691
  10  3.5808e-06
  11  0.00049601
  12  0.000147435
  13  1.93559e-05
  14  34.6382
  15  1.44254e-06
  16  0.291699
  17  0.110889
Done.

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

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  2.170e+01  6.167e+01  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.467e-01  1.109e-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.468e+00  2.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/559982/likelihoodResults_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.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) = 6040.70660895
delta logL = 0.000312428966026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6040.70654333
delta logL = 0.00037805856482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.415       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5364       1.0000          .0000       10.000    
     3 'Normalizat'    1.4686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94654       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=   6040.707     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.442        70.028        .84604E-04   -.16488E-03
   2  Index         2.5350        1.5661        .99752E-02   -.48086E-04
   3  Normalizat    1.4684        .34101        .37092E-03    .64979E-04
   4  Prefactor     .94651        .13089        .17252E-03   -.79326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4415
  Index      = 2.53502
  Normalizat = 1.46837
  Prefactor  = 0.946509
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.707     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.442        68.034        .16921E-04   -1.4760    
   2  Index         2.5350        1.5226        .39901E-03   -.51553    
   3  Normalizat    1.4684        .34129        .14837E-04   -.78671    
   4  Prefactor     .94651        .13096        .34505E-04   -.94534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12023e-10
Minuit parameter uncertainties:
  1  68.2703
  2  1.55557
  3  0.341826
  4  0.131004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/559982': 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) = 6040.70654127
delta logL = 0.000380113438041

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  2.244e+01  6.827e+01  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.535e+00  1.556e+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:  9.465e-01  1.310e-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.468e+00  3.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/559982/cmap_HighResolution_662083201_662342401_4FGL_J2026.0-2845_daily_bin1631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.71e-07', time_completed='2021-12-28 00:40:38.044020', job_id='559982', GAL2='0.95', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1640680838.04', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.80e-04', ts2='0.14', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1631' AND source_name='4FGL J2026.0-2845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 28 00:40:38 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 559982: <4FGL_J2026.0-2845_daily_bin1631> in cluster <slac> Done

Job <4FGL_J2026.0-2845_daily_bin1631> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 28 00:30:33 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 28 00:30:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 28 00:30:34 2021
Terminated at Tue Dec 28 00:40:38 2021
Results reported at Tue Dec 28 00:40:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2026.0-2845_daily_bin1631 306.505 -28.7546 662083201 662342401 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 :                                   551.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            605 sec.

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

