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


Performing analysis on: 4FGL_J2026.0-2845_daily_bin1635
RA = 306.505, Dec = -28.7546
tmin = 663120001, tmax = 663379201
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='885933', job_status='RUN', time_executed='2022-01-09 03:16:17.845639', time_epoch_executed='1641726977.85' WHERE source_name='4FGL J2026.0-2845' and cadence='daily' and bin_id='1635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885933

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885933/ft1_4FGL_J2026.0-2845_daily_bin1635.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885933/ft1_4FGL_J2026.0-2845_daily_bin1635.fits outfile=/scratch/kocevski/885933/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin1635.fits ra=306.505 dec=-28.7546 rad=12.0 tmin=663120001.0 tmax=663379201.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 2.83
user 2.60
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.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/885933/ft1_filteredMKT_4FGL_J2026.0-2845_daily_bin1635.fits evtable="EVENTS" outfile="/scratch/kocevski/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.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/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits" evtable="EVENTS" scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits sctable="SC_DATA" outfile=/scratch/kocevski/885933/ltcube_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.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/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits
.....................!
real 14.57
user 14.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits sctable="SC_DATA" expcube=/scratch/kocevski/885933/ltcube_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.fits outfile=/scratch/kocevski/885933/expmap_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.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/885933/ltcube_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.fits
.....................!
real 191.93
user 186.52
sys 4.77

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/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits outfile=/scratch/kocevski/885933/cmap_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits outfile=/scratch/kocevski/885933/cmap_HighResolution_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/885933/ft2_4FGL_J2026.0-2845_daily_bin1635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/885933/Model_4FGL_J2026.0-2845_daily_bin1635.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/885933/ft1_filtered_4FGL_J2026.0-2845_daily_bin1635.fits.....................!
real 28.91
user 27.52
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40889E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2961       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    152.25       1.0000         .10000E-03   10000.    
     6 'norm      '    44.654       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10832E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15604E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.914       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.842       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .27471       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3224       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=   2103.547     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1571 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1373.4       -.25765E-04** at limit **
   2  Prefactor     .10000E-03    27.257       -.13303E-06** at limit **
   3  norm          4.2973        4.2063        .74406E-06   -.13345E-02
   4  Prefactor     .10000E-03    127.53        .11727E-04** at limit **
   5  Prefactor     152.24        131.92        .12524E-05    .16256E-04
   6  norm          44.649        63.609        .85365E-06    .18235E-04
   7  Prefactor     .10000E-03    65.737       -.18891E-05** at limit **
   8  norm          .10000E-03    41.036        .22617E-05** at limit **
   9  Prefactor     .10000E-03    66.275       -.15597E-05** at limit **
  10  Prefactor     .10000E-03    6.6952        .31615E-06** at limit **
  11  Prefactor     .10000E-03    206.67       -.10754E-04** at limit **
  12  norm          .10000E-03    20.539        .18352E-06** at limit **
  13  Prefactor     44.946        40.630        .57709E-05    .75815E-04
  14  Prefactor     19.787        55.255        .42842E-05    .30974E-04
  15  Prefactor     .10000E-03    17.336        .12675E-05** at limit **
  16  Normalizat    .27436        .55204       -.72180E-04    .31301E-05
  17  Prefactor     1.3225        .23441        .13177E-04    .57271E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.29726
  Prefactor  = 0.0001
  Prefactor  = 152.237
  norm       = 44.6491
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 44.9463
  Prefactor  = 19.7872
  Prefactor  = 0.0001
  Normalizat = 0.274359
  Prefactor  = 1.32252
 **********
 **   18 **HESSE 
 **********

 FCN=   2103.547     FROM HESSE     STATUS=OK           215 CALLS     1786 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1372.9        .21254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2973        4.2252        .45024E-03   -1.5293    
   4  Prefactor     .10000E-03    127.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     152.24        132.02        .16334E-03   -1.3234    
   6  norm          44.649        63.682        .59997E-04   -1.4371    
   7  Prefactor     .10000E-03    65.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    41.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    66.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7075        .11591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    207.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    20.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.946        40.897        .59823E-04   -1.4366    
  14  Prefactor     19.787        55.437        .89917E-04   -1.4818    
  15  Prefactor     .10000E-03    17.833        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .27436        .55305        .73298E-03   -1.2440    
  17  Prefactor     1.3225        .23451        .15493E-03   -.82640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02751e-10
Minuit parameter uncertainties:
  1  0.00089175
  2  8.40521e-05
  3  4.22551
  4  0.000243036
  5  132.275
  6  63.7788
  7  5.01971e-07
  8  0.000131128
  9  3.56789e-05
  10  2.14915e-05
  11  0.000174659
  12  2.64754e-05
  13  40.9222
  14  55.5817
  15  0.000144557
  16  0.564647
  17  0.234699
Done.

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

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.568e-05  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.323e+00  2.347e-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:  2.744e-01  5.646e-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: 2.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/885933/likelihoodResults_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.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) = 2103.54720498
delta logL = -7.17102057024e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2103.54713403
delta logL = -7.63260231906e-07

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     '    3.4335       1.0000          .0000       10.000    
     3 'Normalizat'    .27435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3225       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=   2103.547     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      291 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    496.18        .18142E-01** at limit **
   2  Index         2.0683        8.4038        .50000        .55138E-07
   3  Normalizat    .27436        .29871E-01    .73291E-03    .63878E-04
   4  Prefactor     1.3225        .13279E-01    .15494E-03    .30891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.06831
  Normalizat = 0.274361
  Prefactor  = 1.32252
 **********
 **   18 **HESSE 
 **********

 FCN=   2103.547     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      320 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6155.4        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0683        8.8198        .50000       -.62653    
   3  Normalizat    .27436        .68520E-01    .29316E-04   -1.2440    
   4  Prefactor     1.3225        .30468E-01    .30987E-04   -.82640    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.78888e-10
Minuit parameter uncertainties:
  1  0.00927071
  2  3097.27
  3  0.0685413
  4  0.0304681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885933': 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) = 2103.54713314
delta logL = 1.23770860228e-07

Extracting fit parameters...

4FGL J2026.0-2845
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  9.271e-03  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.068e+00  3.097e+03  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.323e+00  3.047e-02  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:  2.744e-01  6.854e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/885933/cmap_HighResolution_663120001_663379201_4FGL_J2026.0-2845_daily_bin1635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-02', job_status='DONE', photon_flux_upper_limit='2.73e-07', time_completed='2022-01-09 03:22:57.918026', job_id='885933', GAL2='1.32', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1641727377.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1635' AND source_name='4FGL J2026.0-2845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  9 03:22:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 885933: <4FGL_J2026.0-2845_daily_bin1635> in cluster <slac> Done

Job <4FGL_J2026.0-2845_daily_bin1635> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan  9 03:10:36 2022
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  9 03:14:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  9 03:14:19 2022
Terminated at Sun Jan  9 03:22:58 2022
Results reported at Sun Jan  9 03:22:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2026.0-2845_daily_bin1635 306.505 -28.7546 663120001 663379201 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 :                                   402.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            742 sec.

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

