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 31 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1691
RA = 330.181, Dec = -24.2421
tmin = 677635201, tmax = 677894401
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='311026', job_status='RUN', time_executed='2022-06-26 01:14:13.992718', time_epoch_executed='1656231253.99' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/311026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/311026/ft1_4FGL_J2200.7-2414_daily_bin1691.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/311026/ft1_4FGL_J2200.7-2414_daily_bin1691.fits outfile=/scratch/kocevski/311026/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1691.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=677635201.0 tmax=677894401.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.00
user 1.79
sys 0.18

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

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

Number of photons that the gtmktime cut: 391

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits" evtable="EVENTS" scfile=/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits sctable="SC_DATA" outfile=/scratch/kocevski/311026/ltcube_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.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/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits
.....................!
real 15.01
user 14.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits sctable="SC_DATA" expcube=/scratch/kocevski/311026/ltcube_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits outfile=/scratch/kocevski/311026/expmap_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.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/311026/ltcube_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits
.....................!
real 158.52
user 152.83
sys 4.81

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/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits scfile=/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits outfile=/scratch/kocevski/311026/cmap_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.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.49
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits scfile=/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits outfile=/scratch/kocevski/311026/cmap_HighResolution_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.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.50
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/311026/Model_4FGL_J2200.7-2414_daily_bin1691.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/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits.....................!
real 35.58
user 34.15
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits', '/scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits', expMap='/scratch/kocevski/311026/expmap_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits', expCube='/scratch/kocevski/311026/ltcube_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/311026/Model_4FGL_J2200.7-2414_daily_bin1691.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  1.000e-04  1.000e+04 ( 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/311026/ft1_filtered_4FGL_J2200.7-2414_daily_bin1691.fits
Spacecraft file(s): /scratch/kocevski/311026/ft2_4FGL_J2200.7-2414_daily_bin1691.fits
Exposure map: /scratch/kocevski/311026/expmap_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits
Exposure cube: /scratch/kocevski/311026/ltcube_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/311026/Model_4FGL_J2200.7-2414_daily_bin1691.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) = 4463.64723275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0822       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8060       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    93.163       1.0000         .10000E-03   10000.    
    10 'norm      '    4.5510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.736       1.0000         .10000E-03   10000.    
    12 'norm      '    .47948       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.710       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0125       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.523       1.0000         .10000E-03   10000.    
    22 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1523       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91253       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4463.644     FROM MIGRAD    STATUS=CONVERGED    936 CALLS     3522 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.091        .18142E-02** at limit **
   2  norm          .10000E-03    3.6066        .12391E-02** at limit **
   3  Prefactor     6.0855        9.7720        .16280E-03   -.76817E-06
   4  Prefactor     .10000E-03    215.45        .61655E-02** at limit **
   5  norm          .10000E-03    5.4027        .15148E-02** at limit **
   6  Prefactor     7.8021        20.291        .14352E-03   -.24556E-05
   7  norm          .10000E-03    2.8934        .11087E-02** at limit **
   8  Prefactor     .10000E-03    15.385        .18142E-02** at limit **
   9  Prefactor     93.075        121.79        .20818E-03   -.28615E-04
  10  norm          4.5512        9.2842        .94351E-03   -.10488E-03
  11  Prefactor     16.747        22.723        .97901E-04    .23573E-04
  12  norm          .47945        .33632        .30267E-03    .53374E-04
  13  Prefactor     .10000E-03    12.905        .18142E-02** at limit **
  14  Prefactor     30.711        16.785        .72301E-04    .95916E-05
  15  Prefactor     .10000E-03    6.8735        .17103E-02** at limit **
  16  Prefactor     .10000E-03    11.248        .18142E-02** at limit **
  17  Prefactor     .10000E-03    37.700        .18142E-02** at limit **
  18  norm          .10000E-03    14.656        .18142E-02** at limit **
  19  Prefactor     .10000E-03    3.7740        .12669E-02** at limit **
  20  norm          1.0143        3.6014        .17470E-03   -.80693E-05
  21  Prefactor     18.486        62.405        .93061E-04    .20035E-04
  22  norm          .10001E-03    36.928        .33389E-02** at limit **
  23  Normalizat    1.1527        .32210        .27812E-03    .92790E-04
  24  Prefactor     .91222        .22057        .22131E-03   -.64214E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.08553
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.80205
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 93.075
  norm       = 4.5512
  Prefactor  = 16.7472
  norm       = 0.479452
  Prefactor  = 0.0001
  Prefactor  = 30.7107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.01432
  Prefactor  = 18.4862
  norm       = 0.000100007
  Normalizat = 1.15268
  Prefactor  = 0.912215
 **********
 **   18 **HESSE 
 **********

 FCN=   4463.644     FROM HESSE     STATUS=OK           377 CALLS     3899 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.6066        .24782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0855        9.7713        .65119E-05   -1.5215    
   4  Prefactor     .10000E-03    222.90        .24662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.4030        .30296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8021        20.288        .57408E-05   -1.5149    
   7  norm          .10000E-03    2.8934        .22174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     93.075        121.37        .83274E-05   -1.3775    
  10  norm          4.5512        9.2592        .37740E-04   -1.5281    
  11  Prefactor     16.747        22.719        .39160E-05   -1.4889    
  12  norm          .47945        .33621        .12107E-04   -1.5569    
  13  Prefactor     .10000E-03    12.911        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.711        16.787        .28921E-05   -1.4599    
  15  Prefactor     .10000E-03    6.8736        .34207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.249        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.702        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.657        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7741        .25339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0143        3.5939        .69881E-05   -1.5507    
  21  Prefactor     18.486        62.295        .37224E-05   -1.4848    
  22  norm          .10001E-03    37.614        .66777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1527        .32247        .11125E-04   -.88078    
  24  Prefactor     .91222        .22086        .88522E-05   -.95716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3482e-10
Minuit parameter uncertainties:
  1  2.13908e-05
  2  8.17731e-07
  3  9.77381
  4  0.000543875
  5  4.19671e-06
  6  20.3056
  7  2.04047e-06
  8  4.39648e-05
  9  121.697
  10  9.26209
  11  22.731
  12  0.336216
  13  8.17672e-06
  14  16.7891
  15  1.45202e-06
  16  8.8069e-06
  17  4.08953e-05
  18  1.63453e-06
  19  1.01811e-06
  20  3.5947
  21  62.515
  22  0.00104579
  23  0.323025
  24  0.221072
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  8.177e-06  1.000e-04  1.000e+04 ( 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.122e-01  2.211e-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.153e+00  3.230e-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: 9.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/311026/likelihoodResults_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.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) = 4463.64434427
delta logL = -0.000369275865523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4463.64397486
delta logL = 1.30336047732e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2560       1.0000          .0000       10.000    
     3 'Normalizat'    1.1527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91222       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4463.644     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      256 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10469E-03    .20333        .65249E-01** at limit **
   2  Index         2.3491        8.5430        .50000       -.21106E-04
   3  Normalizat    1.1527        .98075E-03    .27812E-03   -.77994E-04
   4  Prefactor     .91222        .70712E-03    .22131E-03    .55685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010469
  Index      = 2.34906
  Normalizat = 1.15267
  Prefactor  = 0.912219
 **********
 **   18 **HESSE 
 **********

 FCN=   4463.644     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      287 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10469E-03    41.356        .36291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3491        5.6249        .50000       -.55882    
   3  Normalizat    1.1527        .10018E-01    .11125E-04   -.88078    
   4  Prefactor     .91222        .72232E-02    .88524E-05   -.95715    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71304e-08
Minuit parameter uncertainties:
  1  0.0278732
  2  158.657
  3  0.0100183
  4  0.00722318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/311026': 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) = 4463.64397456
delta logL = 4.34951289208e-07

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.047e-04  2.787e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.349e+00  1.587e+02  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.122e-01  7.223e-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.153e+00  1.002e-02  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/311026/cmap_HighResolution_677635201_677894401_4FGL_J2200.7-2414_daily_bin1691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.83e-08', time_completed='2022-06-26 01:22:25.510963', job_id='311026', GAL2='0.91', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1656231745.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1691' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun 26 01:22:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 311026: <4FGL_J2200.7-2414_daily_bin1691> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun 26 01:10:35 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 01:13:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 01:13:32 2022
Terminated at Sun Jun 26 01:22:26 2022
Results reported at Sun Jun 26 01:22:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1691 330.181 -24.2421 677635201 677894401 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 :                                   492.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            711 sec.

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

