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 233 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1683
RA = 331.892, Dec = -53.7719
tmin = 675561601, tmax = 675820801
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='52888', job_status='RUN', time_executed='2022-06-02 01:40:28.097604', time_epoch_executed='1654159228.1' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52888

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52888/ft1_4FGL_J2207.5-5346_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52888/ft1_4FGL_J2207.5-5346_daily_bin1683.fits outfile=/scratch/kocevski/52888/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1683.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=675561601.0 tmax=675820801.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.48
user 3.25
sys 0.20

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

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

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52888/ltcube_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.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/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits
.....................!
real 14.23
user 13.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52888/ltcube_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits outfile=/scratch/kocevski/52888/expmap_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.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/52888/ltcube_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits
.....................!
real 193.94
user 187.51
sys 5.30

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/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits scfile=/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits outfile=/scratch/kocevski/52888/cmap_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits scfile=/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits outfile=/scratch/kocevski/52888/cmap_HighResolution_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52888/Model_4FGL_J2207.5-5346_daily_bin1683.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/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits.....................!
real 51.59
user 50.14
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits', '/scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits', expMap='/scratch/kocevski/52888/expmap_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits', expCube='/scratch/kocevski/52888/ltcube_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52888/Model_4FGL_J2207.5-5346_daily_bin1683.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  1.000e-04  1.000e+04 ( 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/52888/ft1_filtered_4FGL_J2207.5-5346_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52888/ft2_4FGL_J2207.5-5346_daily_bin1683.fits
Exposure map: /scratch/kocevski/52888/expmap_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52888/ltcube_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52888/Model_4FGL_J2207.5-5346_daily_bin1683.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) = 6764.25240623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78198       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.800       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10739E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8824       1.0000         .10000E-03   10000.    
     8 'norm      '    .13506       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27565E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0481       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6448       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42659E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6007       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2255       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.4840       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95694       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87700       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6763.417     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2469 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78353        2.8200        .16470E-05   -.14804E-03
   2  Prefactor     22.786        18.292       -.26534E-06   -.77206E-04
   3  Prefactor     .10000E-03    18.758        .27923E-07** at limit **
   4  Prefactor     .10000E-03    31.208        .72646E-07** at limit **
   5  Prefactor     .10000E-03    1.7525        .30730E-07** at limit **
   6  Prefactor     .10000E-03    9.4731        .50027E-07** at limit **
   7  Prefactor     3.8824        4.2655        .25563E-06   -.70699E-04
   8  norm          .13503        .38033        .29447E-06   -.35200E-03
   9  Prefactor     .10199E-03    58.782        .38697E-06** at limit **
  10  Prefactor     2.0517        9.9997        .25796E-06   -.27724E-05
  11  Prefactor     2.6432        2.9997        .22499E-06   -.53897E-04
  12  Prefactor     .10000E-03    89.582       -.39531E-06** at limit **
  13  norm          3.6004        3.5779       -.77528E-07    .22792E-04
  14  Prefactor     .10000E-03    1.1040        .44110E-07** at limit **
  15  Prefactor     .10000E-03    4.6049       -.13855E-06** at limit **
  16  Prefactor     .10000E-03    8.1207       -.48046E-07** at limit **
  17  Prefactor     .10000E-03    4.3488        .37239E-08** at limit **
  18  Prefactor     .10000E-03    25.348       -.51828E-07** at limit **
  19  Prefactor     1.2417        107.93       -.14148E-09   -.40139E-04
  20  Prefactor     7.4823        10.348        .13569E-06   -.52609E-05
  21  Normalizat    .95687        .15434       -.92321E-06   -.11103E-03
  22  Prefactor     .87706        .11970       -.54638E-06   -.14486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.783534
  Prefactor  = 22.7861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.88245
  norm       = 0.135027
  Prefactor  = 0.000101986
  Prefactor  = 2.0517
  Prefactor  = 2.64324
  Prefactor  = 0.000100001
  norm       = 3.60041
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.24166
  Prefactor  = 7.4823
  Normalizat = 0.956867
  Prefactor  = 0.877056
 **********
 **   18 **HESSE 
 **********

 FCN=   6763.417     FROM HESSE     STATUS=OK           354 CALLS     2823 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78353        2.8358        .24209E-03   -1.5531    
   2  Prefactor     22.786        18.250        .83886E-04   -1.4753    
   3  Prefactor     .10000E-03    18.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.7583        .10633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8824        4.2463        .16692E-03   -1.5314    
   8  norm          .13503        .39248        .81806E-03   -1.5634    
   9  Prefactor     .10199E-03    50.912        .12997       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0517        9.3429        .28888E-03   -1.5421    
  11  Prefactor     2.6432        2.9862        .14421E-03   -1.5383    
  12  Prefactor     .10000E-03    89.749        .21234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6004        3.5849        .15131E-03   -1.5328    
  14  Prefactor     .10000E-03    1.1133        .84406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7099        .34376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.1307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.3973        .16748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2417        111.92        .40683E-03   -1.5485    
  20  Prefactor     7.4823        10.357        .14660E-03   -1.5161    
  21  Normalizat    .95687        .18039        .24062E-03   -.94490    
  22  Prefactor     .87706        .13895        .19867E-03   -.96947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2084e-08
Minuit parameter uncertainties:
  1  2.8363
  2  18.2542
  3  5.83629e-06
  4  2.24442e-05
  5  1.48861e-06
  6  4.7056e-06
  7  4.24666
  8  0.392483
  9  0.0201258
  10  8.75847
  11  2.98637
  12  0.000555902
  13  3.58511
  14  2.33197e-06
  15  2.38645e-05
  16  1.01991e-05
  17  7.32378e-06
  18  3.32946e-06
  19  23.6212
  20  10.3591
  21  0.180504
  22  0.139011
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.643e+00  2.986e+00  1.000e-04  1.000e+04 ( 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:  8.771e-01  1.390e-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:  9.569e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 7.59e-06 +/- 8.58e-06

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

Saving results to:
/scratch/kocevski/52888/likelihoodResults_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.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) = 6763.26292633
delta logL = 0.153618094324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6763.26034188
delta logL = 0.156202536568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9193       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9555       1.0000          .0000       10.000    
     3 'Normalizat'    .94254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88316       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6763.260     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      292 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9194        3.0400        .10551E-03    .61009E-03
   2  Index         2.9552        1.0859        .76483E-02    .10615E-03
   3  Normalizat    .94252        .17456        .24222E-03    .35258E-03
   4  Prefactor     .88316        .13700        .19804E-03    .15620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.91943
  Index      = 2.9552
  Normalizat = 0.942525
  Prefactor  = 0.883165
 **********
 **   18 **HESSE 
 **********

 FCN=   6763.260     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9194        2.7217        .42203E-05   -1.5431    
   2  Index         2.9552        .97308        .30593E-03   -.42131    
   3  Normalizat    .94252        .17457        .48444E-04   -.94982    
   4  Prefactor     .88316        .13700        .39608E-04   -.96732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35204e-10
Minuit parameter uncertainties:
  1  2.72188
  2  0.980611
  3  0.174677
  4  0.137058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52888': 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) = 6763.2603418
delta logL = 0.15620261694

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.919e+00  2.722e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.955e+00  9.806e-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:  8.832e-01  1.371e-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:  9.425e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.96 +/- 0.98
Photon Flux (Free Index): 3.66e-08 +/- 3.89e-08
Energy Flux (Free Index): 7.48e-06 +/- 7.30e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/52888/cmap_HighResolution_675561601_675820801_4FGL_J2207.5-5346_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.74e-03', comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='7.48e-06', photon_flux_error='2.74e-08', dlogl='1.56e-01', energy_flux='7.59e-06', photon_flux2='3.66e-08', job_status='DONE', time_completed='2022-06-02 01:51:59.028831', photon_index_error2='0.98', photon_index2='2.96', ts='1.09', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.70e-08', energy_flux_error2='7.30e-06', EG='0.96', time_epoch_completed='1654159919.03', return_code='0', job_id='52888', GAL2='0.88', EG2='0.94', return_code2='0', energy_flux_error='8.58e-06', photon_flux_error2='3.89e-08', ts2='1.42', photon_index='2.44' WHERE bin_id='1683' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:51:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 52888: <4FGL_J2207.5-5346_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:25 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:36:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:36:27 2022
Terminated at Thu Jun  2 01:51:59 2022
Results reported at Thu Jun  2 01:51:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1683 331.892 -53.7719 675561601 675820801 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            994 sec.

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

