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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1715
RA = 330.181, Dec = -24.2421
tmin = 683856001, tmax = 684115201
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='238664', job_status='RUN', time_executed='2022-09-16 23:38:05.758911', time_epoch_executed='1663396685.76' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238664/ft1_4FGL_J2200.7-2414_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238664/ft1_4FGL_J2200.7-2414_daily_bin1715.fits outfile=/scratch/kocevski/238664/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1715.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=683856001.0 tmax=684115201.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.47
user 3.25
sys 0.19

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

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

Number of photons that the gtmktime cut: 517

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/238664/ltcube_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.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/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits
.....................!
real 14.74
user 14.28
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/238664/ltcube_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.fits outfile=/scratch/kocevski/238664/expmap_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.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/238664/ltcube_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.fits
.....................!
real 193.21
user 185.86
sys 6.53

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/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits scfile=/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits outfile=/scratch/kocevski/238664/cmap_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits scfile=/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits outfile=/scratch/kocevski/238664/cmap_HighResolution_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/238664/ft2_4FGL_J2200.7-2414_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238664/Model_4FGL_J2200.7-2414_daily_bin1715.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/238664/ft1_filtered_4FGL_J2200.7-2414_daily_bin1715.fits.....................!
real 51.60
user 49.95
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32202E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .46070E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13544E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.6112       1.0000          .0000       .10000E+07
     5 'norm      '    .95945E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70798       1.0000          .0000       .10000E+07
     7 'norm      '    .32367E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22100E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .78050       1.0000          .0000       .10000E+07
    10 'norm      '    11.601       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.627       1.0000          .0000       .10000E+07
    12 'norm      '    1.1215       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23615E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.2973       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16385E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.0622       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27303       1.0000          .0000       .10000E+07
    18 'norm      '    16.506       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.248       1.0000          .0000       .10000E+07
    20 'norm      '    2.3855       1.0000          .0000       .10000E+07
    21 'Prefactor '    .31111E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .20493E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4526       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78897       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=   5696.843     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     1568 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5497        .57606E-08** at limit **
   2  norm          .16653E-09    9.0460       -.88898E-07** at limit **
   3  Prefactor      .0000        1.9303       -.46306E-07** at limit **
   4  Prefactor     2.6422        18.615       -.73963E-06   -.10403E-01
   5  norm           .0000        8.4609        .87422E-07** at limit **
   6  Prefactor     .54092E-05    1186.9        .13974E-04** at limit **
   7  norm           .0000        2.5753       -.24349E-07** at limit **
   8  Prefactor     .27756E-09    11.954       -.14643E-06** at limit **
   9  Prefactor     .16664E-06    180.98        .67614E-06** at limit **
  10  norm          11.597        6.5111        .54310E-07   -.47447E-03
  11  Prefactor     12.948        21.002       -.21001E-06   -.14133E-01
  12  norm          1.1210        .42504       -.72628E-08   -.19701E-02
  13  Prefactor     .69883E-06    26.009        .33908E-06** at limit **
  14  Prefactor     4.3348        9.9918       -.60926E-08   -.10185E-02
  15  Prefactor      .0000        13.157       -.57627E-08** at limit **
  16  Prefactor     9.0242        9.7498        .10386E-07   -.17837E-02
  17  Prefactor     .64256E-04    18.823        .10437E-05** at limit **
  18  norm          16.418        1.7505        .39110E-07   -.10154E-01
  19  Prefactor     15.040        5.2359        .14808E-06   -.41203E-01
  20  norm          2.3861        2.1006        .26222E-07    .19715E-02
  21  Prefactor     .23759E-07    49.296        .61486E-06** at limit **
  22  norm           .0000        2.7095        .35664E-07** at limit **
  23  Normalizat    1.4557        .25398       -.10254E-05   -.27143E-03
  24  Prefactor     .78882        .17769        .80331E-06   -.24336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 2.64221
  norm       = 0
  Prefactor  = 5.40917e-06
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.66644e-07
  norm       = 11.5969
  Prefactor  = 12.9484
  norm       = 1.12097
  Prefactor  = 6.9883e-07
  Prefactor  = 4.33477
  Prefactor  = 0
  Prefactor  = 9.02415
  Prefactor  = 6.42556e-05
  norm       = 16.4183
  Prefactor  = 15.0396
  norm       = 2.38607
  Prefactor  = 2.37588e-08
  norm       = 0
  Normalizat = 1.45571
  Prefactor  = 0.788821
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.843     FROM HESSE     STATUS=OK           449 CALLS     2017 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    9.0250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6422        21.500        .63099E-03   -1.5675    
   5  norm           .0000        8.4132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .54092E-05    30.096        .83577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.5774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    11.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16664E-06    181.97        .54400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.597        6.5006        .29387E-03   -1.5640    
  11  Prefactor     12.948        22.046        .27108E-03   -1.5636    
  12  norm          1.1210        .42332        .63887E-03   -1.5687    
  13  Prefactor     .69883E-06    27.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3348        10.030        .48574E-03   -1.5666    
  15  Prefactor      .0000        13.153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.0242        9.7581        .33270E-03   -1.5648    
  17  Prefactor     .64256E-04    178.81        .10598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.418        16.334        .24625E-03   -1.5627    
  19  Prefactor     15.040        15.706        .25623E-03   -1.5630    
  20  norm          2.3861        2.1141        .66291E-03   -1.5677    
  21  Prefactor     .23759E-07    49.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.7043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4557        .22385        .58451E-01   -.79031    
  24  Prefactor     .78882        .15166        .43573E-01   -1.0014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50236e-07
Minuit parameter uncertainties:
  1  7.83622e-06
  2  7.52221e-05
  3  5.86187e-06
  4  15.0743
  5  1.63367e-05
  6  0.0255181
  7  3.69844e-06
  8  0.000115308
  9  0.0110142
  10  6.50065
  11  22.0464
  12  0.423321
  13  0.00879468
  14  10.0304
  15  3.30055e-05
  16  9.75807
  17  0.214386
  18  16.3337
  19  15.7064
  20  2.1141
  21  0.00217092
  22  3.6398e-06
  23  0.223999
  24  0.151736
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  6.988e-07  8.795e-03  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:  7.888e-01  1.517e-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.456e+00  2.240e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238664/likelihoodResults_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5696.86227087
delta logL = -0.0196767504958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5694.52875134
delta logL = 2.31384278363

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24123E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.5233       1.0000          .0000       10.000    
     3 'Normalizat'    1.2483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88019       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=   5694.529     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      273 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24080E-01    .17218        .16779E-03** at limit **
   2  Index         5.5243        1.8498        .68199E-01    .17836E-03
   3  Normalizat    1.2482        .64791E-01    .62214E-01   -.72067E-05
   4  Prefactor     .88027        .46226E-01    .44752E-01   -.12905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.02408
  Index      = 5.5243
  Normalizat = 1.24822
  Prefactor  = 0.880268
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.529     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      306 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24080E-01    .33041        .60518E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5243        2.7630        .27787E-02    .10505    
   3  Normalizat    1.2482        .23132        .27518E-03   -.85125    
   4  Prefactor     .88027        .16046        .22933E-03   -.96834    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.29468e-07
Minuit parameter uncertainties:
  1  0.178397
  2  2.92959
  3  0.23151
  4  0.160543
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238664': 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) = 5694.52875006
delta logL = 2.31384405801

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.408e-02  1.784e-01  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  5.524e+00  2.930e+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:  8.803e-01  1.605e-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.248e+00  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.12
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 5.52 +/- 2.93
Photon Flux (Free Index): 1.78e-07 +/- 9.60e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.35e-05

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/238664/cmap_HighResolution_683856001_684115201_4FGL_J2200.7-2414_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.86e-03', comment='SUCCESS', energy_flux2='2.27e-05', dlogl='2.31e+00', photon_flux2='1.78e-07', job_status='DONE', time_completed='2022-09-16 23:47:05.145994', photon_index_error2='2.93', photon_index2='5.52', ts='-0.00', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.35e-05', EG='1.46', time_epoch_completed='1663397225.15', return_code='0', job_id='238664', GAL2='0.88', EG2='1.25', return_code2='102', photon_flux_error2='9.60e-08', ts2='5.12', photon_index='2.23' WHERE bin_id='1715' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:47:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 238664: <4FGL_J2200.7-2414_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:35:25 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:36:36 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:36 2022
Terminated at Fri Sep 16 23:47:05 2022
Results reported at Fri Sep 16 23:47:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1715 330.181 -24.2421 683856001 684115201 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 :                                   541.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            700 sec.

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

