/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 71 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 = 7338
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1062
RA = 330.181, Dec = -24.2421
tmin = 514598401, tmax = 514857601
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='92391', job_status='RUN', time_executed='2021-09-27 23:57:56.132113', time_epoch_executed='1632812276.13' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1062'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92391/ft1_4FGL_J2200.7-2414_daily_bin1062.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92391/ft1_4FGL_J2200.7-2414_daily_bin1062.fits outfile=/scratch/kocevski/92391/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1062.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=514598401.0 tmax=514857601.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.38
user 3.05
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits" evtable="EVENTS" scfile=/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits sctable="SC_DATA" outfile=/scratch/kocevski/92391/ltcube_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.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/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits
.....................!
real 11.98
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits sctable="SC_DATA" expcube=/scratch/kocevski/92391/ltcube_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.fits outfile=/scratch/kocevski/92391/expmap_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.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/92391/ltcube_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.fits
.....................!
real 156.93
user 152.24
sys 4.36

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/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits scfile=/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits outfile=/scratch/kocevski/92391/cmap_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits scfile=/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits outfile=/scratch/kocevski/92391/cmap_HighResolution_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/92391/ft2_4FGL_J2200.7-2414_daily_bin1062.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92391/Model_4FGL_J2200.7-2414_daily_bin1062.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/92391/ft1_filtered_4FGL_J2200.7-2414_daily_bin1062.fits.....................!
real 40.55
user 39.35
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7790       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.4908       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
     7 'norm      '    3.2276       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1295       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.892       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7078       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3047       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5913       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8948       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3728       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    5.4794       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81604       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=   5473.830     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2670 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7791        7.8605        .25248E-07   -.13404E-04
   2  norm          .10000E-03    3.5065        .24057E-09** at limit **
   3  Prefactor     8.5462        6.4556        .10807E-07   -.22325E-04
   4  Prefactor     .10000E-03    5.3627       -.27566E-07** at limit **
   5  norm          8.4907        6.4064       -.57810E-07   -.26611E-04
   6  Prefactor     15.444        16.763        .46276E-08   -.11601E-04
   7  norm          3.2273        5.4063        .12221E-07   -.26963E-04
   8  Prefactor     .10000E-03    7.1136        .29142E-08** at limit **
   9  Prefactor     .10000E-03    38.154        .84245E-06** at limit **
  10  norm          3.1307        4.6149        .11706E-05   -.39315E-03
  11  Prefactor     22.889        20.812       -.69881E-06   -.21258E-04
  12  norm          1.7078        .47724       -.69123E-07   -.13032E-02
  13  Prefactor     .10000E-03    4.7863        .35840E-07** at limit **
  14  Prefactor     1.3073        21.338        .12931E-04   -.23596E-04
  15  Prefactor     .10001E-03    25.322        .15711E-05** at limit **
  16  Prefactor     7.5901        11.364        .14705E-06    .32519E-04
  17  Prefactor     .10000E-03    17.635        .52310E-06** at limit **
  18  norm          .10000E-03    12.812       -.98358E-07** at limit **
  19  Prefactor     7.8950        12.238        .86052E-06    .37766E-03
  20  norm          2.3733        1.9549        .24557E-06    .13219E-02
  21  Prefactor     .10000E-03    30.276       -.39691E-06** at limit **
  22  norm          5.4796        4.4800        .12455E-06    .30843E-03
  23  Normalizat    .97132        .19651       -.77702E-06    .50291E-03
  24  Prefactor     .81606        .13855        .21788E-06    .54625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77913
  norm       = 0.0001
  Prefactor  = 8.54622
  Prefactor  = 0.0001
  norm       = 8.49067
  Prefactor  = 15.4443
  norm       = 3.2273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.13072
  Prefactor  = 22.8887
  norm       = 1.70785
  Prefactor  = 0.0001
  Prefactor  = 1.3073
  Prefactor  = 0.000100008
  Prefactor  = 7.59011
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.89503
  norm       = 2.37328
  Prefactor  = 0.0001
  norm       = 5.47964
  Normalizat = 0.971317
  Prefactor  = 0.816056
 **********
 **   18 **HESSE 
 **********

 FCN=   5473.830     FROM HESSE     STATUS=OK           397 CALLS     3067 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7791        7.8600        .14377E-03   -1.5150    
   2  norm          .10000E-03    3.5159        .13530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.5462        6.4588        .13712E-03   -1.5123    
   4  Prefactor     .10000E-03    5.3720        .16732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.4907        6.4048        .13757E-03   -1.5125    
   6  Prefactor     15.444        16.755        .10190E-03   -1.4922    
   7  norm          3.2273        5.3958        .21619E-03   -1.5349    
   8  Prefactor     .10000E-03    7.1192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    38.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1307        4.6485        .87280E-03   -1.5354    
  11  Prefactor     22.889        20.809        .83718E-04   -1.4751    
  12  norm          1.7078        .47960        .24831E-04   -1.5447    
  13  Prefactor     .10000E-03    4.8124        .15806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3073        21.441        .19325E-02   -1.5479    
  15  Prefactor     .10001E-03    26.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.5901        11.414        .14555E-03   -1.5157    
  17  Prefactor     .10000E-03    17.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    12.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8950        12.312        .14271E-03   -1.5146    
  20  norm          2.3733        1.9662        .91191E-04   -1.5400    
  21  Prefactor     .10000E-03    30.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.4796        4.4823        .13760E-03   -1.5240    
  23  Normalizat    .97132        .22981        .26260E-03   -.93998    
  24  Prefactor     .81606        .16188        .20834E-03   -.99139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00689e-09
Minuit parameter uncertainties:
  1  7.86107
  2  1.10827e-07
  3  6.45933
  4  3.82628e-06
  5  6.40534
  6  16.7604
  7  5.39659
  8  4.43524e-06
  9  3.62506e-05
  10  4.64902
  11  20.8153
  12  0.479598
  13  5.2016e-06
  14  10.5927
  15  0.000909347
  16  11.4176
  17  8.56611e-06
  18  1.95971e-05
  19  12.3156
  20  1.96621
  21  5.63712e-05
  22  4.4826
  23  0.230047
  24  0.161976
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.202e-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:  8.161e-01  1.620e-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.713e-01  2.300e-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: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92391/likelihoodResults_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.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) = 5473.83091847
delta logL = -0.000990007259134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5473.82992808
delta logL = 3.81689460482e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1947       1.0000          .0000       10.000    
     3 'Normalizat'    .97132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81606       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=   5473.830     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10275E-03    2.4255        .16387E-01** at limit **
   2  Index         2.1094        5.3133        .50000        .38904E-04
   3  Normalizat    .97131        .32057E-02    .26260E-03   -.54463E-04
   4  Prefactor     .81606        .23635E-02    .20834E-03    .26411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102751
  Index      = 2.10937
  Normalizat = 0.971314
  Prefactor  = 0.816057
 **********
 **   18 **HESSE 
 **********

 FCN=   5473.830     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10275E-03    54.117        .16791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1094        7.8612        .50000       -.61643    
   3  Normalizat    .97131        .15173E-01    .10504E-04   -.93998    
   4  Prefactor     .81606        .11187E-01    .83336E-05   -.99139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.02486e-08
Minuit parameter uncertainties:
  1  0.024424
  2  243.462
  3  0.0151731
  4  0.0111871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92391': 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) = 5473.82992743
delta logL = 1.03449565358e-06

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.028e-04  2.442e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.109e+00  2.435e+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:  8.161e-01  1.119e-02  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.713e-01  1.517e-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/92391/cmap_HighResolution_514598401_514857601_4FGL_J2200.7-2414_daily_bin1062.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-28 00:06:17.209517', job_id='92391', GAL2='0.82', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632812777.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1062' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:06:17 PDT 2021


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

Job <4FGL_J2200.7-2414_daily_bin1062> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:55:16 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:56:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 23:56:36 2021
Terminated at Tue Sep 28 00:06:18 2021
Results reported at Tue Sep 28 00:06:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1062 330.181 -24.2421 514598401 514857601 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 :                                   493.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             261.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            662 sec.

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

