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


Performing analysis on: 4FGL_J0807.7-1206_daily_bin1779
RA = 121.934, Dec = -12.1043
tmin = 700444801, tmax = 700704001
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='12718', job_status='RUN', time_executed='2023-03-17 00:53:52.872786', time_epoch_executed='1679039632.87' WHERE source_name='4FGL J0807.7-1206' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12718/ft1_4FGL_J0807.7-1206_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12718/ft1_4FGL_J0807.7-1206_daily_bin1779.fits outfile=/scratch/kocevski/12718/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1779.fits ra=121.934 dec=-12.1043 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.28
user 5.02
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.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/12718/ft1_filteredMKT_4FGL_J0807.7-1206_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.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.50
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 866

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/12718/ltcube_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.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/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits
.....................!
real 11.70
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/12718/ltcube_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits outfile=/scratch/kocevski/12718/expmap_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.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/12718/ltcube_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits
.....................!
real 190.07
user 185.32
sys 4.42

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

Setting source of interest to:
4FGL J0807.7-1206 @ 121.934 -12.1043

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits outfile=/scratch/kocevski/12718/cmap_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.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=121.934 yref=-12.1043 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits outfile=/scratch/kocevski/12718/cmap_HighResolution_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.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=121.934 yref=-12.1043 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12718/Model_4FGL_J0807.7-1206_daily_bin1779.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/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits.....................!
real 121.55
user 120.20
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits', '/scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits', expMap='/scratch/kocevski/12718/expmap_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits', expCube='/scratch/kocevski/12718/ltcube_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12718/Model_4FGL_J0807.7-1206_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0807.7-1206'

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  1.175e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.671e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12718/ft1_filtered_4FGL_J0807.7-1206_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/12718/ft2_4FGL_J0807.7-1206_daily_bin1779.fits
Exposure map: /scratch/kocevski/12718/expmap_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits
Exposure cube: /scratch/kocevski/12718/ltcube_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12718/Model_4FGL_J0807.7-1206_daily_bin1779.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) = 9207.03520156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0121       1.0000          .0000       .10000E+07
     2 'Prefactor '    .53080E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    21.324       1.0000          .0000       .10000E+07
     4 'norm      '    .37312E-01   1.0000          .0000       .10000E+07
     5 'norm      '    1.6527       1.0000          .0000       .10000E+07
     6 'norm      '    .13343E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27595E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .15779E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .69169E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27139E-03   1.0000          .0000       .10000E+07
    11 'norm      '    3.1885       1.0000          .0000       .10000E+07
    12 'Prefactor '    .35269       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.0060       1.0000          .0000       .10000E+07
    14 'norm      '    19.419       1.0000          .0000       .10000E+07
    15 'norm      '    4.3007       1.0000          .0000       .10000E+07
    16 'norm      '    2.1200       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12759       1.0000          .0000       .10000E+07
    18 'norm      '    10.294       1.0000          .0000       .10000E+07
    19 'Normalizat'    .81094       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0471       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9207.033     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1521 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0124        1.5091        .80409E-08   -.27785E-03
   2  Prefactor     .71998E-07    9.7592       -.15747E-07** at limit **
   3  Prefactor     21.447        25.480        .53222E-07   -.24031E-01
   4  norm           .0000        26.752        .19534E-07** at limit **
   5  norm          1.6526        1.8319       -.49161E-07   -.32128E-02
   6  norm          .83267E-09    12.948        .25232E-06** at limit **
   7  Prefactor     .79936E-08    2.4369       -.44033E-07** at limit **
   8  norm          .17120E-06    6.3288       -.32166E-07** at limit **
   9  norm          .37992E-06    7.2505        .21162E-06** at limit **
  10  Prefactor     .38369E-06    3.3793        .11613E-06** at limit **
  11  norm          3.1913        1.4360       -.19456E-08   -.25410E-02
  12  Prefactor     .29459        47.733       -.12639E-06   -.28990E-03
  13  Prefactor     8.0331        4.7833        .13618E-07    .62269E-03
  14  norm          19.581        23.346        .46886E-07    .10423E-01
  15  norm          4.2960        3.2128        .27985E-07    .10916E-02
  16  norm          2.2287        7.5181       -.41815E-07   -.75340E-03
  17  Prefactor     .16653E-09    34.645        .19445E-06** at limit **
  18  norm          10.272        8.2515       -.46244E-08   -.51637E-02
  19  Normalizat    .81029        .21484       -.96658E-06   -.11185E-03
  20  Prefactor     1.0471        .68971E-01   -.61184E-06   -.40782E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01243
  Prefactor  = 7.1998e-08
  Prefactor  = 21.447
  norm       = 0
  norm       = 1.65262
  norm       = 8.32667e-10
  Prefactor  = 7.99361e-09
  norm       = 1.71196e-07
  norm       = 3.79918e-07
  Prefactor  = 3.83693e-07
  norm       = 3.19132
  Prefactor  = 0.29459
  Prefactor  = 8.03307
  norm       = 19.5813
  norm       = 4.29601
  norm       = 2.22868
  Prefactor  = 1.66533e-10
  norm       = 10.2721
  Normalizat = 0.810294
  Prefactor  = 1.04711
 **********
 **   18 **HESSE 
 **********

 FCN=   9207.033     FROM HESSE     STATUS=OK           347 CALLS     1868 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0124        1.5130        .72952E-03   -1.5680    
   2  Prefactor     .71998E-07    10.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.447        40.449        .21661E-03   -1.5615    
   4  norm           .0000        5.2845        .11954E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6526        1.8286        .82083E-03   -1.5682    
   6  norm          .83267E-09    12.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79936E-08    2.4895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .17120E-06    7.5245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .37992E-06    1.7155        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .38369E-06    6.0931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1913        1.4690        .56723E-03   -1.5672    
  12  Prefactor     .29459        9.4101        .95186E-02   -1.5697    
  13  Prefactor     8.0331        4.8010        .35412E-03   -1.5651    
  14  norm          19.581        28.452        .22701E-03   -1.5619    
  15  norm          4.2960        3.2132        .48554E-03   -1.5667    
  16  norm          2.2287        7.5752        .70806E-03   -1.5678    
  17  Prefactor     .16653E-09    34.111        .13240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.272        8.2568        .31206E-03   -1.5644    
  19  Normalizat    .81029        .21099        .11010       -.99688    
  20  Prefactor     1.0471        .65901E-01    .40085E-01   -.91175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55704e-07
Minuit parameter uncertainties:
  1  1.51301
  2  0.00172074
  3  40.4499
  4  1.58096e-05
  5  1.82857
  6  0.000205869
  7  0.000282509
  8  0.00226997
  9  0.00161467
  10  0.00305808
  11  1.46897
  12  3.32994
  13  4.80103
  14  28.4519
  15  3.21325
  16  7.57528
  17  0.00014672
  18  8.2568
  19  0.211205
  20  0.0659061
Done.

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

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  3.837e-07  3.058e-03  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  2.671e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.047e+00  6.591e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.103e-01  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.934 -12.104
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12718/likelihoodResults_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.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) = 9203.81212741
delta logL = 3.22116566341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9207.0332966
delta logL = -3.525041393e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15391E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9135       1.0000          .0000       10.000    
     3 'Normalizat'    .81019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0472       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9203.620     FROM MIGRAD    STATUS=CONVERGED    198 CALLS      443 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96777E-03    .71171E-02    .42118E-04** at limit **
   2  Index         9.3481        7.9523        .24521        .52301E-04
   3  Normalizat    .66486        .80432E-01    .12005        .42134E-04
   4  Prefactor     1.0687        .26826E-01    .40078E-01   -.29969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000967768
  Index      = 9.34812
  Normalizat = 0.664862
  Prefactor  = 1.06867
 **********
 **   18 **HESSE 
 **********

 FCN=   9203.620     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      478 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96777E-03    .12326E-01    .14595E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.3481        8.7139        .11862E-01    1.0544    
   3  Normalizat    .66486        .18710        .53282E-03   -1.0530    
   4  Prefactor     1.0687        .61556E-01    .14264E-03   -.90474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12489e-07
Minuit parameter uncertainties:
  1  0.00690746
  2  4.241
  3  0.187276
  4  0.0615605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12718': 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) = 9203.62018648
delta logL = 3.41310659515

Extracting fit parameters...

4FGL J0807.7-1206
   Spectrum: PowerLaw
269    Prefactor:  9.678e-04  6.907e-03  0.000e+00  1.000e+06 ( 1.000e-12)
270        Index:  9.348e+00  4.241e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.069e+00  6.156e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  6.649e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.30
Ra Dec: 121.934 -12.104
Photon Index (Free Index): 9.35 +/- 4.24
Photon Flux (Free Index): 1.79e-07 +/- 8.61e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.02e-05

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/12718/cmap_HighResolution_700444801_700704001_4FGL_J0807.7-1206_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', energy_flux2='2.03e-05', dlogl='3.41e+00', photon_flux2='1.79e-07', job_status='DONE', time_completed='2023-03-17 01:05:36.694402', photon_index_error2='4.24', photon_index2='9.35', ts='-0.00', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.02e-05', EG='0.81', time_epoch_completed='1679040336.69', return_code='0', job_id='12718', GAL2='1.07', EG2='0.66', return_code2='102', photon_flux_error2='8.61e-08', ts2='7.30', photon_index='2.67' WHERE bin_id='1779' AND source_name='4FGL J0807.7-1206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:05:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0116>
Subject: Job 12718: <4FGL_J0807.7-1206_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0807.7-1206_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 00:50:22 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:50:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:50:23 2023
Terminated at Fri Mar 17 01:05:37 2023
Results reported at Fri Mar 17 01:05:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0807.7-1206_daily_bin1779 121.934 -12.1043 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0807.7-1206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   706.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            915 sec.

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

