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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1747
RA = 330.181, Dec = -24.2421
tmin = 692150401, tmax = 692409601
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='814828', job_status='RUN', time_executed='2022-12-11 01:45:36.680039', time_epoch_executed='1670751936.68' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/814828

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/814828/ft1_4FGL_J2200.7-2414_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/814828/ft1_4FGL_J2200.7-2414_daily_bin1747.fits outfile=/scratch/kocevski/814828/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1747.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=692150401.0 tmax=692409601.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.00
user 3.76
sys 0.22

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

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

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/814828/ltcube_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.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/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits
.....................!
real 12.05
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/814828/ltcube_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.fits outfile=/scratch/kocevski/814828/expmap_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.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/814828/ltcube_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.fits
.....................!
real 192.20
user 186.43
sys 5.46

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/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits scfile=/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits outfile=/scratch/kocevski/814828/cmap_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=330.181 yref=-24.2421 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits scfile=/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits outfile=/scratch/kocevski/814828/cmap_HighResolution_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814828/ft2_4FGL_J2200.7-2414_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/814828/Model_4FGL_J2200.7-2414_daily_bin1747.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/814828/ft1_filtered_4FGL_J2200.7-2414_daily_bin1747.fits.....................!
real 45.84
user 44.51
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83437E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .15044E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.197       1.0000          .0000       .10000E+07
     4 'Prefactor '    30.244       1.0000          .0000       .10000E+07
     5 'norm      '    .10889E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    30.041       1.0000          .0000       .10000E+07
     7 'norm      '    .22617E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11445       1.0000          .0000       .10000E+07
     9 'Prefactor '    70.310       1.0000          .0000       .10000E+07
    10 'norm      '    .50984E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.5020       1.0000          .0000       .10000E+07
    12 'norm      '    .68331       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75005E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .25185E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .77709E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .43000E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.987       1.0000          .0000       .10000E+07
    18 'norm      '    .17115E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49175E-03   1.0000          .0000       .10000E+07
    20 'norm      '    5.2422       1.0000          .0000       .10000E+07
    21 'Prefactor '    80.764       1.0000          .0000       .10000E+07
    22 'norm      '    .79292E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2651       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97071       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=   4751.351     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2112 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13961E-06    178.59       -.12156E-05** at limit **
   2  norm           .0000        4.4565       -.41270E-07** at limit **
   3  Prefactor     10.239        10.131        .31579E-07   -.64240E-02
   4  Prefactor     30.210        9.2373       -.37007E-07   -.27970E-01
   5  norm           .0000        4.5378       -.11176E-06** at limit **
   6  Prefactor     30.018        19.587        .11143E-06   -.14472E-01
   7  norm           .0000        2.4817       -.19107E-07** at limit **
   8  Prefactor      .0000        24.062        .23121E-06** at limit **
   9  Prefactor     71.009        31.192       -.21192E-06   -.13417E-01
  10  norm           .0000        9.7044        .11180E-06** at limit **
  11  Prefactor     9.5149        3.8942       -.15735E-07   -.17433E-01
  12  norm          .68339        .41062       -.23347E-08   -.99588E-04
  13  Prefactor      .0000        4.8480       -.37192E-06** at limit **
  14  Prefactor     .17431E-07    406.02        .27256E-05** at limit **
  15  Prefactor      .0000        9.0172       -.29910E-07** at limit **
  16  Prefactor     .55511E-10    5.4438       -.10876E-06** at limit **
  17  Prefactor     44.729        15.704        .60744E-07   -.32266E-01
  18  norm           .0000        15.429       -.18020E-06** at limit **
  19  Prefactor     .23648E-07    111.80        .50155E-06** at limit **
  20  norm          5.2039        4.1549        .81242E-07   -.11340E-03
  21  Prefactor     82.377        87.026       -.53086E-06   -.25843E-02
  22  norm          .11102E-09    12.807       -.52206E-06** at limit **
  23  Normalizat    1.2635        .31492       -.53545E-06   -.21248E-04
  24  Prefactor     .97152        .21758        .12953E-05   -.28146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39611e-07
  norm       = 0
  Prefactor  = 10.2392
  Prefactor  = 30.2102
  norm       = 0
  Prefactor  = 30.0181
  norm       = 0
  Prefactor  = 0
  Prefactor  = 71.009
  norm       = 0
  Prefactor  = 9.51494
  norm       = 0.68339
  Prefactor  = 0
  Prefactor  = 1.74305e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 44.7289
  norm       = 0
  Prefactor  = 2.36478e-08
  norm       = 5.20392
  Prefactor  = 82.377
  norm       = 1.11022e-10
  Normalizat = 1.26354
  Prefactor  = 0.971516
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.351     FROM HESSE     STATUS=OK           451 CALLS     2563 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13961E-06    172.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        4.4583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.239        10.798        .31354E-03   -1.5644    
   4  Prefactor     30.210        23.223        .18186E-03   -1.5598    
   5  norm           .0000        4.5380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.018        21.598        .18248E-03   -1.5598    
   7  norm           .0000        2.4854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        23.993        .13556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     71.009        90.288        .11927E-03   -1.5539    
  10  norm           .0000        9.6180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5149        10.895        .32486E-03   -1.5646    
  12  norm          .68339        .41673        .62073E-03   -1.5691    
  13  Prefactor      .0000        4.8547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17431E-07    8.3984        .12017E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        9.0226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    5.4626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     44.729        90.756        .14911E-03   -1.5574    
  18  norm           .0000        15.372        .17234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .23648E-07    110.74        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.2039        4.2161        .43878E-03   -1.5662    
  21  Prefactor     82.377        91.763        .11128E-03   -1.5526    
  22  norm          .11102E-09    12.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2635        .26572        .65817E-01   -.84661    
  24  Prefactor     .97152        .18041        .45900E-01   -.93685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40608e-07
Minuit parameter uncertainties:
  1  0.00982886
  2  9.51073e-06
  3  10.7983
  4  23.2234
  5  1.67513e-05
  6  21.5983
  7  7.49119e-07
  8  5.72213e-06
  9  90.2898
  10  2.4363e-06
  11  10.8953
  12  0.416732
  13  2.06994e-05
  14  0.000765321
  15  1.31748e-05
  16  4.14419e-05
  17  90.7593
  18  3.88526e-06
  19  0.00323537
  20  4.21606
  21  91.765
  22  7.04559e-05
  23  0.266007
  24  0.180525
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  2.070e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.715e-01  1.805e-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.264e+00  2.660e-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: 7.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/814828/likelihoodResults_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.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) = 4751.35585117
delta logL = -0.0051483744719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4751.35070351
delta logL = -7.23403900338e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42402E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.3589       1.0000          .0000       10.000    
     3 'Normalizat'    1.2634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97164       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=   4751.351     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      249 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .23567        .42118E-03** at limit **
   2  Index         1.0272        7.5190        .50000       -.50022E-10
   3  Normalizat    1.2635        .17325E-02    .65817E-01   -.47994E-04
   4  Prefactor     .97152        .12302E-02    .45912E-01   -.55530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.02718
  Normalizat = 1.26354
  Prefactor  = 0.971516
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.351     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .66E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.1815        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0272        5.5337        .50000       -.91829    
   3  Normalizat    1.2635        .38751E-02    .29116E-03   -.84661    
   4  Prefactor     .97152        .27532E-02    .23100E-03   -.93685    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.57318e-13
Minuit parameter uncertainties:
  1  1.46413e-05
  2  89620
  3  0.00387509
  4  0.00275318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/814828': 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) = 4751.35070279
delta logL = -1.1823431123e-11

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  5.551e-11  1.464e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  1.027e+00  8.962e+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.715e-01  2.753e-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.264e+00  3.875e-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/814828/cmap_HighResolution_692150401_692409601_4FGL_J2200.7-2414_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2022-12-11 01:54:12.368387', job_id='814828', GAL2='0.97', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1670752452.37', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-1.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1747' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:54:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 814828: <4FGL_J2200.7-2414_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:45:11 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:45:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:45:13 2022
Terminated at Sun Dec 11 01:54:13 2022
Results reported at Sun Dec 11 01:54:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1747 330.181 -24.2421 692150401 692409601 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 :                                   518.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            542 sec.

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

