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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1744
RA = 331.892, Dec = -53.7719
tmin = 691372801, tmax = 691632001
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='595728', job_status='RUN', time_executed='2022-12-02 01:55:49.706174', time_epoch_executed='1669974949.71' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595728/ft1_4FGL_J2207.5-5346_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits


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

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

Done.
real 2.95
user 2.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.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/595728/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.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.77
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/595728/ltcube_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.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/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits
.....................!
real 13.01
user 12.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/595728/ltcube_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits outfile=/scratch/kocevski/595728/expmap_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.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/595728/ltcube_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits
.....................!
real 190.94
user 185.35
sys 5.21

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/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits outfile=/scratch/kocevski/595728/cmap_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits outfile=/scratch/kocevski/595728/cmap_HighResolution_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595728/Model_4FGL_J2207.5-5346_daily_bin1744.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/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits.....................!
real 55.59
user 54.21
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits', '/scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits', expMap='/scratch/kocevski/595728/expmap_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits', expCube='/scratch/kocevski/595728/ltcube_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/595728/Model_4FGL_J2207.5-5346_daily_bin1744.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/595728/ft1_filtered_4FGL_J2207.5-5346_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/595728/ft2_4FGL_J2207.5-5346_daily_bin1744.fits
Exposure map: /scratch/kocevski/595728/expmap_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits
Exposure cube: /scratch/kocevski/595728/ltcube_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/595728/Model_4FGL_J2207.5-5346_daily_bin1744.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) = 7633.42832618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79945E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.4220       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53788E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6397       1.0000          .0000       .10000E+07
     6 'norm      '    .36304E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26701E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.8245       1.0000          .0000       .10000E+07
     9 'Prefactor '    .48128E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .81593E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .53752E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .56402E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11558E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.7707       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40301E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15741E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1147       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2340       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=   7633.297     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1051 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6506       -.37297E-08** at limit **
   2  Prefactor     5.9733        20.203        .69150E-06   -.51640E-02
   3  Prefactor     10.725        7.9525       -.67058E-07    .66190E-01
   4  Prefactor      .0000        34.165        .98804E-07** at limit **
   5  Prefactor     2.6564        4.6135        .25178E-08   -.20881E-02
   6  norm           .0000        .22631        .13223E-08** at limit **
   7  Prefactor     .35983E-05    35.653        .14802E-06** at limit **
   8  Prefactor     4.8138        6.5044        .10000E-08    .74863E-03
   9  Prefactor     .38913E-07    6.3561       -.15255E-06** at limit **
  10  Prefactor     .12768E-08    100.58        .12738E-06** at limit **
  11  norm          .20428E-07    2.3790        .66437E-07** at limit **
  12  Prefactor      .0000        1.4279        .32569E-08** at limit **
  13  Prefactor     .11025E-06    4.3176        .25477E-07** at limit **
  14  Prefactor     4.7138        3.8822       -.14355E-06   -.27692E-01
  15  Prefactor     .72942E-07    3.7616        .98959E-07** at limit **
  16  Prefactor     .33307E-08    2.7790        .44001E-07** at limit **
  17  Normalizat    1.1148        .22103        .11537E-05    .97260E-04
  18  Prefactor     1.2342        .17608       -.63157E-06    .10133E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.97329
  Prefactor  = 10.725
  Prefactor  = 0
  Prefactor  = 2.65639
  norm       = 0
  Prefactor  = 3.59829e-06
  Prefactor  = 4.8138
  Prefactor  = 3.89133e-08
  Prefactor  = 1.27676e-09
  norm       = 2.04281e-08
  Prefactor  = 0
  Prefactor  = 1.10245e-07
  Prefactor  = 4.71376
  Prefactor  = 7.29417e-08
  Prefactor  = 3.33067e-09
  Normalizat = 1.11479
  Prefactor  = 1.23422
 **********
 **   18 **HESSE 
 **********

 FCN=   7633.297     FROM HESSE     STATUS=OK           284 CALLS     1335 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9733        20.572        .39582E-03   -1.5659    
   3  Prefactor     10.725        10.168        .30710E-03   -1.5642    
   4  Prefactor      .0000        33.232        .15393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6564        4.6614        .62729E-03   -1.5675    
   6  norm           .0000        .22509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .35983E-05    60.416        .16630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.8138        6.5048        .45777E-03   -1.5664    
   9  Prefactor     .38913E-07    6.5141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12768E-08    100.47        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .20428E-07    5.2583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11025E-06    5.1819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.7138        25.854        .46040E-03   -1.5665    
  15  Prefactor     .72942E-07    61.210        .15950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33307E-08    5.0808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1148        .18789        .64596E-01   -.89278    
  18  Prefactor     1.2342        .14635        .49158E-01   -.85285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5639e-07
Minuit parameter uncertainties:
  1  7.71419e-06
  2  20.5723
  3  10.1685
  4  5.30376e-05
  5  4.66143
  6  1.02386e-07
  7  0.0294889
  8  6.50482
  9  0.00100706
  10  0.000718799
  11  0.000655676
  12  7.03869e-06
  13  0.00151183
  14  22.0791
  15  0.00422555
  16  0.000259157
  17  0.188
  18  0.146401
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.891e-08  1.007e-03  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:  1.234e+00  1.464e-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:  1.115e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 7.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595728/likelihoodResults_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.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) = 7633.29957614
delta logL = -0.00218026947641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7633.29739598
delta logL = -1.13181158667e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49054E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.8079       1.0000          .0000       10.000    
     3 'Normalizat'    1.1148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2342       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7633.297     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      265 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3764        .42118E-02** at limit **
   2  Index         2.8681        1.0128        .36318E-04     .0000    
   3  Normalizat    1.1148        1.1455       -.96710E-06    .75153E-04
   4  Prefactor     1.2342        1.0928        .31432E-07    .91559E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.86813
  Normalizat = 1.11479
  Prefactor  = 1.23422
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7633.297     FROM HESSE     STATUS=FAILED         9 CALLS      274 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3764        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93152        1.9907        .36318E-04   -.44048    
   3  Normalizat    1.1148        1.1455       -.96710E-06   -.89278    
   4  Prefactor     1.2342        1.0928        .31432E-07   -.85285    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.48751e-12
Minuit parameter uncertainties:
  1  1.06605e-05
  2  1.02147
  3  1.17264
  4  1.11399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595728': 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) = 7633.29739587
delta logL = 2.90219759336e-09

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  0.000e+00  1.066e-05  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.868e+00  1.021e+00  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:  1.234e+00  1.114e+00  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:  1.115e+00  1.173e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/595728/cmap_HighResolution_691372801_691632001_4FGL_J2207.5-5346_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.32e-08', time_completed='2022-12-02 02:05:02.101724', job_id='595728', GAL2='1.23', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1669975502.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='2.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1744' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:05:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 595728: <4FGL_J2207.5-5346_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1744> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Dec  2 01:55:25 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:55:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:55:27 2022
Terminated at Fri Dec  2 02:05:02 2022
Results reported at Fri Dec  2 02:05:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1744 331.892 -53.7719 691372801 691632001 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 :                                   553.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             339.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

