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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1753
RA = 330.181, Dec = -24.2421
tmin = 693705601, tmax = 693964801
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='465963', job_status='RUN', time_executed='2022-12-29 01:38:19.601573', time_epoch_executed='1672306699.6' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/465963

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/465963/ft1_4FGL_J2200.7-2414_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/465963/ft1_4FGL_J2200.7-2414_daily_bin1753.fits outfile=/scratch/kocevski/465963/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1753.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=693705601.0 tmax=693964801.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.76
user 4.42
sys 0.23

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

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

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/465963/ltcube_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.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/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits
.....................!
real 14.60
user 14.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/465963/ltcube_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.fits outfile=/scratch/kocevski/465963/expmap_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.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/465963/ltcube_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.fits
.....................!
real 192.08
user 185.64
sys 5.98

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/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits scfile=/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits outfile=/scratch/kocevski/465963/cmap_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits scfile=/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits outfile=/scratch/kocevski/465963/cmap_HighResolution_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/465963/ft2_4FGL_J2200.7-2414_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/465963/Model_4FGL_J2200.7-2414_daily_bin1753.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/465963/ft1_filtered_4FGL_J2200.7-2414_daily_bin1753.fits.....................!
real 63.50
user 61.58
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80652E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .56709E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .67349E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5217       1.0000          .0000       .10000E+07
     5 'norm      '    4.3618       1.0000          .0000       .10000E+07
     6 'Prefactor '    40.293       1.0000          .0000       .10000E+07
     7 'norm      '    3.6828       1.0000          .0000       .10000E+07
     8 'Prefactor '    .50398       1.0000          .0000       .10000E+07
     9 'Prefactor '    .52958E-01   1.0000          .0000       .10000E+07
    10 'norm      '    1.4305       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.732       1.0000          .0000       .10000E+07
    12 'norm      '    .28987       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2762       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .48073E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .76760E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .43228E-03   1.0000          .0000       .10000E+07
    18 'norm      '    5.4804       1.0000          .0000       .10000E+07
    19 'Prefactor '    .53749E-05   1.0000          .0000       .10000E+07
    20 'norm      '    3.9930       1.0000          .0000       .10000E+07
    21 'Prefactor '    .80692E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .33499E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0399       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94050       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=   7757.623     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1938 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37970E-07    12.018       -.18595E-07** at limit **
   2  norm          .61912E-06    20.270        .10791E-06** at limit **
   3  Prefactor     .16653E-09    3.1502       -.29980E-07** at limit **
   4  Prefactor     8.5359        1.1797       -.18205E-08   -.51705E-02
   5  norm          4.3642        4.3846       -.38529E-08   -.67873E-03
   6  Prefactor     40.883        5.9313       -.99035E-08   -.18744E-02
   7  norm          3.6961        3.7752       -.30451E-07   -.10326E-02
   8  Prefactor     .35728        2.2259        .34534E-07    .59111E-03
   9  Prefactor     .21039E-07    46.809       -.16302E-06** at limit **
  10  norm          1.4391        2.0533        .38531E-07    .10728E-02
  11  Prefactor     13.141        7.1911        .60044E-08    .54819E-01
  12  norm          .28974        .19694       -.84153E-08   -.78943E-02
  13  Prefactor     6.2932        4.3694       -.17667E-07   -.60823E-01
  14  Prefactor     19.240        2.1922       -.23932E-08    .24367E-01
  15  Prefactor     .18319E-08    3.4898        .13728E-07** at limit **
  16  Prefactor      .0000        4.2071        .30449E-07** at limit **
  17  Prefactor     .50127E-07    24.201       -.11683E-06** at limit **
  18  norm          5.4773        6.8526        .21636E-08   -.12535E-02
  19  Prefactor     .55511E-10    2.4406       -.26894E-07** at limit **
  20  norm          3.9928        1.8134        .37838E-07    .56847E-02
  21  Prefactor     .99920E-08    9.6339        .23368E-07** at limit **
  22  norm           .0000        2.4776        .27380E-07** at limit **
  23  Normalizat    1.0391        .19522       -.42494E-05   -.95756E-04
  24  Prefactor     .94087        .14816        .31765E-05    .52448E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.79696e-08
  norm       = 6.19116e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 8.53588
  norm       = 4.36425
  Prefactor  = 40.8829
  norm       = 3.69611
  Prefactor  = 0.357277
  Prefactor  = 2.10387e-08
  norm       = 1.43911
  Prefactor  = 13.1409
  norm       = 0.289738
  Prefactor  = 6.29319
  Prefactor  = 19.24
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 5.01266e-08
  norm       = 5.47734
  Prefactor  = 5.55112e-11
  norm       = 3.9928
  Prefactor  = 9.99201e-09
  norm       = 0
  Normalizat = 1.03906
  Prefactor  = 0.940874
 **********
 **   18 **HESSE 
 **********

 FCN=   7757.623     FROM HESSE     STATUS=OK           459 CALLS     2397 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37970E-07    12.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .61912E-06    3.6897        .63716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    3.1431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5359        9.6264        .34316E-03   -1.5650    
   5  norm          4.3642        4.3844        .48203E-03   -1.5666    
   6  Prefactor     40.883        19.076        .15755E-03   -1.5580    
   7  norm          3.6961        3.7751        .52605E-03   -1.5670    
   8  Prefactor     .35728        6.3776        .12080E-01   -1.5696    
   9  Prefactor     .21039E-07    66.509        .15424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4391        2.1047        .90290E-03   -1.5684    
  11  Prefactor     13.141        13.689        .27004E-03   -1.5635    
  12  norm          .28974        .20133        .70427E-03   -1.5697    
  13  Prefactor     6.2932        8.0882        .40045E-03   -1.5658    
  14  Prefactor     19.240        14.525        .22910E-03   -1.5620    
  15  Prefactor     .18319E-08    3.5189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.2148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .50127E-07    24.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.4773        6.8570        .42897E-03   -1.5661    
  19  Prefactor     .55511E-10    2.4445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9928        1.8150        .50448E-03   -1.5668    
  21  Prefactor     .99920E-08    10.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.4724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0391        .17018        .41289E-01   -.91733    
  24  Prefactor     .94087        .12632        .45519E-01   -.94727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24147e-08
Minuit parameter uncertainties:
  1  0.00138294
  2  0.00302285
  3  4.37078e-05
  4  9.62646
  5  4.3844
  6  19.0755
  7  3.77506
  8  3.01899
  9  0.00236548
  10  2.10475
  11  13.689
  12  0.201328
  13  8.08819
  14  14.5248
  15  0.000159358
  16  4.82927e-06
  17  0.00222387
  18  6.85705
  19  2.71563e-05
  20  1.81502
  21  0.000631539
  22  3.14054e-06
  23  0.170271
  24  0.126357
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  6.293e+00  8.088e+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.409e-01  1.264e-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.039e+00  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/465963/likelihoodResults_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.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) = 7755.92594426
delta logL = 1.69741219035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7755.80736962
delta logL = 1.8159868319

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40633       1.0000          .0000       .10000E+07
     2 'Index     '    4.0981       1.0000          .0000       10.000    
     3 'Normalizat'    .93760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98992       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=   7755.807     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      263 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40187        2.7712        .65624E-03   -.35481E-01
   2  Index         4.1027        1.8310        .88486E-01   -.10252E-03
   3  Normalizat    .93751        .45747E-01    .45380E-01   -.31370E-03
   4  Prefactor     .99015        .34724E-01    .46141E-01   -.28211E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.40187
  Index      = 4.10269
  Normalizat = 0.937507
  Prefactor  = 0.990152
 **********
 **   18 **HESSE 
 **********

 FCN=   7755.807     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40187        5.8257        .29669E-05   -1.5695    
   2  Index         4.1027        3.0113        .33968E-02   -.18044    
   3  Normalizat    .93751        .18276        .27220E-03   -.95154    
   4  Prefactor     .99015        .13719        .20320E-03   -.93059    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9104e-09
Minuit parameter uncertainties:
  1  3.06018
  2  3.24066
  3  0.182879
  4  0.137236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/465963': 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) = 7755.80735953
delta logL = 1.81599691469

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  4.019e-01  3.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  4.103e+00  3.241e+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:  9.902e-01  1.372e-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:  9.375e-01  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.68
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 4.10 +/- 3.24
Photon Flux (Free Index): 9.04e-08 +/- 5.17e-08
Energy Flux (Free Index): 1.33e-05 +/- 8.51e-06

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/465963/cmap_HighResolution_693705601_693964801_4FGL_J2200.7-2414_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='1.33e-05', dlogl='1.82e+00', photon_flux2='9.04e-08', job_status='DONE', time_completed='2022-12-29 01:49:20.008470', photon_index_error2='3.24', photon_index2='4.10', ts='0.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='8.51e-06', EG='1.04', time_epoch_completed='1672307360.01', return_code='0', job_id='465963', GAL2='0.99', EG2='0.94', return_code2='102', photon_flux_error2='5.17e-08', ts2='4.68', photon_index='2.23' WHERE bin_id='1753' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:49:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 465963: <4FGL_J2200.7-2414_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:35:18 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:35:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:35:55 2022
Terminated at Thu Dec 29 01:49:20 2022
Results reported at Thu Dec 29 01:49:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1753 330.181 -24.2421 693705601 693964801 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 :                                   662.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            842 sec.

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

