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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1747
RA = 181.432, Dec = -26.5946
tmin = 692150401, tmax = 692409601
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='800803', job_status='RUN', time_executed='2022-12-11 00:53:15.395992', time_epoch_executed='1670748795.4' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800803

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800803/ft1_4FGL_J1205.7-2635_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800803/ft1_4FGL_J1205.7-2635_daily_bin1747.fits outfile=/scratch/kocevski/800803/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1747.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=692150401.0 tmax=692409601.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.00
user 3.73
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.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/800803/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.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.34
sys 0.15

Number of photons that the gtmktime cut: 1032

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/800803/ltcube_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.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/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits
.....................!
real 12.04
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/800803/ltcube_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits outfile=/scratch/kocevski/800803/expmap_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.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/800803/ltcube_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits
.....................!
real 192.41
user 186.82
sys 5.11

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

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits outfile=/scratch/kocevski/800803/cmap_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.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=181.432 yref=-26.5946 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits outfile=/scratch/kocevski/800803/cmap_HighResolution_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.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=181.432 yref=-26.5946 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/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800803/Model_4FGL_J1205.7-2635_daily_bin1747.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/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits.....................!
real 86.22
user 84.75
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits', '/scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits', expMap='/scratch/kocevski/800803/expmap_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits', expCube='/scratch/kocevski/800803/ltcube_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/800803/Model_4FGL_J1205.7-2635_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/800803/ft1_filtered_4FGL_J1205.7-2635_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/800803/ft2_4FGL_J1205.7-2635_daily_bin1747.fits
Exposure map: /scratch/kocevski/800803/expmap_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits
Exposure cube: /scratch/kocevski/800803/ltcube_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/800803/Model_4FGL_J1205.7-2635_daily_bin1747.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) = 10874.8779871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.070       1.0000          .0000       .10000E+07
     2 'norm      '    .84952       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67687E-01   1.0000          .0000       .10000E+07
     4 'norm      '    12.354       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.9004       1.0000          .0000       .10000E+07
     6 'norm      '    18.542       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.2942       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82159       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.083       1.0000          .0000       .10000E+07
    10 'Prefactor '    .94202E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54893E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .95671E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.6743       1.0000          .0000       .10000E+07
    14 'norm      '    .52625E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .69921E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .97244       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97410       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10874.08     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      983 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.930        8.6514       -.84603E-07   -.53376E-02
   2  norm          .84966        .79690       -.28391E-08   -.53912E-03
   3  Prefactor     .55927E-01    33.839       -.23302E-05** at limit **
   4  norm          12.365        2.5918        .14956E-06   -.67527E-01
   5  Prefactor     9.9289        5.1574       -.33963E-06   -.85569E-01
   6  norm          18.533        4.6660        .55216E-07    .32029E-01
   7  Prefactor     5.3000        3.9685        .36495E-07    .36500E-02
   8  Prefactor     .86314        .52055       -.32484E-07   -.11105E-01
   9  Prefactor     9.9952        1.1769        .36244E-07   -.49177E-01
  10  Prefactor     .37970E-07    3.6074        .35517E-06** at limit **
  11  Prefactor     .55511E-09    10.220        .36798E-06** at limit **
  12  Prefactor     .34694E-07    3.6422       -.23826E-06** at limit **
  13  Prefactor     7.6952        9.0814        .71211E-06   -.12590E-01
  14  norm           .0000        .46848       -.42643E-07** at limit **
  15  Prefactor     .80491E-08    44.391       -.14955E-05** at limit **
  16  Normalizat    .97262        .20779       -.35723E-05    .42148E-04
  17  Prefactor     .97415        .10270        .25692E-05    .13462E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.93
  norm       = 0.849661
  Prefactor  = 0.0559269
  norm       = 12.3648
  Prefactor  = 9.92887
  norm       = 18.5327
  Prefactor  = 5.29999
  Prefactor  = 0.863142
  Prefactor  = 9.99521
  Prefactor  = 3.79696e-08
  Prefactor  = 5.55112e-10
  Prefactor  = 3.46945e-08
  Prefactor  = 7.69525
  norm       = 0
  Prefactor  = 8.04912e-09
  Normalizat = 0.972624
  Prefactor  = 0.974152
 **********
 **   18 **HESSE 
 **********

 FCN=   10874.08     FROM HESSE     STATUS=OK           269 CALLS     1252 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.930        8.6301        .25774E-03   -1.5631    
   2  norm          .84966        .79535        .49314E-03   -1.5690    
   3  Prefactor     .55927E-01    1.2874        .76846E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.365        12.213        .28474E-03   -1.5638    
   5  Prefactor     9.9289        10.937        .31822E-03   -1.5645    
   6  norm          18.533        5.3767        .23232E-03   -1.5622    
   7  Prefactor     5.3000        4.1182        .43658E-03   -1.5662    
   8  Prefactor     .86314        14.900        .51339E-03   -1.5689    
   9  Prefactor     9.9952        15.157        .31532E-03   -1.5645    
  10  Prefactor     .37970E-07    6.3153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-09    10.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .34694E-07    6.2568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6952        11.736        .36175E-03   -1.5652    
  14  norm           .0000        .44717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .80491E-08    44.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .97262        .17564        .76903E-01   -.93953    
  17  Prefactor     .97415        .86030E-01    .45943E-01   -.93596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35271e-07
Minuit parameter uncertainties:
  1  8.63015
  2  0.795351
  3  0.536657
  4  12.2132
  5  10.9369
  6  5.37669
  7  4.11825
  8  7.17239
  9  15.1567
  10  0.00097923
  11  0.000148509
  12  0.000931676
  13  11.7364
  14  8.05468e-07
  15  0.00119314
  16  0.175744
  17  0.0860422
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.300e+00  4.118e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.742e-01  8.604e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  9.726e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.46
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 3.81e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.07e-05

TS (Fixed Index): 2.46
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800803/likelihoodResults_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.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) = 10874.0578436
delta logL = 0.0194988109815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10874.0471984
delta logL = 0.030144008424

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6277       1.0000          .0000       .10000E+07
     2 'Index     '    2.6910       1.0000          .0000       10.000    
     3 'Normalizat'    .96627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   10874.05     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      253 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6274        4.9886        .15730E-04   -.40617E-03
   2  Index         2.6911        .73727        .78228E-02    .44409E-03
   3  Normalizat    .96624        .20467        .34132E-03   -.14762E-03
   4  Prefactor     .97646        .10273        .17083E-03   -.41988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.62741
  Index      = 2.69111
  Normalizat = 0.966235
  Prefactor  = 0.976461
 **********
 **   18 **HESSE 
 **********

 FCN=   10874.05     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6274        4.6599        .62921E-06   -1.5665    
   2  Index         2.6911        .68883        .15646E-02   -.48000    
   3  Normalizat    .96624        .20469        .13653E-04   -.94170    
   4  Prefactor     .97646        .10272        .34166E-04   -.93518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59901e-11
Minuit parameter uncertainties:
  1  4.65992
  2  0.691626
  3  0.204855
  4  0.10274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800803': 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) = 10874.0471983
delta logL = 0.0301440561398

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.627e+00  4.660e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.691e+00  6.916e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.765e-01  1.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  9.662e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.69 +/- 0.69
Photon Flux (Free Index): 5.32e-08 +/- 4.14e-08
Energy Flux (Free Index): 1.29e-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/800803/cmap_HighResolution_692150401_692409601_4FGL_J1205.7-2635_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-03', comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='1.29e-05', photon_flux_error='3.81e-08', dlogl='3.01e-02', energy_flux='1.38e-05', photon_flux2='5.32e-08', job_status='DONE', time_completed='2022-12-11 01:04:34.227016', photon_index_error2='0.69', photon_index2='2.69', ts='2.46', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.02e-05', EG='0.97', time_epoch_completed='1670749474.23', return_code='0', job_id='800803', GAL2='0.98', EG2='0.97', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.14e-08', ts2='2.53', photon_index='2.53' WHERE bin_id='1747' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:04:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 800803: <4FGL_J1205.7-2635_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:50:19 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:50:20 2022
Terminated at Sun Dec 11 01:04:35 2022
Results reported at Sun Dec 11 01:04:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1747 181.432 -26.5946 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

