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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1687
RA = 330.181, Dec = -24.2421
tmin = 676598401, tmax = 676857601
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='700247', job_status='RUN', time_executed='2022-06-14 01:37:46.864773', time_epoch_executed='1655195866.86' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700247

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700247/ft1_4FGL_J2200.7-2414_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700247/ft1_4FGL_J2200.7-2414_daily_bin1687.fits outfile=/scratch/kocevski/700247/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1687.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=676598401.0 tmax=676857601.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.71
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.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/700247/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.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.56
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 627

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700247/ltcube_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.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/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits
.....................!
real 15.12
user 14.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700247/ltcube_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits outfile=/scratch/kocevski/700247/expmap_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.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/700247/ltcube_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits
.....................!
real 194.22
user 186.16
sys 5.75

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2200.7-2414 @ 330.181 -24.2421

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits outfile=/scratch/kocevski/700247/cmap_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.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=330.181 yref=-24.2421 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.60
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits outfile=/scratch/kocevski/700247/cmap_HighResolution_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.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=330.181 yref=-24.2421 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/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700247/Model_4FGL_J2200.7-2414_daily_bin1687.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/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits.....................!
real 57.85
user 55.83
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits', '/scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits', expMap='/scratch/kocevski/700247/expmap_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits', expCube='/scratch/kocevski/700247/ltcube_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700247/Model_4FGL_J2200.7-2414_daily_bin1687.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2200.7-2414'

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.200e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/700247/ft1_filtered_4FGL_J2200.7-2414_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/700247/ft2_4FGL_J2200.7-2414_daily_bin1687.fits
Exposure map: /scratch/kocevski/700247/expmap_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits
Exposure cube: /scratch/kocevski/700247/ltcube_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700247/Model_4FGL_J2200.7-2414_daily_bin1687.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) = 6779.26639946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5860       1.0000         .10000E-03   10000.    
     2 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5783       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.3096       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.461       1.0000         .10000E-03   10000.    
    10 'norm      '    .12705E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.005       1.0000         .10000E-03   10000.    
    12 'norm      '    .89947       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.727       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.5023       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5086       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    5.9044       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5070       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .60365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6779.250     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2691 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5835        11.524        .12190E-04   -.16837E-03
   2  norm          .10000E-03    12.836        .18462E-06** at limit **
   3  Prefactor     3.5791        4.7746        .98174E-07   -.26510E-04
   4  Prefactor     .10000E-03    4.8929       -.30595E-06** at limit **
   5  norm          .10000E-03    4.2869       -.16011E-07** at limit **
   6  Prefactor     .10000E-03    5.3067        .36059E-07** at limit **
   7  norm          2.3088        4.0572        .20108E-06   -.13223E-03
   8  Prefactor     .10000E-03    52.850       -.16451E-04** at limit **
   9  Prefactor     20.406        53.676       -.57110E-05   -.27961E-03
  10  norm          .10000E-03    5.0703       -.29923E-05** at limit **
  11  Prefactor     10.006        12.160        .11058E-06   -.41597E-06
  12  norm          .89908        .33193        .33292E-07    .20524E-02
  13  Prefactor     11.065        9.0663        .17024E-06    .65865E-04
  14  Prefactor     30.728        14.558        .55549E-08   -.28576E-05
  15  Prefactor     .10000E-03    3.9082       -.90266E-08** at limit **
  16  Prefactor     .10000E-03    2.1822        .18311E-07** at limit **
  17  Prefactor     .10000E-03    24.735       -.30816E-06** at limit **
  18  norm          6.5036        14.737        .25609E-06   -.55305E-05
  19  Prefactor     .10000E-03    4.4958        .27928E-06** at limit **
  20  norm          1.5087        1.4386        .65148E-07   -.49707E-04
  21  Prefactor     .10002E-03    41.605        .35450E-05** at limit **
  22  norm          5.9045        4.6200        .48429E-07   -.17869E-05
  23  Normalizat    1.5069        .18398        .20967E-05    .60655E-04
  24  Prefactor     .60361        .13323       -.30228E-05    .23852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58348
  norm       = 0.0001
  Prefactor  = 3.57911
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30881
  Prefactor  = 0.000100003
  Prefactor  = 20.4062
  norm       = 0.0001
  Prefactor  = 10.0055
  norm       = 0.899083
  Prefactor  = 11.0652
  Prefactor  = 30.7279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.50357
  Prefactor  = 0.0001
  norm       = 1.50867
  Prefactor  = 0.000100022
  norm       = 5.90446
  Normalizat = 1.50694
  Prefactor  = 0.603608
 **********
 **   18 **HESSE 
 **********

 FCN=   6779.250     FROM HESSE     STATUS=OK           395 CALLS     3086 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5835        11.727        .10670E-02   -1.5329    
   2  norm          .10000E-03    13.392        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5791        4.7643        .20158E-03   -1.5330    
   4  Prefactor     .10000E-03    4.9023        .17785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.3139        .16647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3088        4.0358        .21438E-03   -1.5404    
   8  Prefactor     .10000E-03    52.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.406        53.159        .88546E-04   -1.4804    
  10  norm          .10000E-03    5.1798        .35733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.006        12.154        .12668E-03   -1.5075    
  12  norm          .89908        .33218        .27584E-04   -1.5518    
  13  Prefactor     11.065        9.0657        .12044E-03   -1.5043    
  14  Prefactor     30.728        14.568        .72281E-04   -1.4599    
  15  Prefactor     .10000E-03    3.9112        .15896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.1860        .11878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.5036        14.724        .15739E-03   -1.5198    
  19  Prefactor     .10000E-03    4.5156        .17046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5087        1.4496        .93280E-04   -1.5462    
  21  Prefactor     .10002E-03    41.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.9045        4.6227        .15136E-03   -1.5222    
  23  Normalizat    1.5069        .21298        .23016E-03   -.77584    
  24  Prefactor     .60361        .15261        .25427E-03   -1.0743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12564e-09
Minuit parameter uncertainties:
  1  11.7349
  2  6.46001e-05
  3  4.7648
  4  1.90948e-05
  5  1.0941e-05
  6  8.87348e-06
  7  4.03629
  8  0.000768447
  9  53.2831
  10  7.29159e-05
  11  12.1569
  12  0.332183
  13  9.06683
  14  14.5697
  15  4.16854e-07
  16  2.51399e-06
  17  0.000221782
  18  14.7323
  19  1.62705e-05
  20  1.44964
  21  0.00190447
  22  4.62296
  23  0.213106
  24  0.152714
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.107e+01  9.067e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  6.036e-01  1.527e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.507e+00  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.67
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.82e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.34e-05

TS (Fixed Index): 2.67
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700247/likelihoodResults_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.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) = 6779.1496885
delta logL = 0.0999020550571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6779.14942827
delta logL = 0.100162285908

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.391       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9852       1.0000          .0000       10.000    
     3 'Normalizat'    1.5165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   6779.149     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      305 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.394        13.248        .10558E-03    .52007E-04
   2  Index         1.9856        .51867        .77090E-02    .27534E-03
   3  Normalizat    1.5161        .20583        .22956E-03   -.66519E-04
   4  Prefactor     .59862        .15159        .25520E-03    .15458E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.394
  Index      = 1.98557
  Normalizat = 1.51614
  Prefactor  = 0.598624
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.394        12.982        .42234E-05   -1.4949    
   2  Index         1.9856        .50825        .15418E-02   -.64711    
   3  Normalizat    1.5161        .20590        .45913E-04   -.77326    
   4  Prefactor     .59862        .15167        .10208E-04   -1.0764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71982e-11
Minuit parameter uncertainties:
  1  12.9848
  2  0.509639
  3  0.206018
  4  0.151774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700247': 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) = 6779.14942505
delta logL = 0.100165507251

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.439e+01  1.298e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.986e+00  5.096e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  5.986e-01  1.518e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.516e+00  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 1.99 +/- 0.51
Photon Flux (Free Index): 3.22e-08 +/- 3.02e-08
Energy Flux (Free Index): 2.31e-05 +/- 2.63e-05

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/700247/cmap_HighResolution_676598401_676857601_4FGL_J2200.7-2414_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', comment='SUCCESS', photon_flux='3.82e-08', energy_flux2='2.31e-05', photon_flux_error='3.13e-08', dlogl='1.00e-01', energy_flux='1.64e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2022-06-14 01:49:23.102215', photon_index_error2='0.51', photon_index2='1.99', ts='2.67', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='2.63e-05', EG='1.51', time_epoch_completed='1655196563.1', return_code='0', job_id='700247', GAL2='0.60', EG2='1.52', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.02e-08', ts2='2.87', photon_index='2.23' WHERE bin_id='1687' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:49:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 700247: <4FGL_J2200.7-2414_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:20 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:35:52 2022
Terminated at Tue Jun 14 01:49:23 2022
Results reported at Tue Jun 14 01:49:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1687 330.181 -24.2421 676598401 676857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2200.7-2414 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            843 sec.

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

