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


Performing analysis on: 4FGL_J2207.5-5346_weekly_bin762
RA = 331.892, Dec = -53.7719
tmin = 699840001, tmax = 700444801
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='16234', job_status='RUN', time_executed='2023-03-14 04:27:47.790937', time_epoch_executed='1678793267.79' WHERE source_name='4FGL J2207.5-5346' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16234

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16234/ft1_4FGL_J2207.5-5346_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16234/ft1_4FGL_J2207.5-5346_weekly_bin762.fits outfile=/scratch/kocevski/16234/ft1_filteredMKT_4FGL_J2207.5-5346_weekly_bin762.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.22
user 7.89
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.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/16234/ft1_filteredMKT_4FGL_J2207.5-5346_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/16234/ft1_filtered_4FGL_J2207.5-5346_weekly_bin762.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.55
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1493

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16234/ft1_filtered_4FGL_J2207.5-5346_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/16234/ltcube_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.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/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits
.....................!
real 27.78
user 27.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16234/ft1_filtered_4FGL_J2207.5-5346_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/16234/ltcube_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.fits outfile=/scratch/kocevski/16234/expmap_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.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/16234/ltcube_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.fits
.....................!
real 190.45
user 185.13
sys 4.98

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/16234/ft1_filtered_4FGL_J2207.5-5346_weekly_bin762.fits scfile=/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits outfile=/scratch/kocevski/16234/cmap_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16234/ft1_filtered_4FGL_J2207.5-5346_weekly_bin762.fits scfile=/scratch/kocevski/16234/ft2_4FGL_J2207.5-5346_weekly_bin762.fits outfile=/scratch/kocevski/16234/cmap_HighResolution_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.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.59
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48577E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4815       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1970       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4414       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1286       1.0000          .0000       .10000E+07
     6 'norm      '    .14618       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47593E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10168E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.4729       1.0000          .0000       .10000E+07
    10 'Prefactor '    30.856       1.0000          .0000       .10000E+07
    11 'norm      '    .63119E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19679E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .62317       1.0000          .0000       .10000E+07
    14 'Prefactor '    28.059       1.0000          .0000       .10000E+07
    15 'Prefactor '    .92910E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10863E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .85617       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1410       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=   16091.31     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1106 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8885        .88253E-08** at limit **
   2  Prefactor     4.4571        9.7281        .60511E-07    .16534E-02
   3  Prefactor     4.2571        4.5043       -.60993E-07    .53794E-03
   4  Prefactor     6.4628        3.4880        .10822E-07    .19133E-01
   5  Prefactor     1.1291        1.6671        .72129E-08   -.54737E-04
   6  norm          .14553        .38659       -.10871E-07** at limit **
   7  Prefactor     .55511E-10    38.948       -.57057E-06** at limit **
   8  Prefactor     .55511E-10    4.1236       -.28918E-06** at limit **
   9  Prefactor     8.4904        2.8028       -.11275E-07    .40848E-03
  10  Prefactor     26.285        40.441        .52086E-06   -.51032E-03
  11  norm           .0000        1.4519       -.27286E-07** at limit **
  12  Prefactor      .0000        2.4467        .12800E-06** at limit **
  13  Prefactor     .61114        4.7473        .25185E-07    .38491E-03
  14  Prefactor     28.676        16.824        .11313E-07   -.76367E-02
  15  Prefactor     .16653E-09    15.797        .29165E-06** at limit **
  16  Prefactor      .0000        11.982       -.73318E-07** at limit **
  17  Normalizat    .85600        .13807        .11218E-06   -.15849E-05
  18  Prefactor     1.1415        .10555       -.31324E-06    .11970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.45707
  Prefactor  = 4.25713
  Prefactor  = 6.46277
  Prefactor  = 1.12913
  norm       = 0.145525
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 8.49038
  Prefactor  = 26.2848
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.611143
  Prefactor  = 28.6756
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Normalizat = 0.855998
  Prefactor  = 1.14146
 **********
 **   18 **HESSE 
 **********

 FCN=   16091.31     FROM HESSE     STATUS=OK           292 CALLS     1398 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4571        9.7673        .47538E-03   -1.5666    
   3  Prefactor     4.2571        4.5234        .49168E-03   -1.5667    
   4  Prefactor     6.4628        12.364        .39521E-03   -1.5657    
   5  Prefactor     1.1291        1.7103        .11003E-02   -1.5687    
   6  norm          .14553        .28529        .25761E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    37.771        .15638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    4.1088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4904        2.8186        .34415E-03   -1.5650    
  10  Prefactor     26.285        40.544        .18005E-03   -1.5605    
  11  norm           .0000        1.4541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .59497        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61114        4.8658        .67178E-03   -1.5692    
  14  Prefactor     28.676        17.344        .18882E-03   -1.5601    
  15  Prefactor     .16653E-09    15.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        11.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .85600        .11912        .64235E-01   -.98024    
  18  Prefactor     1.1415        .90494E-01    .36203E-01   -.88152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71351e-08
Minuit parameter uncertainties:
  1  8.89867e-07
  2  9.76731
  3  4.5234
  4  12.3641
  5  1.71033
  6  0.28529
  7  7.61484e-05
  8  2.50487e-05
  9  2.81859
  10  40.544
  11  1.15852e-06
  12  2.57653e-06
  13  3.44889
  14  17.3437
  15  0.000102489
  16  3.05267e-05
  17  0.119154
  18  0.0905064
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  8.490e+00  2.819e+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:  1.141e+00  9.051e-02  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:  8.560e-01  1.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.78
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 7.79e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 8.10e-06

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) = 16090.9433479
delta logL = 0.370643519727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16090.9372609
delta logL = 0.376730602033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7344       1.0000          .0000       .10000E+07
     2 'Index     '    2.7478       1.0000          .0000       10.000    
     3 'Normalizat'    .83242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1534       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16090.94     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      284 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7344        3.5636        .48576E-04   -.35555E-02
   2  Index         2.7478        .41831        .54523E-02    .48108E-04
   3  Normalizat    .83240        .13465        .28764E-03    .37706E-04
   4  Prefactor     1.1534        .10507        .19735E-03    .54612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.73442
  Index      = 2.74783
  Normalizat = 0.832398
  Prefactor  = 1.15343
 **********
 **   18 **HESSE 
 **********

 FCN=   16090.94     FROM HESSE     STATUS=OK            27 CALLS      311 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7344        3.2211        .19430E-05   -1.5656    
   2  Index         2.7478        .37779        .21809E-03   -.46725    
   3  Normalizat    .83240        .13447        .11506E-04   -.98878    
   4  Prefactor     1.1534        .10499        .39469E-04   -.87777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49047e-11
Minuit parameter uncertainties:
  1  3.2211
  2  0.37824
  3  0.134525
  4  0.105009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16234': 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) = 16090.9372608
delta logL = 0.376730622393

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.734e+00  3.221e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.748e+00  3.782e-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:  1.153e+00  1.050e-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:  8.324e-01  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.69
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.75 +/- 0.38
Photon Flux (Free Index): 9.49e-08 +/- 3.42e-08
Energy Flux (Free Index): 2.20e-05 +/- 7.19e-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/16234/cmap_HighResolution_699840001_700444801_4FGL_J2207.5-5346_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.79e-08', energy_flux2='2.20e-05', photon_flux_error='2.58e-08', dlogl='3.77e-01', energy_flux='2.44e-05', photon_flux2='9.49e-08', job_status='DONE', time_completed='2023-03-14 04:40:56.363087', photon_index_error2='0.38', photon_index2='2.75', ts='16.78', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='7.19e-06', EG='0.86', time_epoch_completed='1678794056.36', return_code='0', job_id='16234', GAL2='1.15', EG2='0.83', return_code2='0', energy_flux_error='8.10e-06', photon_flux_error2='3.42e-08', ts2='17.69', photon_index='2.44' WHERE bin_id='762' AND source_name='4FGL J2207.5-5346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 04:40:56 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 16234: <4FGL_J2207.5-5346_weekly_bin762> in cluster <slac> Done

Job <4FGL_J2207.5-5346_weekly_bin762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Mar 14 04:25:24 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 04:25:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 04:25:25 2023
Terminated at Tue Mar 14 04:40:57 2023
Results reported at Tue Mar 14 04:40:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_weekly_bin762 331.892 -53.7719 699840001 700444801 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 :                                   789.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             301.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

