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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1671
RA = 331.914, Dec = 0.8907
tmin = 672451201, tmax = 672710401
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='43729', job_status='RUN', time_executed='2022-04-27 01:07:08.193265', time_epoch_executed='1651046828.19' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43729/ft1_4FGL_J2207.6+0053_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43729/ft1_4FGL_J2207.6+0053_daily_bin1671.fits outfile=/scratch/kocevski/43729/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1671.fits ra=331.914 dec=0.8907 rad=12.0 tmin=672451201.0 tmax=672710401.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.94
user 2.74
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.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/43729/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.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.33
sys 0.15

Number of photons that the gtmktime cut: 915

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43729/ltcube_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.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/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits
.....................!
real 12.89
user 12.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43729/ltcube_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits outfile=/scratch/kocevski/43729/expmap_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.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/43729/ltcube_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits
.....................!
real 190.66
user 185.31
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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits outfile=/scratch/kocevski/43729/cmap_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.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.914 yref=0.8907 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits outfile=/scratch/kocevski/43729/cmap_HighResolution_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.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.914 yref=0.8907 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43729/Model_4FGL_J2207.6+0053_daily_bin1671.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/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits.....................!
real 89.67
user 88.19
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits', '/scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits', expMap='/scratch/kocevski/43729/expmap_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits', expCube='/scratch/kocevski/43729/ltcube_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43729/Model_4FGL_J2207.6+0053_daily_bin1671.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/43729/ft1_filtered_4FGL_J2207.6+0053_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43729/ft2_4FGL_J2207.6+0053_daily_bin1671.fits
Exposure map: /scratch/kocevski/43729/expmap_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43729/ltcube_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43729/Model_4FGL_J2207.6+0053_daily_bin1671.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) = 9843.983527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6920       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.457       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    69.964       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.116       1.0000         .10000E-03   10000.    
     8 'norm      '    .39599       1.0000         .10000E-03   10000.    
     9 'norm      '    6.5723       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2790       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2415       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2110       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8394       1.0000         .10000E-03   10000.    
    19 'norm      '    1.3514       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.7820       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86252       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83808       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9843.893     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2586 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6925        22.164        .20301E-05   -.10647E-03
   2  Prefactor     40.450        29.330       -.31662E-06   -.10849E-03
   3  Prefactor     .10000E-03    .91097       -.10993E-06** at limit **
   4  Prefactor     69.962        28.539        .79090E-07   -.34732E-04
   5  Prefactor     .10000E-03    22.900       -.84694E-07** at limit **
   6  Prefactor     .10000E-03    36.440        .37287E-06** at limit **
   7  Prefactor     32.116        30.394       -.92539E-08   -.10350E-04
   8  norm          .39588        1.2074        .77388E-06   -.47061E-03
   9  norm          6.5720        13.398       -.35755E-06   -.58531E-04
  10  Prefactor     .10000E-03    2.1915        .13289E-07** at limit **
  11  Prefactor     .10000E-03    4.5536        .75765E-09** at limit **
  12  Prefactor     4.2787        16.060        .27715E-06   -.27876E-04
  13  Prefactor     6.2412        6.9150       -.74767E-06   -.36016E-03
  14  Prefactor     .10000E-03    4.0400       -.78518E-08** at limit **
  15  Prefactor     17.457        23.669        .11941E-06   -.51556E-05
  16  Prefactor     9.2110        5.6960        .72608E-06    .61774E-03
  17  Prefactor     .10000E-03    3.0213        .26352E-07** at limit **
  18  Prefactor     4.8397        2.8757       -.87891E-07   -.17677E-03
  19  norm          1.3518        2.2812        .39047E-06   -.29622E-03
  20  Prefactor     4.7821        4.1045       -.12931E-07   -.19640E-04
  21  Prefactor     .10000E-03    63.369       -.56974E-06** at limit **
  22  Normalizat    .86257        .16138       -.15069E-06   -.63905E-04
  23  Prefactor     .83804        .89839E-01   -.21113E-06   -.53413E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.6925
  Prefactor  = 40.4502
  Prefactor  = 0.0001
  Prefactor  = 69.9616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1157
  norm       = 0.395877
  norm       = 6.572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.27874
  Prefactor  = 6.24125
  Prefactor  = 0.0001
  Prefactor  = 17.4571
  Prefactor  = 9.211
  Prefactor  = 0.0001
  Prefactor  = 4.83968
  norm       = 1.35178
  Prefactor  = 4.7821
  Prefactor  = 0.0001
  Normalizat = 0.86257
  Prefactor  = 0.83804
 **********
 **   18 **HESSE 
 **********

 FCN=   9843.893     FROM HESSE     STATUS=OK           376 CALLS     2962 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6925        22.521        .67980E-03   -1.5118    
   2  Prefactor     40.450        28.598        .63020E-04   -1.4435    
   3  Prefactor     .10000E-03    1.3521        .17294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     69.962        28.311        .47991E-04   -1.4033    
   5  Prefactor     .10000E-03    22.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.116        30.340        .70706E-04   -1.4574    
   8  norm          .39588        1.2371        .18989E-03   -1.5582    
   9  norm          6.5720        13.322        .15654E-03   -1.5195    
  10  Prefactor     .10000E-03    2.1999        .14327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.5948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2787        16.033        .19477E-03   -1.5294    
  13  Prefactor     6.2412        7.1313        .16068E-03   -1.5208    
  14  Prefactor     .10000E-03    4.0480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.457        23.630        .95862E-04   -1.4872    
  16  Prefactor     9.2110        5.9340        .13205E-03   -1.5101    
  17  Prefactor     .10000E-03    3.0233        .16843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8397        2.8836        .12282E-03   -1.5268    
  19  norm          1.3518        2.2966        .18831E-03   -1.5475    
  20  Prefactor     4.7821        4.1049        .18171E-03   -1.5271    
  21  Prefactor     .10000E-03    63.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86257        .19171        .30297E-03   -.97788    
  23  Prefactor     .83804        .10725        .17705E-03   -.98341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76484e-10
Minuit parameter uncertainties:
  1  22.5428
  2  28.6076
  3  2.55941e-05
  4  28.316
  5  1.96971e-06
  6  7.33832e-05
  7  30.3543
  8  1.23715
  9  13.3281
  10  1.03087e-06
  11  5.85422e-06
  12  16.0488
  13  7.13223
  14  6.43503e-06
  15  23.6424
  16  5.93438
  17  1.54205e-06
  18  2.88369
  19  2.29678
  20  4.10515
  21  0.000161984
  22  0.191862
  23  0.107273
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  6.435e-06  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.380e-01  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.626e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 4.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/43729/likelihoodResults_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.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) = 9843.89438389
delta logL = -0.00117758899432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9843.89320622
delta logL = 8.24220478535e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4713       1.0000          .0000       10.000    
     3 'Normalizat'    .86258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83804       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9843.893     FROM MIGRAD    STATUS=FAILED        85 CALLS      239 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10201E-03    80.486        .18142E-02** at limit **
   2  Index         2.3695        7.4789        .50000        .22080E-04
   3  Normalizat    .86257        .17240E-01    .30297E-03    .92609E-04
   4  Prefactor     .83804        .10014E-01    .17705E-03    .14687E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9843.893     FROM SIMPLEX   STATUS=UNCHANGED    139 CALLS      378 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10201E-03    80.486        .34753E-03** at limit **
   2  Index         2.3695        7.4789        .64612E-03    .22080E-04
   3  Normalizat    .86257        .17240E-01    .43183E-05    .92609E-04
   4  Prefactor     .83804        .10014E-01    .23944E-05    .14687E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9843.893     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      432 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.696        .36285E-02** at limit **
   2  Index         1.9734        5.4340        .50000       -.32242E-07
   3  Normalizat    .86257        .17298E-01    .12119E-04   -.69119E-03
   4  Prefactor     .83804        .10048E-01    .35409E-04   -.11777E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97344
  Normalizat = 0.86257
  Prefactor  = 0.838039
 **********
 **   18 **HESSE 
 **********

 FCN=   9843.893     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      461 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    396.30        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9734        5.4362        .50000       -.65016    
   3  Normalizat    .86257        .40242E-01    .24238E-05   -.97788    
   4  Prefactor     .83804        .23375E-01    .70819E-05   -.98341    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.52931e-10
Minuit parameter uncertainties:
  1  8.21007e-05
  2  1383.51
  3  0.0402429
  4  0.0233752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43729': 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): 102
logL (Free Index) = 9843.89320462
delta logL = 1.68402948475e-06

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  8.210e-05  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  1.973e+00  1.384e+03  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.380e-01  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.626e-01  4.024e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.914 0.891

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/43729/cmap_HighResolution_672451201_672710401_4FGL_J2207.6+0053_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-03', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2022-04-27 01:21:58.094322', job_id='43729', GAL2='0.84', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1651047718.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.68e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1671' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:21:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 43729: <4FGL_J2207.6+0053_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:32 2022
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:34 2022
Terminated at Wed Apr 27 01:21:58 2022
Results reported at Wed Apr 27 01:21:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1671 331.914 0.8907 672451201 672710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   889.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            986 sec.

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

