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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1212
RA = 330.181, Dec = -24.2421
tmin = 553478401, tmax = 553737601
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='92639', job_status='RUN', time_executed='2021-09-28 00:00:59.597475', time_epoch_executed='1632812459.6' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92639

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92639/ft1_4FGL_J2200.7-2414_daily_bin1212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92639/ft1_4FGL_J2200.7-2414_daily_bin1212.fits outfile=/scratch/kocevski/92639/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1212.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=553478401.0 tmax=553737601.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.62
user 2.42
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits" evtable="EVENTS" scfile=/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits sctable="SC_DATA" outfile=/scratch/kocevski/92639/ltcube_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.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/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits
.....................!
real 15.38
user 14.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits sctable="SC_DATA" expcube=/scratch/kocevski/92639/ltcube_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.fits outfile=/scratch/kocevski/92639/expmap_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.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/92639/ltcube_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.fits
.....................!
real 191.56
user 186.09
sys 5.00

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/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits scfile=/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits outfile=/scratch/kocevski/92639/cmap_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.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.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits scfile=/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits outfile=/scratch/kocevski/92639/cmap_HighResolution_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/92639/ft2_4FGL_J2200.7-2414_daily_bin1212.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92639/Model_4FGL_J2200.7-2414_daily_bin1212.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/92639/ft1_filtered_4FGL_J2200.7-2414_daily_bin1212.fits.....................!
real 26.90
user 25.30
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.950       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.6262       1.0000         .10000E-03   10000.    
     5 'norm      '    5.4885       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.690       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11163E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.6202       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.693       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2285       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.274       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    193.17       1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6142       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74089       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=   1894.408     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2678 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.929        102.70       -.18059E-04    .14519E-04
   2  norm          .10000E-03    15.201       -.68731E-06** at limit **
   3  Prefactor     .10000E-03    19.978       -.83101E-05** at limit **
   4  Prefactor     9.6343        46.009        .38415E-05    .67377E-05
   5  norm          5.4909        39.431       -.52078E-05   -.97572E-05
   6  Prefactor     23.678        61.401       -.13401E-04    .10248E-04
   7  norm          .10000E-03    9.4319        .37479E-07** at limit **
   8  Prefactor     .10000E-03    38.484       -.28768E-05** at limit **
   9  Prefactor     .10000E-03    259.67       -.80950E-06** at limit **
  10  norm          5.6168        14.422       -.21402E-05   -.36545E-04
  11  Prefactor     39.691        40.884        .11370E-05    .11775E-04
  12  norm          1.2285        .72327       -.18721E-07    .18125E-03
  13  Prefactor     .10000E-03    21.146        .84227E-05** at limit **
  14  Prefactor     12.276        23.097       -.17431E-05    .11708E-05
  15  Prefactor     .10000E-03    13.440        .51810E-05** at limit **
  16  Prefactor     .10000E-03    12.577       -.50502E-05** at limit **
  17  Prefactor     .10000E-03    47.558       -.56793E-05** at limit **
  18  norm          .10000E-03    49.835        .85227E-05** at limit **
  19  Prefactor     .10000E-03    11.466        .14697E-05** at limit **
  20  norm          .10001E-03    4.8824        .17162E-05** at limit **
  21  Prefactor     193.13        111.98       -.24832E-04   -.60009E-04
  22  norm          .10000E-03    5.9645        .25579E-06** at limit **
  23  Normalizat    1.6145        .44363        .10079E-04   -.11000E-03
  24  Prefactor     .74072        .31937        .79964E-06    .10381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.9291
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.63427
  norm       = 5.49092
  Prefactor  = 23.6783
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.6168
  Prefactor  = 39.6906
  norm       = 1.22851
  Prefactor  = 0.0001
  Prefactor  = 12.2763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 193.133
  norm       = 0.0001
  Normalizat = 1.61445
  Prefactor  = 0.74072
 **********
 **   18 **HESSE 
 **********

 FCN=   1894.408     FROM HESSE     STATUS=OK           387 CALLS     3065 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.929        102.43        .41033E-04   -1.3746    
   2  norm          .10000E-03    15.206        .16578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.6343        45.955        .12916E-03   -1.5087    
   5  norm          5.4909        39.979        .17151E-03   -1.5239    
   6  Prefactor     23.678        61.360        .82298E-04   -1.4734    
   7  norm          .10000E-03    9.4319        .13058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    259.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6168        14.494        .16945E-03   -1.5234    
  11  Prefactor     39.691        40.866        .63621E-04   -1.4447    
  12  norm          1.2285        .72615        .27000E-04   -1.5486    
  13  Prefactor     .10000E-03    21.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.276        23.132        .11434E-03   -1.5007    
  15  Prefactor     .10000E-03    13.430        .15580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.594        .15079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    47.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    50.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.494        .14402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    5.0602        .18860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     193.13        113.15        .14531E-03   -1.2919    
  22  norm          .10000E-03    5.9932        .10382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6145        .54182        .27438E-03   -.74611    
  24  Prefactor     .74072        .39022        .28610E-03   -1.0195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19658e-09
Minuit parameter uncertainties:
  1  102.624
  2  1.21122e-06
  3  6.72067e-06
  4  42.1355
  5  29.6601
  6  61.5242
  7  3.79509e-06
  8  7.04677e-05
  9  0.000622399
  10  14.5029
  11  40.895
  12  0.72616
  13  9.63194e-05
  14  23.149
  15  1.12468e-05
  16  3.31474e-05
  17  4.36491e-05
  18  0.000174455
  19  8.68146e-05
  20  0.00035658
  21  113.281
  22  6.47169e-05
  23  0.543815
  24  0.391683
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  9.632e-05  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:  7.407e-01  3.917e-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.614e+00  5.438e-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: 2.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.63e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92639/likelihoodResults_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.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) = 1894.40831476
delta logL = -0.000224929477781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1894.40809009
delta logL = -2.51820665653e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1367       1.0000          .0000       10.000    
     3 'Normalizat'    1.6145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74073       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=   1894.408     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      246 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1228.2        .90712E-02** at limit **
   2  Index         2.1557        5.2546        .50000       -.86816E-05
   3  Normalizat    1.6145        .92317E-01    .62042E-01   -.30825E-04
   4  Prefactor     .74071        .68681E-01    .64670E-01   -.22253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.15573
  Normalizat = 1.61446
  Prefactor  = 0.74071
 **********
 **   18 **HESSE 
 **********

 FCN=   1894.408     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      277 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2103.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1557        8.7674        .50000       -.60511    
   3  Normalizat    1.6145        .13387        .27437E-03   -.74611    
   4  Prefactor     .74071        .99536E-01    .28610E-03   -1.0195    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.6574e-10
Minuit parameter uncertainties:
  1  0.00322023
  2  44.1821
  3  0.1339
  4  0.09956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92639': 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) = 1894.40808999
delta logL = -1.58520151672e-07

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.220e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.156e+00  4.418e+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:  7.407e-01  9.956e-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.614e+00  1.339e-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/92639/cmap_HighResolution_553478401_553737601_4FGL_J2200.7-2414_daily_bin1212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-02', job_status='DONE', photon_flux_upper_limit='2.14e-07', time_completed='2021-09-28 00:08:09.238812', job_id='92639', GAL2='0.74', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1632812889.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-1.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1212' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:08:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 92639: <4FGL_J2200.7-2414_daily_bin1212> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1212> 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) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 00:00:06 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:06 2021
Terminated at Tue Sep 28 00:08:10 2021
Results reported at Tue Sep 28 00:08:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1212 330.181 -24.2421 553478401 553737601 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 :                                   412.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            757 sec.

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

