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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1710
RA = 330.181, Dec = -24.2421
tmin = 682560001, tmax = 682819201
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='238657', job_status='RUN', time_executed='2022-09-16 23:40:10.685255', time_epoch_executed='1663396810.69' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238657/ft1_4FGL_J2200.7-2414_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238657/ft1_4FGL_J2200.7-2414_daily_bin1710.fits outfile=/scratch/kocevski/238657/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1710.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=682560001.0 tmax=682819201.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.70
user 3.45
sys 0.21

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

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

Number of photons that the gtmktime cut: 428

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/238657/ltcube_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.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/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits
.....................!
real 17.04
user 16.54
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/238657/ltcube_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits outfile=/scratch/kocevski/238657/expmap_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.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/238657/ltcube_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits
.....................!
real 193.25
user 187.04
sys 5.52

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/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits scfile=/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits outfile=/scratch/kocevski/238657/cmap_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.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.58
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits scfile=/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits outfile=/scratch/kocevski/238657/cmap_HighResolution_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238657/Model_4FGL_J2200.7-2414_daily_bin1710.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/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits.....................!
real 47.46
user 46.08
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits', '/scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits', expMap='/scratch/kocevski/238657/expmap_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits', expCube='/scratch/kocevski/238657/ltcube_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/238657/Model_4FGL_J2200.7-2414_daily_bin1710.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  0.000e+00  1.000e+06 ( 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/238657/ft1_filtered_4FGL_J2200.7-2414_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/238657/ft2_4FGL_J2200.7-2414_daily_bin1710.fits
Exposure map: /scratch/kocevski/238657/expmap_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits
Exposure cube: /scratch/kocevski/238657/ltcube_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/238657/Model_4FGL_J2200.7-2414_daily_bin1710.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) = 4926.86335119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54072E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .39083E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70775E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .27504E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .13697E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.872       1.0000          .0000       .10000E+07
     7 'norm      '    .60165E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .71296E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35143       1.0000          .0000       .10000E+07
    10 'norm      '    13.674       1.0000          .0000       .10000E+07
    11 'Prefactor '    55.120       1.0000          .0000       .10000E+07
    12 'norm      '    1.3389       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33012E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.207       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31334E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.0631       1.0000          .0000       .10000E+07
    18 'norm      '    .11527E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19435E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .24629E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    118.49       1.0000          .0000       .10000E+07
    22 'norm      '    .10787E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .54294       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4926.856     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2089 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    6.8829       -.56182E-07** at limit **
   2  norm           .0000        4.6890       -.16976E-06** at limit **
   3  Prefactor     .32985E-06    23.959        .28350E-06** at limit **
   4  Prefactor     .14883E-06    9.5878       -.59116E-07** at limit **
   5  norm          .44409E-09    5.9972        .22689E-06** at limit **
   6  Prefactor     12.961        10.055        .16417E-07    .36655E-01
   7  norm           .0000        2.8425       -.12857E-06** at limit **
   8  Prefactor     .45686E-07    13.074       -.34174E-06** at limit **
   9  Prefactor     .27901E-05    11.304       -.12868E-06** at limit **
  10  norm          13.715        9.8077       -.12986E-07    .63777E-02
  11  Prefactor     54.856        28.356        .10859E-06    .83650E-01
  12  norm          1.3387        .61287        .13762E-07    .30826E-02
  13  Prefactor     .16653E-09    5.3455        .17660E-06** at limit **
  14  Prefactor     22.178        11.700        .92893E-08    .82403E-01
  15  Prefactor     .85820E-07    10.013       -.55137E-07** at limit **
  16  Prefactor     23.144        3.2828        .34206E-07    .30107E-01
  17  Prefactor     7.2214        174.62        .15982E-05    .23483E-02
  18  norm          .18041E-06    156.77        .71717E-06** at limit **
  19  Prefactor     .54123E-07    15.578       -.23690E-07** at limit **
  20  norm          .55511E-10    5.5702       -.28602E-07** at limit **
  21  Prefactor     119.21        33.990        .18947E-06   -.39907E-01
  22  norm           .0000        3.0283        .42697E-07** at limit **
  23  Normalizat    .54188        .28676        .59922E-06    .32989E-04
  24  Prefactor     1.3155        .20185       -.19070E-06    .56894E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 3.29847e-07
  Prefactor  = 1.48825e-07
  norm       = 4.44089e-10
  Prefactor  = 12.9613
  norm       = 0
  Prefactor  = 4.56857e-08
  Prefactor  = 2.7901e-06
  norm       = 13.7154
  Prefactor  = 54.8558
  norm       = 1.33866
  Prefactor  = 1.66533e-10
  Prefactor  = 22.1782
  Prefactor  = 8.58202e-08
  Prefactor  = 23.1442
  Prefactor  = 7.22141
  norm       = 1.80411e-07
  Prefactor  = 5.41234e-08
  norm       = 5.55112e-11
  Prefactor  = 119.206
  norm       = 0
  Normalizat = 0.541876
  Prefactor  = 1.31552
 **********
 **   18 **HESSE 
 **********

 FCN=   4926.856     FROM HESSE     STATUS=OK           439 CALLS     2528 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.8812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        4.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .32985E-06    24.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14883E-06    10.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    5.9925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.961        21.084        .27894E-03   -1.5636    
   7  norm           .0000        2.8429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .45686E-07    13.809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27901E-05    60.839        .95345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.715        9.8759        .27062E-03   -1.5634    
  11  Prefactor     54.856        31.283        .13470E-03   -1.5560    
  12  norm          1.3387        .61298        .73684E-03   -1.5685    
  13  Prefactor     .16653E-09    5.3439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.178        21.517        .21226E-03   -1.5614    
  15  Prefactor     .85820E-07    10.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.144        18.129        .20789E-03   -1.5612    
  17  Prefactor     7.2214        220.67        .44662E-03   -1.5654    
  18  norm          .18041E-06    153.93        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .54123E-07    16.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    5.4709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     119.21        69.567        .91873E-04   -1.5490    
  22  norm           .0000        3.0255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .54188        .27914        .90504E-01   -1.1051    
  24  Prefactor     1.3155        .18733        .32346E-01   -.82847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87695e-07
Minuit parameter uncertainties:
  1  8.00089e-05
  2  1.12263e-05
  3  0.00565707
  4  0.00254084
  5  0.000104679
  6  21.0839
  7  2.99558e-06
  8  0.00158866
  9  0.0260575
  10  9.87588
  11  31.2834
  12  0.612978
  13  5.94231e-05
  14  21.5173
  15  0.00189135
  16  18.1292
  17  79.8421
  18  0.0105404
  19  0.00186238
  20  3.36312e-05
  21  69.5671
  22  1.40345e-05
  23  0.279868
  24  0.187422
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.665e-10  5.942e-05  0.000e+00  1.000e+06 ( 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:  1.316e+00  1.874e-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:  5.419e-01  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 7.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238657/likelihoodResults_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.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) = 4926.86296615
delta logL = -0.00646886944105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4926.85649809
delta logL = -8.0569407146e-07

Fit tolerance = 1e-08

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

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

 FCN=   4926.856     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      228 TOTAL
                     EDM=   .63E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0434        .42118E-03** at limit **
   2  Index         .54415        .54208        .69466E-05     .0000    
   3  Normalizat    .54187        .87626        .77617E-05    .27223E-04
   4  Prefactor     1.3155        1.0742       -.71793E-05    .92784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.544148
  Normalizat = 0.541875
  Prefactor  = 1.31552
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4926.856     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .63E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38259E-02    .66943        .69466E-05   -1.0999    
   3  Normalizat    .54187        .87626        .77617E-05   -1.1051    
   4  Prefactor     1.3155        1.0742       -.71793E-05   -.82847    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.28979e-12
Minuit parameter uncertainties:
  1  3.15766e-07
  2  0.547375
  3  0.900243
  4  1.09319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238657': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4926.85649728
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  3.158e-07  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  5.441e-01  5.474e-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:  1.316e+00  1.093e+00  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:  5.419e-01  9.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 330.181 -24.242

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/238657/cmap_HighResolution_682560001_682819201_4FGL_J2200.7-2414_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2022-09-16 23:49:24.064144', job_id='238657', GAL2='1.32', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1663397364.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1710' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:49:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 238657: <4FGL_J2200.7-2414_daily_bin1710> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1710> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:35:24 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:36:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:36:33 2022
Terminated at Fri Sep 16 23:49:24 2022
Results reported at Fri Sep 16 23:49:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1710 330.181 -24.2421 682560001 682819201 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 :                                   555.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            840 sec.

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

