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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1744
RA = 330.181, Dec = -24.2421
tmin = 691372801, tmax = 691632001
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='594460', job_status='RUN', time_executed='2022-12-02 01:54:15.668555', time_epoch_executed='1669974855.67' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594460/ft1_4FGL_J2200.7-2414_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594460/ft1_4FGL_J2200.7-2414_daily_bin1744.fits outfile=/scratch/kocevski/594460/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1744.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=691372801.0 tmax=691632001.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.73
user 2.32
sys 0.19

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

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

Number of photons that the gtmktime cut: 690

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/594460/ltcube_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.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/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits
.....................!
real 12.94
user 12.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/594460/ltcube_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits outfile=/scratch/kocevski/594460/expmap_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.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/594460/ltcube_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits
.....................!
real 191.33
user 185.52
sys 5.36

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/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits scfile=/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits outfile=/scratch/kocevski/594460/cmap_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits scfile=/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits outfile=/scratch/kocevski/594460/cmap_HighResolution_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594460/Model_4FGL_J2200.7-2414_daily_bin1744.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/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits.....................!
real 64.43
user 63.02
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits', '/scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits', expMap='/scratch/kocevski/594460/expmap_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits', expCube='/scratch/kocevski/594460/ltcube_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/594460/Model_4FGL_J2200.7-2414_daily_bin1744.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/594460/ft1_filtered_4FGL_J2200.7-2414_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/594460/ft2_4FGL_J2200.7-2414_daily_bin1744.fits
Exposure map: /scratch/kocevski/594460/expmap_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits
Exposure cube: /scratch/kocevski/594460/ltcube_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/594460/Model_4FGL_J2200.7-2414_daily_bin1744.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) = 7398.95317824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30886E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .58133E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.123       1.0000          .0000       .10000E+07
     4 'Prefactor '    .66258E-06   1.0000          .0000       .10000E+07
     5 'norm      '    7.8835       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.122       1.0000          .0000       .10000E+07
     7 'norm      '    .32599E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .71692E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .73375E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .11385E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16731E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .67119       1.0000          .0000       .10000E+07
    13 'Prefactor '    .60337E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.3067       1.0000          .0000       .10000E+07
    15 'Prefactor '    18.437       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17924E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    54.045       1.0000          .0000       .10000E+07
    18 'norm      '    .10018E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.3824       1.0000          .0000       .10000E+07
    20 'norm      '    6.8463       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.3598       1.0000          .0000       .10000E+07
    22 'norm      '    .99980E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.7730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .60144       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=   7398.897     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2084 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    2.3031        .50597E-06** at limit **
   2  norm           .0000        5.8494        .83756E-06** at limit **
   3  Prefactor     11.122        9.2821       -.11552E-07    .34911E-02
   4  Prefactor     .92704E-08    11.442       -.25390E-06** at limit **
   5  norm          7.8421        7.3888        .41808E-06    .12960E-03
   6  Prefactor     13.039        2.4363       -.54897E-06   -.14128E-01
   7  norm          .55511E-10    1.7718       -.34618E-06** at limit **
   8  Prefactor     .21375E-05    7.2851       -.13707E-05** at limit **
   9  Prefactor     .18041E-07    38.987        .34085E-05** at limit **
  10  norm          .89928E-08    29.951       -.42739E-05** at limit **
  11  Prefactor     .38181E-06    14.524        .33498E-05** at limit **
  12  norm          .67099        .28864        .18150E-06    .59282E-02
  13  Prefactor     .27756E-09    3.6919        .67574E-07** at limit **
  14  Prefactor     3.3120        6.6325       -.67261E-07    .56991E-03
  15  Prefactor     18.400        2.4507       -.24941E-07    .11679E-01
  16  Prefactor      .0000        19.819        .11542E-07** at limit **
  17  Prefactor     51.794        72.226       -.38972E-05    .52922E-01
  18  norm          .10300E-05    9.3852       -.16432E-06** at limit **
  19  Prefactor     5.4049        12.272        .57406E-05    .38872E-01
  20  norm          6.8766        3.1048       -.79448E-06   -.31844E-02
  21  Prefactor     1.5565        75.491       -.35970E-05   -.29277E-01
  22  norm          .55511E-10    3.4001        .32152E-06** at limit **
  23  Normalizat    1.7743        .23844       -.63951E-05   -.24700E-03
  24  Prefactor     .60151        .16502        .12513E-04   -.31687E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 11.1216
  Prefactor  = 9.27036e-09
  norm       = 7.84207
  Prefactor  = 13.0389
  norm       = 5.55112e-11
  Prefactor  = 2.13751e-06
  Prefactor  = 1.80411e-08
  norm       = 8.99281e-09
  Prefactor  = 3.81806e-07
  norm       = 0.67099
  Prefactor  = 2.77556e-10
  Prefactor  = 3.31196
  Prefactor  = 18.4
  Prefactor  = 0
  Prefactor  = 51.7939
  norm       = 1.02995e-06
  Prefactor  = 5.40487
  norm       = 6.8766
  Prefactor  = 1.5565
  norm       = 5.55112e-11
  Normalizat = 1.77425
  Prefactor  = 0.601507
 **********
 **   18 **HESSE 
 **********

 FCN=   7398.897     FROM HESSE     STATUS=OK           461 CALLS     2545 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    2.3048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        5.8338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.122        9.3311        .30015E-03   -1.5641    
   4  Prefactor     .92704E-08    11.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.8421        7.4250        .35688E-03   -1.5652    
   6  Prefactor     13.039        16.195        .27626E-03   -1.5636    
   7  norm          .55511E-10    1.7695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21375E-05    14.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18041E-07    38.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .89928E-08    3.0620        .49756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38181E-06    15.973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .67099        .29258        .63079E-03   -1.5692    
  13  Prefactor     .27756E-09    3.6911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3120        6.6621        .55647E-03   -1.5672    
  15  Prefactor     18.400        17.877        .23298E-03   -1.5622    
  16  Prefactor      .0000        5.3467        .10678E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     51.794        76.465        .13604E-03   -1.5564    
  18  norm          .10300E-05    12.957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4049        13.686        .43293E-03   -1.5661    
  20  norm          6.8766        4.2272        .38321E-03   -1.5656    
  21  Prefactor     1.5565        698.09        .66687E-03   -1.5683    
  22  norm          .55511E-10    3.3845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7743        .20744        .54322E-01   -.70338    
  24  Prefactor     .60151        .13945        .61996E-01   -1.0752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15424e-06
Minuit parameter uncertainties:
  1  3.22344e-05
  2  1.05798e-05
  3  9.33114
  4  0.000651467
  5  7.42499
  6  16.195
  7  1.48634e-05
  8  0.0110835
  9  0.00167646
  10  0.0003315
  11  0.00493909
  12  0.292581
  13  6.13611e-05
  14  6.66207
  15  17.8773
  16  4.88565e-06
  17  76.4665
  18  0.00730621
  19  13.6863
  20  4.22723
  21  65.9341
  22  2.60345e-05
  23  0.207543
  24  0.139527
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.776e-10  6.136e-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:  6.015e-01  1.395e-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.774e+00  2.075e-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: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594460/likelihoodResults_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.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) = 7398.89760435
delta logL = -0.000312774035592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7398.89729208
delta logL = -5.03859155288e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23093E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .91514       1.0000          .0000       10.000    
     3 'Normalizat'    1.7743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60140       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=   7398.897     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      231 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.1461       -.15843E-07** at limit **
   2  Index         2.4119        2.3499        .24658E-05     .0000    
   3  Normalizat    1.7743        .22835       -.18914E-05   -.39903E-04
   4  Prefactor     .60151        .16251       -.21799E-05   -.44855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.41193
  Normalizat = 1.77425
  Prefactor  = 0.601508
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7398.897     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65282        2.0190        .24658E-05   -.54406    
   3  Normalizat    1.7743        1.0296       -.18914E-05   -.70338    
   4  Prefactor     .60151        .94935       -.21799E-05   -1.0752    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.28704e-12
Minuit parameter uncertainties:
  1  4.64519e-07
  2  1.93359
  3  1.04255
  4  0.976579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594460': 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) = 7398.89729157
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  4.645e-07  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.412e+00  1.934e+00  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:  6.015e-01  9.766e-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.774e+00  1.043e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/594460/cmap_HighResolution_691372801_691632001_4FGL_J2200.7-2414_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2022-12-02 02:04:57.440020', job_id='594460', GAL2='0.60', fit_tolerance='1e-08', EG2='1.77', EG='1.77', time_epoch_completed='1669975497.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1744' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:04:57 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 594460: <4FGL_J2200.7-2414_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 01:50:29 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:50:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:50:30 2022
Terminated at Fri Dec  2 02:04:58 2022
Results reported at Fri Dec  2 02:04:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1744 330.181 -24.2421 691372801 691632001 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 :                                   643.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            869 sec.

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

