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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1197
RA = 330.181, Dec = -24.2421
tmin = 549590401, tmax = 549849601
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='92615', job_status='RUN', time_executed='2021-09-28 00:01:09.458867', time_epoch_executed='1632812469.46' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92615/ft1_4FGL_J2200.7-2414_daily_bin1197.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92615/ft1_4FGL_J2200.7-2414_daily_bin1197.fits outfile=/scratch/kocevski/92615/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1197.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=549590401.0 tmax=549849601.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.28
user 2.08
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.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/92615/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1197.fits evtable="EVENTS" outfile="/scratch/kocevski/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.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.44
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.fits" evtable="EVENTS" scfile=/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits sctable="SC_DATA" outfile=/scratch/kocevski/92615/ltcube_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.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/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits
.....................!
real 10.95
user 10.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.fits evtable="EVENTS" scfile=/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits sctable="SC_DATA" expcube=/scratch/kocevski/92615/ltcube_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.fits outfile=/scratch/kocevski/92615/expmap_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.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/92615/ltcube_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.fits
.....................!
real 155.89
user 151.15
sys 4.47

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/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.fits scfile=/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits outfile=/scratch/kocevski/92615/cmap_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.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.31
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.fits evtable="EVENTS" scfile=/scratch/kocevski/92615/ft2_4FGL_J2200.7-2414_daily_bin1197.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92615/Model_4FGL_J2200.7-2414_daily_bin1197.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/92615/ft1_filtered_4FGL_J2200.7-2414_daily_bin1197.fits.....................!
real 44.43
user 43.31
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.625       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.850       1.0000         .10000E-03   10000.    
     7 'norm      '    11.791       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.702       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2706       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4411       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.646       1.0000         .10000E-03   10000.    
    18 'norm      '    7.5705       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62354       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4742       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10969E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .16895E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4415       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85868       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=   6293.473     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2403 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1280       -.29201E-08** at limit **
   2  norm          .10000E-03    2.2797        .14183E-08** at limit **
   3  Prefactor     .10000E-03    6.3636       -.11643E-05** at limit **
   4  Prefactor     .10000E-03    18.548       -.29743E-06** at limit **
   5  norm          16.626        10.769        .37202E-07    .32651E-04
   6  Prefactor     13.850        20.068        .43322E-06    .27926E-04
   7  norm          11.790        9.4442       -.11231E-05    .17755E-03
   8  Prefactor     .10000E-03    7.1929       -.52629E-08** at limit **
   9  Prefactor     .10000E-03    30.657        .36794E-05** at limit **
  10  norm          .10000E-03    2.2629        .11436E-07** at limit **
  11  Prefactor     15.706        15.609       -.37484E-07    .13479E-04
  12  norm          1.2706        .43298       -.10674E-08   -.35213E-04
  13  Prefactor     .10001E-03    24.482        .34436E-05** at limit **
  14  Prefactor     .10000E-03    6.4216        .40125E-07** at limit **
  15  Prefactor     7.4415        13.164        .41100E-07    .19948E-04
  16  Prefactor     .10000E-03    5.1680        .59068E-06** at limit **
  17  Prefactor     31.638        31.369        .19623E-05    .92271E-04
  18  norm          7.5713        10.727        .94531E-08    .39152E-05
  19  Prefactor     .63828        15.502        .20080E-05    .15246E-03
  20  norm          1.4747        2.1322       -.13277E-06    .68218E-04
  21  Prefactor     .10000E-03    69.911        .46125E-05** at limit **
  22  norm          .10000E-03    4.4385       -.14374E-06** at limit **
  23  Normalizat    1.4411        .21594        .55940E-06    .55128E-04
  24  Prefactor     .85894        .15389       -.45185E-07    .11787E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 16.6262
  Prefactor  = 13.8497
  norm       = 11.7897
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 15.7059
  norm       = 1.27063
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 7.44153
  Prefactor  = 0.0001
  Prefactor  = 31.6376
  norm       = 7.57126
  Prefactor  = 0.638284
  norm       = 1.47475
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.44107
  Prefactor  = 0.858936
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.473     FROM HESSE     STATUS=OK           415 CALLS     2818 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1426        .17544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.2801        .11698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.974        .34234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.626        10.777        .98227E-04   -1.4892    
   6  Prefactor     13.850        20.065        .10763E-03   -1.4963    
   7  norm          11.790        9.6338        .58332E-03   -1.5021    
   8  Prefactor     .10000E-03    7.2070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.3065        .11641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.706        15.596        .10108E-03   -1.4915    
  12  norm          1.2706        .43179        .29442E-04   -1.5483    
  13  Prefactor     .10001E-03    41.089        .41508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4415        13.147        .14703E-03   -1.5162    
  16  Prefactor     .10000E-03    23.503        .32851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.638        31.694        .71227E-04   -1.4582    
  18  norm          7.5713        10.720        .14575E-03   -1.5158    
  19  Prefactor     .63828        26.713        .41376E-02   -1.5548    
  20  norm          1.4747        2.1106        .13444E-03   -1.5465    
  21  Prefactor     .10000E-03    70.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.3536        .51978E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4411        .25443        .25980E-03   -.79448    
  24  Prefactor     .85894        .18295        .24020E-03   -.97591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00128e-09
Minuit parameter uncertainties:
  1  1.8899e-06
  2  1.38134e-07
  3  0.000560432
  4  3.64454e-05
  5  10.7779
  6  20.0743
  7  9.63506
  8  5.67007e-06
  9  0.000265481
  10  4.01557e-06
  11  15.6002
  12  0.431794
  13  0.00135311
  14  6.1774e-06
  15  13.1517
  16  0.000100009
  17  31.7112
  18  10.7223
  19  8.26176
  20  2.11066
  21  0.000373516
  22  2.10776e-05
  23  0.254652
  24  0.183085
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.353e-03  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.589e-01  1.831e-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.441e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92615/likelihoodResults_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.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) = 6293.47284601
delta logL = -0.000114779360956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6293.47272904
delta logL = 2.18812510866e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94420E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3604       1.0000          .0000       10.000    
     3 'Normalizat'    1.4413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85876       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=   6293.150     FROM MIGRAD    STATUS=CONVERGED    272 CALLS      449 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10422E-02    .16747E-04** at limit **
   2  Index         7.0847        .53980        .69004E-02    .66034E-03
   3  Normalizat    1.3900        .25171        .26373E-03   -.25669E-03
   4  Prefactor     .88392        .18362        .23718E-03   -.35852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.08471
  Normalizat = 1.38997
  Prefactor  = 0.883921
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.150     FROM HESSE     STATUS=OK            25 CALLS      474 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .10281E-02    .66990E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0847        .52571        .13801E-02    .43008    
   3  Normalizat    1.3900        .25166        .52746E-04   -.80919    
   4  Prefactor     .88392        .18370        .47437E-04   -.96705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63195e-10
Minuit parameter uncertainties:
  1  1.30577e-08
  2  0.526892
  3  0.251883
  4  0.183831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92615': 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): 0
logL (Free Index) = 6293.15020174
delta logL = 0.322529490438

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.306e-08  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  7.085e+00  5.269e-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:  8.839e-01  1.838e-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.390e+00  2.519e-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/92615/cmap_HighResolution_549590401_549849601_4FGL_J2200.7-2414_daily_bin1197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-28 00:10:30.098160', job_id='92615', GAL2='0.88', fit_tolerance='1e-08', EG2='1.39', EG='1.44', time_epoch_completed='1632813030.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.23e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1197' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:10:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 92615: <4FGL_J2200.7-2414_daily_bin1197> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1197> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:55:31 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:59:50 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:59:50 2021
Terminated at Tue Sep 28 00:10:30 2021
Results reported at Tue Sep 28 00:10:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1197 330.181 -24.2421 549590401 549849601 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 :                                   530.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            899 sec.

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

