aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 233 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1769
RA = 330.181, Dec = -24.2421
tmin = 697852801, tmax = 698112001
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='445258', job_status='RUN', time_executed='2023-02-15 01:34:27.418077', time_epoch_executed='1676453667.42' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445258/ft1_4FGL_J2200.7-2414_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445258/ft1_4FGL_J2200.7-2414_daily_bin1769.fits outfile=/scratch/kocevski/445258/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1769.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.39
user 4.17
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.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/445258/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.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.48
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/445258/ltcube_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.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/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits
.....................!
real 12.32
user 11.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/445258/ltcube_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.fits outfile=/scratch/kocevski/445258/expmap_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.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/445258/ltcube_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.fits
.....................!
real 189.43
user 184.67
sys 4.45

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/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits outfile=/scratch/kocevski/445258/cmap_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits outfile=/scratch/kocevski/445258/cmap_HighResolution_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/445258/ft2_4FGL_J2200.7-2414_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445258/Model_4FGL_J2200.7-2414_daily_bin1769.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/445258/ft1_filtered_4FGL_J2200.7-2414_daily_bin1769.fits.....................!
real 56.20
user 54.91
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36033E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .21418E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.008       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4341       1.0000          .0000       .10000E+07
     5 'norm      '    .22964E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.121       1.0000          .0000       .10000E+07
     7 'norm      '    20.179       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15883E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    57.866       1.0000          .0000       .10000E+07
    10 'norm      '    .10503E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26866E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.2147       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49905E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.286       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3634       1.0000          .0000       .10000E+07
    16 'Prefactor '    .49181E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10892E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .97385E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .55135E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.1756       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30225E-02   1.0000          .0000       .10000E+07
    22 'norm      '    3.5034       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3044       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91392       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=   6372.397     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1989 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19429E-08    8.5344        .15968E-08** at limit **
   2  norm           .0000        2.1652        .49224E-07** at limit **
   3  Prefactor     11.039        8.6478       -.34059E-08   -.56867E-03
   4  Prefactor     4.3635        10.102        .33207E-07    .20339E-01
   5  norm           .0000        2.1637        .24892E-07** at limit **
   6  Prefactor     17.021        15.769        .45171E-07   -.43906E-01
   7  norm          20.243        8.4036       -.24855E-07    .57981E-01
   8  Prefactor     .14433E-08    18.531       -.23479E-06** at limit **
   9  Prefactor     59.903        61.527       -.68874E-07    .15144E-02
  10  norm          .77716E-09    8.2829        .13169E-06** at limit **
  11  Prefactor     .16653E-09    10.273        .41456E-07** at limit **
  12  norm          1.2132        .39800       -.88888E-08   -.46686E-02
  13  Prefactor      .0000        3.8006        .30481E-08** at limit **
  14  Prefactor     22.262        9.0023       -.27256E-07   -.38759E-01
  15  Prefactor     4.3460        6.5193       -.41627E-07   -.16309E-01
  16  Prefactor     .65281E-07    4.9878       -.80245E-07** at limit **
  17  Prefactor     .45464E-07    22.787        .67825E-07** at limit **
  18  norm          .39357E-07    4.5621       -.28036E-07** at limit **
  19  Prefactor     .10214E-07    17.366        .53021E-07** at limit **
  20  norm          2.1785        1.9682        .63601E-07    .30029E-02
  21  Prefactor     .11935E-07    76.707       -.25778E-06** at limit **
  22  norm          3.4408        6.7839        .15106E-06    .79892E-03
  23  Normalizat    1.3035        .24215        .49596E-06    .24505E-04
  24  Prefactor     .91417        .17686       -.34730E-06    .17510E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94289e-09
  norm       = 0
  Prefactor  = 11.0386
  Prefactor  = 4.36348
  norm       = 0
  Prefactor  = 17.0212
  norm       = 20.2427
  Prefactor  = 1.44329e-09
  Prefactor  = 59.903
  norm       = 7.77156e-10
  Prefactor  = 1.66533e-10
  norm       = 1.21325
  Prefactor  = 0
  Prefactor  = 22.2618
  Prefactor  = 4.34595
  Prefactor  = 6.52811e-08
  Prefactor  = 4.54636e-08
  norm       = 3.93574e-08
  Prefactor  = 1.02141e-08
  norm       = 2.17849
  Prefactor  = 1.19349e-08
  norm       = 3.44077
  Normalizat = 1.3035
  Prefactor  = 0.914172
 **********
 **   18 **HESSE 
 **********

 FCN=   6372.397     FROM HESSE     STATUS=OK           443 CALLS     2432 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19429E-08    9.6308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.1647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.039        8.6504        .30172E-03   -1.5642    
   4  Prefactor     4.3635        12.568        .47798E-03   -1.5666    
   5  norm           .0000        2.1637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.021        22.119        .24178E-03   -1.5625    
   7  norm          20.243        13.042        .22268E-03   -1.5618    
   8  Prefactor     .14433E-08    18.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     59.903        61.302        .13147E-03   -1.5553    
  10  norm          .77716E-09    8.4133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    10.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.2132        .39878        .62877E-03   -1.5686    
  13  Prefactor      .0000        3.7975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.262        16.079        .21189E-03   -1.5614    
  15  Prefactor     4.3460        16.411        .48194E-03   -1.5666    
  16  Prefactor     .65281E-07    8.8516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .45464E-07    38.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .39357E-07    8.3753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10214E-07    41.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1785        1.9776        .69778E-03   -1.5678    
  21  Prefactor     .11935E-07    76.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.4408        6.8042        .53991E-03   -1.5671    
  23  Normalizat    1.3035        .20785        .60649E-01   -.83462    
  24  Prefactor     .91417        .15022        .45182E-01   -.95648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60232e-07
Minuit parameter uncertainties:
  1  0.000272164
  2  5.69483e-06
  3  8.65037
  4  12.568
  5  3.44171e-06
  6  22.1193
  7  13.0419
  8  0.000325944
  9  61.3024
  10  0.000159835
  11  8.28953e-05
  12  0.398778
  13  4.94353e-06
  14  16.0793
  15  16.411
  16  0.00152035
  17  0.00264288
  18  0.00114818
  19  0.00130947
  20  1.97757
  21  0.00191525
  22  6.80425
  23  0.207979
  24  0.150287
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  4.944e-06  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:  9.142e-01  1.503e-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.303e+00  2.080e-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: 6.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445258/likelihoodResults_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.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) = 6372.40858485
delta logL = -0.0117198012586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6372.39686649
delta logL = -1.44075056596e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81196E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.3806       1.0000          .0000       10.000    
     3 'Normalizat'    1.3035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91430       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.

 FCN=   6372.397     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      243 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .12421        .42118E-03** at limit **
   2  Index         .59181        9.6402        .50000       -.69122E-09
   3  Normalizat    1.3035        .18633E-02    .60649E-01   -.18225E-03
   4  Prefactor     .91417        .13927E-02    .45187E-01    .13971E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 0.591808
  Normalizat = 1.3035
  Prefactor  = 0.914174
 **********
 **   18 **HESSE 
 **********

 FCN=   6372.397     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      270 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .68734        .76053E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59181        5.2794        .50000       -1.0793    
   3  Normalizat    1.3035        .43811E-02    .26824E-03   -.83462    
   4  Prefactor     .91417        .32756E-02    .23331E-03   -.95648    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88944e-10
Minuit parameter uncertainties:
  1  2.34357e-05
  2  47592.8
  3  0.00438109
  4  0.00327558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445258': 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) = 6372.39686505
delta logL = -2.04636307899e-10

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.220e-10  2.344e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  5.918e-01  4.759e+04  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:  9.142e-01  3.276e-03  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.303e+00  4.381e-03  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/445258/cmap_HighResolution_697852801_698112001_4FGL_J2200.7-2414_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.20e-08', time_completed='2023-02-15 01:44:04.081843', job_id='445258', GAL2='0.91', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1676454244.08', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-2.05e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1769' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:44:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 445258: <4FGL_J2200.7-2414_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 01:30:22 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:30:24 2023
Terminated at Wed Feb 15 01:44:04 2023
Results reported at Wed Feb 15 01:44:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1769 330.181 -24.2421 697852801 698112001 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 :                                   579.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            822 sec.

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

