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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1219
RA = 330.181, Dec = -24.2421
tmin = 555292801, tmax = 555552001
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='92650', job_status='RUN', time_executed='2021-09-28 00:01:59.197026', time_epoch_executed='1632812519.2' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92650

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92650/ft1_4FGL_J2200.7-2414_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92650/ft2_4FGL_J2200.7-2414_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92650/ft1_4FGL_J2200.7-2414_daily_bin1219.fits outfile=/scratch/kocevski/92650/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1219.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=555292801.0 tmax=555552001.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.63
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92650/ft1_filtered_4FGL_J2200.7-2414_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/92650/ft2_4FGL_J2200.7-2414_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/92650/ltcube_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.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/92650/ft2_4FGL_J2200.7-2414_daily_bin1219.fits
.....................!
real 13.67
user 13.33
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92650/ft1_filtered_4FGL_J2200.7-2414_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/92650/ft2_4FGL_J2200.7-2414_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/92650/ltcube_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.fits outfile=/scratch/kocevski/92650/expmap_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.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/92650/ltcube_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.fits
.....................!
real 190.77
user 185.46
sys 4.76

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/92650/ft1_filtered_4FGL_J2200.7-2414_daily_bin1219.fits scfile=/scratch/kocevski/92650/ft2_4FGL_J2200.7-2414_daily_bin1219.fits outfile=/scratch/kocevski/92650/cmap_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.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.95
user 0.40
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1726       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2367       1.0000         .10000E-03   10000.    
     5 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .16091E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.877       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.876       1.0000         .10000E-03   10000.    
    12 'norm      '    .32850       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.260       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.4378       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.3892       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1270       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93704       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=   4377.172     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     3055 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1726        11.888        .80182E-06    .94792E-04
   2  norm          .10000E-03    3.2366       -.82985E-08** at limit **
   3  Prefactor     .10000E-03    4.5322       -.12803E-06** at limit **
   4  Prefactor     6.2321        14.507        .21196E-06    .34310E-04
   5  norm          .10000E-03    5.5873        .10025E-06** at limit **
   6  Prefactor     .10000E-03    9.1986       -.15577E-06** at limit **
   7  norm          .10000E-03    7.6703        .32569E-05** at limit **
   8  Prefactor     .10000E-03    17.027        .12845E-06** at limit **
   9  Prefactor     10.882        167.87        .91926E-06   -.22462E-05
  10  norm          .10000E-03    4.2088        .12240E-06** at limit **
  11  Prefactor     16.879        13.379        .75658E-07    .88390E-05
  12  norm          .32846        .29966        .28841E-08    .15109E-04
  13  Prefactor     .10000E-03    31.788        .83719E-06** at limit **
  14  Prefactor     .10000E-03    21.762       -.53383E-06** at limit **
  15  Prefactor     7.0839        20.479        .84422E-06    .35873E-04
  16  Prefactor     .10000E-03    24.834        .23094E-06** at limit **
  17  Prefactor     30.234        68.486       -.66507E-07   -.30058E-04
  18  norm          .10000E-03    38.447        .78558E-06** at limit **
  19  Prefactor     .10000E-03    13.965        .30476E-05** at limit **
  20  norm          3.4371        3.8559       -.26015E-06   -.34440E-03
  21  Prefactor     7.4385        198.94        .12726E-05   -.11652E-04
  22  norm          .10000E-03    5.8391        .28763E-06** at limit **
  23  Normalizat    1.1267        .26737       -.41835E-05   -.24335E-04
  24  Prefactor     .93726        .18372        .32258E-05   -.24515E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17257
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.23206
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 10.8817
  norm       = 0.0001
  Prefactor  = 16.8794
  norm       = 0.328464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.08385
  Prefactor  = 0.0001
  Prefactor  = 30.2344
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 3.43712
  Prefactor  = 7.43846
  norm       = 0.0001
  Normalizat = 1.12672
  Prefactor  = 0.937256
 **********
 **   18 **HESSE 
 **********

 FCN=   4377.172     FROM HESSE     STATUS=OK           399 CALLS     3454 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1726        11.951        .22753E-03   -1.5352    
   2  norm          .10000E-03    3.2371        .11625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.5576        .13755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2321        14.480        .16074E-03   -1.5209    
   5  norm          .10000E-03    5.5955        .15278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.2599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.9041        .27665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.882        167.52        .12148E-03   -1.5048    
  10  norm          .10000E-03    4.2321        .13241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.879        13.380        .97495E-04   -1.4886    
  12  norm          .32846        .31295        .33498E-03   -1.5593    
  13  Prefactor     .10000E-03    33.139        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0839        20.506        .15073E-03   -1.5176    
  16  Prefactor     .10000E-03    24.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.234        68.669        .72836E-04   -1.4608    
  18  norm          .10000E-03    38.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.4371        3.8700        .11264E-03   -1.5337    
  21  Prefactor     7.4385        201.09        .14755E-03   -1.5162    
  22  norm          .10000E-03    5.8859        .15631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1267        .30230        .27260E-03   -.88899    
  24  Prefactor     .93726        .20410        .20799E-03   -.94851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23863e-10
Minuit parameter uncertainties:
  1  11.9596
  2  9.9646e-07
  3  1.33559e-05
  4  14.4877
  5  2.26576e-05
  6  3.77702e-05
  7  0.00034944
  8  5.44723e-06
  9  85.6782
  10  1.18225e-05
  11  13.3828
  12  0.312956
  13  0.000198109
  14  7.68891e-05
  15  20.5264
  16  9.71038e-05
  17  68.8496
  18  0.000125517
  19  0.000485555
  20  3.87032
  21  77.6421
  22  1.7189e-05
  23  0.302769
  24  0.204265
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.981e-04  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.373e-01  2.043e-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.127e+00  3.028e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92650/likelihoodResults_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.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) = 4377.17210009
delta logL = -0.000142922504892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4377.1719573
delta logL = -1.27149178297e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2994       1.0000          .0000       10.000    
     3 'Normalizat'    1.1267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93726       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=   4377.172     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      242 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    3.6172        .90712E-01** at limit **
   2  Index         2.2705        2.7287        .50000        .69063E-05
   3  Normalizat    1.1267        .42084E-02    .61632E-01    .14142E-03
   4  Prefactor     .93726        .29740E-02    .45478E-01    .16684E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Index      = 2.27047
  Normalizat = 1.12672
  Prefactor  = 0.937256
 **********
 **   18 **HESSE 
 **********

 FCN=   4377.172     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    7135.0        .34699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2705        5.2821        .50000       -.57747    
   3  Normalizat    1.1267        .10140        .27260E-03   -.88899    
   4  Prefactor     .93726        .71588E-01    .20799E-03   -.94851    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58922e-07
Minuit parameter uncertainties:
  1  0.0199803
  2  53.237
  3  0.10142
  4  0.0715949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92650': 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) = 4377.17195723
delta logL = -6.49961293675e-08

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.998e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.270e+00  5.324e+01  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.373e-01  7.159e-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:  1.127e+00  1.014e-01  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/92650/cmap_HighResolution_555292801_555552001_4FGL_J2200.7-2414_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-28 00:11:58.631213', job_id='92650', GAL2='0.94', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632813118.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-6.50e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1219' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:11:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 92650: <4FGL_J2200.7-2414_daily_bin1219> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1219 330.181 -24.2421 555292801 555552001 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 :                                   557.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            988 sec.

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

