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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1681
RA = 330.181, Dec = -24.2421
tmin = 675043201, tmax = 675302401
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='755891', job_status='RUN', time_executed='2022-05-27 00:58:04.859038', time_epoch_executed='1653638284.86' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/755891

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/755891/ft1_4FGL_J2200.7-2414_daily_bin1681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/755891/ft1_4FGL_J2200.7-2414_daily_bin1681.fits outfile=/scratch/kocevski/755891/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1681.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=675043201.0 tmax=675302401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.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/755891/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1681.fits evtable="EVENTS" outfile="/scratch/kocevski/755891/ft1_filtered_4FGL_J2200.7-2414_daily_bin1681.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.17

Number of photons that the gtmktime cut: 677

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/755891/ft1_filtered_4FGL_J2200.7-2414_daily_bin1681.fits" evtable="EVENTS" scfile=/scratch/kocevski/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.fits sctable="SC_DATA" outfile=/scratch/kocevski/755891/ltcube_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.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/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.fits
.....................!
real 13.37
user 12.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/755891/ft1_filtered_4FGL_J2200.7-2414_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.fits sctable="SC_DATA" expcube=/scratch/kocevski/755891/ltcube_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.fits outfile=/scratch/kocevski/755891/expmap_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.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/755891/ltcube_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.fits
.....................!
real 192.25
user 186.47
sys 5.26

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/755891/ft1_filtered_4FGL_J2200.7-2414_daily_bin1681.fits scfile=/scratch/kocevski/755891/ft2_4FGL_J2200.7-2414_daily_bin1681.fits outfile=/scratch/kocevski/755891/cmap_HighResolution_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9948       1.0000         .10000E-03   10000.    
     2 'norm      '    7.2505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50329E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18430E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.758       1.0000         .10000E-03   10000.    
    10 'norm      '    4.5325       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.975       1.0000         .10000E-03   10000.    
    12 'norm      '    .34316E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8657       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.512       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14982E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.4895       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    5.8414       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2604       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88891       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.

 FCN=   7319.341     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2894 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9960        7.2667        .90378E-06   -.10165E-03
   2  norm          7.2519        8.7577        .77993E-07   -.43845E-04
   3  Prefactor     .57574E-01    3.9779        .35766E-06   -.17661E-03
   4  Prefactor     .10000E-03    4.9418       -.25107E-07** at limit **
   5  norm          .10000E-03    2.4827       -.52048E-07** at limit **
   6  Prefactor     .10001E-03    20.707        .35862E-05** at limit **
   7  norm          .10000E-03    2.0763        .92176E-08** at limit **
   8  Prefactor     .10014E-03    11.281        .18458E-05** at limit **
   9  Prefactor     24.816        38.552       -.72174E-06   -.16567E-03
  10  norm          4.5321        3.4418        .17971E-05   -.17119E-02
  11  Prefactor     16.978        14.263        .82189E-07   -.92057E-04
  12  norm          .34357E-01    .12671       -.13244E-06   -.12493E-02
  13  Prefactor     4.8659        6.1284        .35699E-07   -.11211E-03
  14  Prefactor     10.510        12.581        .22083E-06   -.45202E-04
  15  Prefactor     .10000E-03    11.349       -.64894E-06** at limit **
  16  Prefactor     .10000E-03    8.9665        .19455E-05** at limit **
  17  Prefactor     .10000E-03    219.39       -.14078E-05** at limit **
  18  norm          .10000E-03    8.9359       -.13850E-05** at limit **
  19  Prefactor     .10000E-03    3.6284        .86465E-08** at limit **
  20  norm          2.4886        1.7743       -.51290E-07    .97826E-04
  21  Prefactor     .10001E-03    23.870       -.44872E-05** at limit **
  22  norm          5.8407        5.3268        .97070E-06    .78214E-03
  23  Normalizat    1.2605        .17739       -.10513E-05   -.13152E-03
  24  Prefactor     .88880        .13108        .15783E-06   -.27080E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99605
  norm       = 7.25192
  Prefactor  = 0.0575739
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.000100143
  Prefactor  = 24.8163
  norm       = 4.53213
  Prefactor  = 16.9783
  norm       = 0.0343571
  Prefactor  = 4.86592
  Prefactor  = 10.5099
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.48856
  Prefactor  = 0.000100011
  norm       = 5.84069
  Normalizat = 1.26046
  Prefactor  = 0.888795
 **********
 **   18 **HESSE 
 **********

 FCN=   7319.341     FROM HESSE     STATUS=OK           407 CALLS     3301 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9960        7.2673        .29330E-03   -1.5425    
   2  norm          7.2519        8.7736        .14896E-03   -1.5169    
   3  Prefactor     .57574E-01    9.3012        .52673E-01   -1.5660    
   4  Prefactor     .10000E-03    4.9544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.4969        .13165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    21.856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0783        .12039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10014E-03    36.953        .47454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.816        34.065        .80506E-04   -1.4711    
  10  norm          4.5321        3.6132        .67010E-03   -1.5282    
  11  Prefactor     16.978        14.266        .97209E-04   -1.4884    
  12  norm          .34357E-01    .24719        .54705E-03   -1.5671    
  13  Prefactor     4.8659        6.1269        .18236E-03   -1.5267    
  14  Prefactor     10.510        12.589        .12358E-03   -1.5059    
  15  Prefactor     .10000E-03    11.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.3817        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    222.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.0837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6375        .15913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4886        1.7739        .93194E-04   -1.5392    
  21  Prefactor     .10001E-03    25.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.8407        5.4251        .16617E-03   -1.5225    
  23  Normalizat    1.2605        .20974        .25297E-03   -.84755    
  24  Prefactor     .88880        .15601        .21992E-03   -.96534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92224e-09
Minuit parameter uncertainties:
  1  7.27051
  2  8.77517
  3  1.46253
  4  4.29861e-06
  5  2.81184e-06
  6  0.000680343
  7  2.56021e-07
  8  0.00460597
  9  34.0914
  10  3.61335
  11  14.2684
  12  0.184045
  13  6.12773
  14  12.5919
  15  8.67325e-05
  16  0.000235351
  17  0.000738918
  18  0.000194975
  19  1.75421e-06
  20  1.77394
  21  0.00105826
  22  5.42556
  23  0.209882
  24  0.156093
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.888e-01  1.561e-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.260e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 7.21e-06 +/- 9.08e-06

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

Saving results to:
/scratch/kocevski/755891/likelihoodResults_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.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) = 7319.14156722
delta logL = 0.199902238744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7319.11712568
delta logL = 0.224343774355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9221       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0786       1.0000          .0000       10.000    
     3 'Normalizat'    1.2307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90172       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=   7319.117     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      261 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9246        41.180        .74924E-02    .34400E-03
   2  Index         3.0785        3.2824        .12818        .16316E-03
   3  Normalizat    1.2304        .54233E-01    .57798E-01    .43444E-04
   4  Prefactor     .90189        .37012E-01    .45027E-01   -.17483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92457
  Index      = 3.07847
  Normalizat = 1.23039
  Prefactor  = 0.901894
 **********
 **   18 **HESSE 
 **********

 FCN=   7319.117     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9246        89.886        .11182E-03   -1.5431    
   2  Index         3.0785        6.2749        .68721E-02   -.39446    
   3  Normalizat    1.2304        .30333        .25560E-03   -.85669    
   4  Prefactor     .90189        .19110        .21847E-03   -.96075    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.46688e-09
Minuit parameter uncertainties:
  1  26.3468
  2  7.57173
  3  0.303771
  4  0.191245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/755891': 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) = 7319.11712376
delta logL = 0.224345697274

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.925e+00  2.635e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.078e+00  7.572e+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.019e-01  1.912e-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.230e+00  3.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 3.08 +/- 7.57
Photon Flux (Free Index): 3.99e-08 +/- 1.36e-07
Energy Flux (Free Index): 7.67e-06 +/- 7.59e-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/755891/cmap_HighResolution_675043201_675302401_4FGL_J2200.7-2414_daily_bin1681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='7.67e-06', photon_flux_error='2.12e-08', dlogl='2.24e-01', energy_flux='7.21e-06', photon_flux2='3.99e-08', job_status='DONE', time_completed='2022-05-27 01:10:21.714441', photon_index_error2='7.57', photon_index2='3.08', ts='1.11', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='7.47e-08', energy_flux_error2='7.59e-06', EG='1.26', time_epoch_completed='1653639021.71', return_code='0', job_id='755891', GAL2='0.90', EG2='1.23', return_code2='102', energy_flux_error='9.08e-06', photon_flux_error2='1.36e-07', ts2='1.58', photon_index='2.23' WHERE bin_id='1681' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 27 01:10:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 755891: <4FGL_J2200.7-2414_daily_bin1681> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1681> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri May 27 00:55:27 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May 27 00:57:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May 27 00:57:03 2022
Terminated at Fri May 27 01:10:22 2022
Results reported at Fri May 27 01:10:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1681 330.181 -24.2421 675043201 675302401 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 :                                   738.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            895 sec.

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

