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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1776
RA = 331.892, Dec = -53.7719
tmin = 699667201, tmax = 699926401
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='845081', job_status='RUN', time_executed='2023-03-08 01:21:21.734274', time_epoch_executed='1678267281.73' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845081/ft1_4FGL_J2207.5-5346_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845081/ft1_4FGL_J2207.5-5346_daily_bin1776.fits outfile=/scratch/kocevski/845081/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1776.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=699667201.0 tmax=699926401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.90
user 3.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.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/845081/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.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.16

Number of photons that the gtmktime cut: 655

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/845081/ltcube_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.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/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits
.....................!
real 11.75
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/845081/ltcube_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits outfile=/scratch/kocevski/845081/expmap_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.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/845081/ltcube_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits
.....................!
real 190.16
user 184.99
sys 4.84

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 J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits outfile=/scratch/kocevski/845081/cmap_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.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=331.892 yref=-53.7719 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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits outfile=/scratch/kocevski/845081/cmap_HighResolution_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.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=331.892 yref=-53.7719 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845081/Model_4FGL_J2207.5-5346_daily_bin1776.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/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits.....................!
real 53.63
user 52.42
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits', '/scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits', expMap='/scratch/kocevski/845081/expmap_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits', expCube='/scratch/kocevski/845081/ltcube_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/845081/Model_4FGL_J2207.5-5346_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/845081/ft1_filtered_4FGL_J2207.5-5346_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/845081/ft2_4FGL_J2207.5-5346_daily_bin1776.fits
Exposure map: /scratch/kocevski/845081/expmap_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits
Exposure cube: /scratch/kocevski/845081/ltcube_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/845081/Model_4FGL_J2207.5-5346_daily_bin1776.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) = 7056.62950826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13387E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.939       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0236       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13553E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.5729       1.0000          .0000       .10000E+07
     6 'norm      '    .11687       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.9866       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3616       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1714       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.247       1.0000          .0000       .10000E+07
    11 'norm      '    .14633E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2637       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.1822       1.0000          .0000       .10000E+07
    14 'Prefactor '    .90087E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    52.281       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30707       1.0000          .0000       .10000E+07
    17 'Normalizat'    .79167       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7056.624     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1307 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    1.6081       -.46508E-07** at limit **
   2  Prefactor     13.933        2.0347        .48200E-08    .23934E-01
   3  Prefactor     6.0263        6.6146       -.53604E-07   -.57188E-01
   4  Prefactor     .12382E-05    6.5173       -.29073E-06** at limit **
   5  Prefactor     4.5643        3.6841       -.77085E-07   -.33443E-02
   6  norm          .11688        .76122       -.36118E-07** at limit **
   7  Prefactor     7.1300        24.201        .11577E-06   -.19355E-01
   8  Prefactor     4.3693        6.4247       -.42551E-07    .32806E-03
   9  Prefactor     6.2063        4.0596       -.18155E-07   -.37451E-02
  10  Prefactor     23.240        1.6286       -.51762E-08    .12466E-01
  11  norm          .38858E-09    2.9875        .14985E-06** at limit **
  12  Prefactor     1.2650        1.9141       -.24262E-09    .14851E-03
  13  Prefactor     6.1768        4.9942       -.16986E-07   -.41390E-02
  14  Prefactor     .13031E-05    6.3531       -.28854E-06** at limit **
  15  Prefactor     52.240        8.4327       -.17725E-07    .69370E-01
  16  Prefactor     .63727E-07    41.375        .34199E-06** at limit **
  17  Normalizat    .79222        .18439        .11087E-05    .37388E-04
  18  Prefactor     .93288        .14041       -.17815E-06    .24600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 13.9334
  Prefactor  = 6.02635
  Prefactor  = 1.23823e-06
  Prefactor  = 4.56425
  norm       = 0.116878
  Prefactor  = 7.13
  Prefactor  = 4.36927
  Prefactor  = 6.20627
  Prefactor  = 23.2405
  norm       = 3.88578e-10
  Prefactor  = 1.26497
  Prefactor  = 6.17681
  Prefactor  = 1.30307e-06
  Prefactor  = 52.2399
  Prefactor  = 6.37268e-08
  Normalizat = 0.792217
  Prefactor  = 0.932879
 **********
 **   18 **HESSE 
 **********

 FCN=   7056.624     FROM HESSE     STATUS=OK           288 CALLS     1595 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    1.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.933        15.163        .26802E-03   -1.5633    
   3  Prefactor     6.0263        6.8309        .40887E-03   -1.5659    
   4  Prefactor     .12382E-05    9.9611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5643        3.6963        .47049E-03   -1.5665    
   6  norm          .11688        .43835        .20287E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1300        28.707        .37931E-03   -1.5655    
   8  Prefactor     4.3693        7.1280        .48205E-03   -1.5666    
   9  Prefactor     6.2063        4.0741        .40388E-03   -1.5658    
  10  Prefactor     23.240        72.666        .20745E-03   -1.5612    
  11  norm          .38858E-09    2.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2650        1.9530        .99106E-03   -1.5685    
  13  Prefactor     6.1768        5.0259        .40352E-03   -1.5658    
  14  Prefactor     .13031E-05    10.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.240        37.966        .13831E-03   -1.5563    
  16  Prefactor     .63727E-07    39.976        .10116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .79222        .16055        .43502E-01   -1.0036    
  18  Prefactor     .93288        .12079        .45428E-01   -.95001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47059e-07
Minuit parameter uncertainties:
  1  2.41283e-05
  2  15.1629
  3  6.83087
  4  0.00702403
  5  3.69627
  6  0.438346
  7  28.6137
  8  7.12798
  9  4.07409
  10  72.6688
  11  7.00046e-05
  12  1.953
  13  5.02592
  14  0.00722114
  15  37.9666
  16  0.00319224
  17  0.160642
  18  0.120829
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.206e+00  4.074e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.329e-01  1.208e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.922e-01  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.84
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.69e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.17e-05

TS (Fixed Index): 3.84
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845081/likelihoodResults_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.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) = 7056.16010934
delta logL = 0.463931014815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7056.14758831
delta logL = 0.476452036663

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7056.148     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      241 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6190        33.408        .53079E-03    .40743E-02
   2  Index         3.0312        3.0349        .14029        .13545E-03
   3  Normalizat    .76202        .55279E-01    .43113E-01    .23468E-04
   4  Prefactor     .94894        .42888E-01    .45626E-01    .39573E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61896
  Index      = 3.03122
  Normalizat = 0.762016
  Prefactor  = 0.948942
 **********
 **   18 **HESSE 
 **********

 FCN=   7056.148     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6190        4.6319        .84142E-05   -1.5670    
   2  Index         3.0312        .82644        .52445E-02   -.40471    
   3  Normalizat    .76202        .18066        .26787E-03   -1.0149    
   4  Prefactor     .94894        .14098        .19167E-03   -.94451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.68021e-09
Minuit parameter uncertainties:
  1  4.63193
  2  0.830955
  3  0.180804
  4  0.141031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845081': 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) = 7056.14758634
delta logL = 0.476454012554

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.619e+00  4.632e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  3.031e+00  8.310e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.489e-01  1.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.620e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.88
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.03 +/- 0.83
Photon Flux (Free Index): 7.75e-08 +/- 4.43e-08
Energy Flux (Free Index): 1.52e-05 +/- 9.61e-06

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/845081/cmap_HighResolution_699667201_699926401_4FGL_J2207.5-5346_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='5.69e-08', energy_flux2='1.52e-05', photon_flux_error='3.73e-08', dlogl='4.76e-01', energy_flux='1.78e-05', photon_flux2='7.75e-08', job_status='DONE', time_completed='2023-03-08 01:30:26.230844', photon_index_error2='0.83', photon_index2='3.03', ts='3.84', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='9.61e-06', EG='0.79', time_epoch_completed='1678267826.23', return_code='0', job_id='845081', GAL2='0.95', EG2='0.76', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='4.43e-08', ts2='4.88', photon_index='2.44' WHERE bin_id='1776' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:30:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 845081: <4FGL_J2207.5-5346_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1776> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Mar  8 01:20:25 2023
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:20:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:20:26 2023
Terminated at Wed Mar  8 01:30:27 2023
Results reported at Wed Mar  8 01:30:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1776 331.892 -53.7719 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   547.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            602 sec.

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

