aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 239 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2007.9-4432_daily_bin1730
RA = 301.983, Dec = -44.5363
tmin = 687744001, tmax = 688003201
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='467797', job_status='RUN', time_executed='2022-10-21 00:34:36.171095', time_epoch_executed='1666337676.17' WHERE source_name='4FGL J2007.9-4432' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467797/ft1_4FGL_J2007.9-4432_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467797/ft1_4FGL_J2007.9-4432_daily_bin1730.fits outfile=/scratch/kocevski/467797/ft1_filteredMKT_4FGL_J2007.9-4432_daily_bin1730.fits ra=301.983 dec=-44.5363 rad=12.0 tmin=687744001.0 tmax=688003201.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 4.91
user 4.67
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.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/467797/ft1_filteredMKT_4FGL_J2007.9-4432_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.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.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/467797/ltcube_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.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/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits
.....................!
real 11.71
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/467797/ltcube_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits outfile=/scratch/kocevski/467797/expmap_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.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/467797/ltcube_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits
.....................!
real 190.46
user 185.18
sys 4.97

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

Setting source of interest to:
4FGL J2007.9-4432 @ 301.983 -44.5363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits outfile=/scratch/kocevski/467797/cmap_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.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=301.983 yref=-44.5363 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/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits outfile=/scratch/kocevski/467797/cmap_HighResolution_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.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=301.983 yref=-44.5363 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467797/Model_4FGL_J2007.9-4432_daily_bin1730.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/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits.....................!
real 57.15
user 55.83
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits', '/scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits', expMap='/scratch/kocevski/467797/expmap_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits', expCube='/scratch/kocevski/467797/ltcube_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/467797/Model_4FGL_J2007.9-4432_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.9-4432'

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  7.940e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
349        alpha:  2.468e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.316e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/467797/ft1_filtered_4FGL_J2007.9-4432_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/467797/ft2_4FGL_J2007.9-4432_daily_bin1730.fits
Exposure map: /scratch/kocevski/467797/expmap_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits
Exposure cube: /scratch/kocevski/467797/ltcube_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/467797/Model_4FGL_J2007.9-4432_daily_bin1730.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) = 6592.0064105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30803E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .86440E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .99108E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3046       1.0000          .0000       .10000E+07
     5 'norm      '    .14119E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.9177       1.0000          .0000       .10000E+07
     7 'norm      '    .18393E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .16185E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .34214E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .53957E-07   1.0000          .0000       .10000E+07
    11 'norm      '    18.310       1.0000          .0000       .10000E+07
    12 'Prefactor '    75.646       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26387E-01   1.0000          .0000       .10000E+07
    14 'norm      '    1.5136       1.0000          .0000       .10000E+07
    15 'Normalizat'    .86888       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1191       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6591.997     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1090 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .95624        .43125E-07** at limit **
   2  Prefactor      .0000        2.5539        .17741E-06** at limit **
   3  Prefactor     .16653E-09    10.157       -.50458E-05** at limit **
   4  Prefactor     2.2842        1.3657       -.24583E-06   -.40097E-01
   5  norm          .27756E-09    6.6625       -.32973E-05** at limit **
   6  norm          3.9176        1.5878       -.92086E-06    .68875E-02
   7  norm           .0000        2.8849        .59046E-06** at limit **
   8  norm          .22204E-09    7.5168       -.20408E-05** at limit **
   9  norm           .0000        .51351        .13642E-05** at limit **
  10  norm          .16653E-09    1.0195       -.22214E-05** at limit **
  11  norm          18.359        2.1918        .20483E-06    .41277E-01
  12  Prefactor     73.196        121.43       -.63703E-05    .36224E-02
  13  Prefactor     .11102E-09    16.090       -.38452E-06** at limit **
  14  norm          1.5167        2.2676        .10145E-05    .12106E-02
  15  Normalizat    .87022        .31919        .51251E-04    .19355E-03
  16  Prefactor     1.1189        .12609        .46037E-05    .48094E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.28425
  norm       = 2.77556e-10
  norm       = 3.91756
  norm       = 0
  norm       = 2.22045e-10
  norm       = 0
  norm       = 1.66533e-10
  norm       = 18.3589
  Prefactor  = 73.1962
  Prefactor  = 1.11022e-10
  norm       = 1.51665
  Normalizat = 0.870218
  Prefactor  = 1.11892
 **********
 **   18 **HESSE 
 **********

 FCN=   6591.997     FROM HESSE     STATUS=OK           229 CALLS     1319 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .95535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.5503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    10.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2842        20.114        .67567E-03   -1.5678    
   5  norm          .27756E-09    6.6594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9176        1.5952        .50946E-03   -1.5668    
   7  norm           .0000        2.8838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22204E-09    7.5129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .51280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16653E-09    1.0191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.359        24.845        .23379E-03   -1.5622    
  12  Prefactor     73.196        122.20        .11498E-03   -1.5537    
  13  Prefactor     .11102E-09    15.821        .16648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5167        2.2899        .86878E-03   -1.5683    
  15  Normalizat    .87022        .28367        .99769E-01   -.97515    
  16  Prefactor     1.1189        .11129        .36904E-01   -.88864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75472e-07
Minuit parameter uncertainties:
  1  4.56612e-06
  2  5.12949e-06
  3  8.18873e-05
  4  13.5568
  5  8.7307e-05
  6  1.59525
  7  2.39095e-06
  8  8.01515e-05
  9  1.36729e-06
  10  2.75611e-05
  11  24.8453
  12  122.204
  13  8.09619e-05
  14  2.28992
  15  0.284155
  16  0.111316
Done.

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

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  2.220e-10  8.015e-05  0.000e+00  1.000e+06 ( 1.000e-12)
349        alpha:  2.468e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.316e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
634    Prefactor:  1.119e+00  1.113e-01  0.000e+00  1.000e+01 ( 1.000e+00)
635        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
636        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  8.702e-01  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 301.983 -44.536
Photon Flux Upper Limit: 8.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467797/likelihoodResults_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.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) = 6591.99736524
delta logL = -2.90976222459e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6591.99733616
delta logL = -1.78933987627e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63616E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    1.3579       1.0000          .0000       5.0000    
     3 'Normalizat'    .87026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1189       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6591.997     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      246 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.6577        .42118E-03** at limit **
   2  alpha         3.5944        1.0501       -.15878E-04     .0000    
   3  Normalizat    .87022        1.2068        .98828E-06   -.19690E-04
   4  Prefactor     1.1189        1.1373        .13680E-05   -.60776E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.59441
  Normalizat = 0.870217
  Prefactor  = 1.11892
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6591.997     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.6577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3578        1.1098       -.15878E-04    .45311    
   3  Normalizat    .87022        1.2068        .98828E-06   -.97515    
   4  Prefactor     1.1189        1.1373        .13680E-05   -.88864    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.82772e-12
Minuit parameter uncertainties:
  1  8.89341e-06
  2  1.09268
  3  1.24765
  4  1.1635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467797': 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): 101
logL (Free Index) = 6591.99733615
delta logL = 7.18500814401e-11

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  0.000e+00  8.893e-06  0.000e+00  1.000e+06 ( 1.000e-12)
349        alpha:  3.594e+00  1.093e+00  0.000e+00  5.000e+00 ( 1.000e+00)
350         beta:  1.316e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
634    Prefactor:  1.119e+00  1.164e+00  0.000e+00  1.000e+01 ( 1.000e+00)
635        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
636        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  8.702e-01  1.248e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 301.983 -44.536

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/467797/cmap_HighResolution_687744001_688003201_4FGL_J2007.9-4432_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='8.32e-08', time_completed='2022-10-21 00:43:11.683974', job_id='467797', GAL2='1.12', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1666338191.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='7.19e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1730' AND source_name='4FGL J2007.9-4432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:43:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 467797: <4FGL_J2007.9-4432_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2007.9-4432_daily_bin1730> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Oct 21 00:30:27 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:30:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:30:28 2022
Terminated at Fri Oct 21 00:43:12 2022
Results reported at Fri Oct 21 00:43:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2007.9-4432_daily_bin1730 301.983 -44.5363 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2007.9-4432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   518.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            765 sec.

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

