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

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


Waiting 101 seconds before starting...
Proceeding.

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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1726
RA = 330.181, Dec = -24.2421
tmin = 686707201, tmax = 686966401
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='88299', job_status='RUN', time_executed='2022-10-09 00:37:42.720960', time_epoch_executed='1665301062.72' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88299/ft1_4FGL_J2200.7-2414_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88299/ft1_4FGL_J2200.7-2414_daily_bin1726.fits outfile=/scratch/kocevski/88299/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1726.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=686707201.0 tmax=686966401.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.42
user 2.23
sys 0.18

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

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

Number of photons that the gtmktime cut: 757

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88299/ltcube_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.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/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits
.....................!
real 10.15
user 9.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88299/ltcube_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.fits outfile=/scratch/kocevski/88299/expmap_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.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/88299/ltcube_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.fits
.....................!
real 148.36
user 144.01
sys 4.02

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/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits scfile=/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits outfile=/scratch/kocevski/88299/cmap_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits scfile=/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits outfile=/scratch/kocevski/88299/cmap_HighResolution_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88299/ft2_4FGL_J2200.7-2414_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88299/Model_4FGL_J2200.7-2414_daily_bin1726.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/88299/ft1_filtered_4FGL_J2200.7-2414_daily_bin1726.fits.....................!
real 52.53
user 51.39
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3430       1.0000          .0000       .10000E+07
     2 'norm      '    .12524E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .80151E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .42178E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .53527E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18841E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .32276E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45423E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.443       1.0000          .0000       .10000E+07
    10 'norm      '    6.4440       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10951E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .97487       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.9687       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.7494       1.0000          .0000       .10000E+07
    15 'Prefactor '    .92036E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .73463E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    58.412       1.0000          .0000       .10000E+07
    18 'norm      '    .65331E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .51832       1.0000          .0000       .10000E+07
    20 'norm      '    .52791E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    66.750       1.0000          .0000       .10000E+07
    22 'norm      '    .36069E-01   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2728       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95079       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=   8286.123     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     2021 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3347        6.8527        .83595E-07    .26782E-04
   2  norm           .0000        2.1971       -.56423E-06** at limit **
   3  Prefactor     .55511E-10    21.200       -.81355E-07** at limit **
   4  Prefactor      .0000        8.0232        .33531E-06** at limit **
   5  norm           .0000        7.5279       -.58828E-06** at limit **
   6  Prefactor      .0000        6.2255       -.60596E-06** at limit **
   7  norm           .0000        1.7455       -.17571E-06** at limit **
   8  Prefactor     .49960E-09    17.604       -.27776E-06** at limit **
   9  Prefactor     17.700        40.197       -.76149E-06   -.31114E-03
  10  norm          6.3672        4.4527        .26143E-06    .35258E-03
  11  Prefactor     .38858E-09    20.330        .10495E-05** at limit **
  12  norm          .97473        .30943        .12448E-08    .18024E-03
  13  Prefactor     4.9553        6.9630       -.12983E-06   -.68319E-04
  14  Prefactor     7.7660        16.176        .53119E-06    .17835E-03
  15  Prefactor      .0000        4.9631       -.27092E-06** at limit **
  16  Prefactor      .0000        4.2559       -.45312E-07** at limit **
  17  Prefactor     56.201        84.855       -.16517E-06   -.52088E-04
  18  norm           .0000        5.0884        .44581E-07** at limit **
  19  Prefactor     .99920E-09    156.67        .64168E-05** at limit **
  20  norm           .0000        1.0174       -.10384E-06** at limit **
  21  Prefactor     69.796        49.034       -.12246E-05    .91628E-03
  22  norm          .10884E-01    11.790        .24214E-06** at limit **
  23  Normalizat    1.2717        .22115       -.77182E-05    .30482E-04
  24  Prefactor     .95127        .15198        .18695E-05    .16617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33468
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.996e-10
  Prefactor  = 17.6997
  norm       = 6.36721
  Prefactor  = 3.88578e-10
  norm       = 0.974734
  Prefactor  = 4.95535
  Prefactor  = 7.76604
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 56.2008
  norm       = 0
  Prefactor  = 9.99201e-10
  norm       = 0
  Prefactor  = 69.7957
  norm       = 0.010884
  Normalizat = 1.27166
  Prefactor  = 0.951267
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.123     FROM HESSE     STATUS=OK           457 CALLS     2478 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3347        6.8691        .66951E-03   -1.5677    
   2  norm           .0000        2.1910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    20.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        8.0066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        7.4816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.2190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.7465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    17.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.700        40.247        .25461E-03   -1.5624    
  10  norm          6.3672        4.4557        .39513E-03   -1.5657    
  11  Prefactor     .38858E-09    20.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .97473        .30996        .42874E-03   -1.5688    
  13  Prefactor     4.9553        6.9659        .45093E-03   -1.5663    
  14  Prefactor     7.7660        16.134        .35998E-03   -1.5652    
  15  Prefactor      .0000        4.9497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.2559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     56.201        85.098        .13085E-03   -1.5558    
  18  norm           .0000        5.0813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .99920E-09    12.895        .92475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.0140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     69.796        51.334        .12241E-03   -1.5541    
  22  norm          .10884E-01    2.3636        .81002E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2717        .18585        .61134E-01   -.84416    
  24  Prefactor     .95127        .12674        .45649E-01   -.94372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55095e-08
Minuit parameter uncertainties:
  1  6.86911
  2  5.20911e-06
  3  6.89557e-05
  4  8.11712e-06
  5  3.46016e-06
  6  9.05529e-06
  7  1.87429e-06
  8  0.000189495
  9  40.248
  10  4.45568
  11  0.000183829
  12  0.309956
  13  6.96588
  14  16.1342
  15  3.32613e-06
  16  1.67959e-06
  17  85.0999
  18  3.57501e-07
  19  0.00022988
  20  9.31891e-07
  21  51.3345
  22  0.320783
  23  0.185945
  24  0.126783
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  4.955e+00  6.966e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.513e-01  1.268e-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.272e+00  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/88299/likelihoodResults_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.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) = 8284.34342681
delta logL = 1.78003612392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 8283.54454279
delta logL = 2.57892014653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14555E-06   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    1.1478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0183       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=   8286.514     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      876 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .26979E-01    .42118E-03** at limit **
   2  Index         .80436        5.9828        .32079        .81762E-09
   3  Normalizat    1.2836        .60553E-03    .60898E-01    .19916E-03
   4  Prefactor     .95238        .43726E-03    .42318E-01   -.12364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 0.804362
  Normalizat = 1.28359
  Prefactor  = 0.952381
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.514     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      905 TOTAL
                     EDM=   .43E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .80543E-03    .14274E-01   -29935.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80436        8.2846        .28699       -.12037E+07
   3  Normalizat    1.2836        .11302E-03    .26933E-03   -77.699    
   4  Prefactor     .95238        .81652E-04    .22075E-03   -340.24    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.32298e-16
Minuit parameter uncertainties:
  1  8.80865e-07
  2  1154.82
  3  0.000113017
  4  8.16519e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88299': 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) = 8286.51444728
delta logL = -0.39098434663

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.220e-10  8.809e-07  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  8.044e-01  1.155e+03  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.524e-01  8.165e-05  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.284e+00  1.130e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
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/88299/cmap_HighResolution_686707201_686966401_4FGL_J2200.7-2414_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2022-10-09 00:47:18.825778', job_id='88299', GAL2='0.95', fit_tolerance='1e-08', EG2='1.28', EG='1.27', time_epoch_completed='1665301638.83', return_code2='102', ts='0.78', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.91e-01', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1726' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:47:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 88299: <4FGL_J2200.7-2414_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:48 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:35:54 2022
Terminated at Sun Oct  9 00:47:19 2022
Results reported at Sun Oct  9 00:47:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1726 330.181 -24.2421 686707201 686966401 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 :                                   577.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            691 sec.

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

