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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1463
RA = 330.181, Dec = -24.2421
tmin = 618537601, tmax = 618796801
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='94189', job_status='RUN', time_executed='2021-09-28 00:06:16.885978', time_epoch_executed='1632812776.89' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94189/ft1_4FGL_J2200.7-2414_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94189/ft1_4FGL_J2200.7-2414_daily_bin1463.fits outfile=/scratch/kocevski/94189/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1463.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=618537601.0 tmax=618796801.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.79
user 3.52
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/94189/ltcube_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.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/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits
.....................!
real 14.19
user 13.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/94189/ltcube_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.fits outfile=/scratch/kocevski/94189/expmap_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.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/94189/ltcube_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.fits
.....................!
real 190.16
user 185.68
sys 3.91

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/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits scfile=/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits outfile=/scratch/kocevski/94189/cmap_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits scfile=/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits outfile=/scratch/kocevski/94189/cmap_HighResolution_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/94189/ft2_4FGL_J2200.7-2414_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94189/Model_4FGL_J2200.7-2414_daily_bin1463.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/94189/ft1_filtered_4FGL_J2200.7-2414_daily_bin1463.fits.....................!
real 44.23
user 42.42
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.2723       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .26980E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.883       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.0122       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .23044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65268E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.413       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    54.433       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.750       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.415       1.0000         .10000E-03   10000.    
    22 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98407       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0432       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=   4609.100     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2782 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8936       -.83419E-08** at limit **
   2  norm          7.2733        8.1558        .95547E-06   -.12969E-03
   3  Prefactor     .10000E-03    3.7818        .43711E-08** at limit **
   4  Prefactor     .10000E-03    8.0005        .10838E-06** at limit **
   5  norm          .10000E-03    10.244       -.10414E-05** at limit **
   6  Prefactor     .10000E-03    11.148        .29092E-06** at limit **
   7  norm          .10000E-03    5.9730        .31350E-06** at limit **
   8  Prefactor     20.889        24.431       -.13693E-05    .57110E-04
   9  Prefactor     .10000E-03    38.070       -.92148E-06** at limit **
  10  norm          6.0107        6.2258        .37635E-05   -.63913E-03
  11  Prefactor     .10000E-03    17.772       -.13164E-05** at limit **
  12  norm          .23044        .21887       -.12474E-06   -.19838E-03
  13  Prefactor     6.4208        13.226        .36450E-06   -.13744E-04
  14  Prefactor     .10015E-03    9.6218       -.12085E-05** at limit **
  15  Prefactor     15.415        22.214        .32879E-06    .70078E-05
  16  Prefactor     .10000E-03    26.429        .13467E-05** at limit **
  17  Prefactor     54.505        80.278        .11242E-04    .26210E-03
  18  norm          .10000E-03    12.275        .75746E-06** at limit **
  19  Prefactor     11.744        17.732        .29726E-06   -.36277E-04
  20  norm          .10000E-03    1.3643       -.23393E-06** at limit **
  21  Prefactor     53.403        63.657       -.71708E-06   -.69545E-04
  22  norm          .10000E-03    3.3486       -.99342E-07** at limit **
  23  Normalizat    .98443        .24864       -.21568E-05    .93137E-04
  24  Prefactor     1.0429        .16852       -.39995E-06    .49518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.27332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 20.8887
  Prefactor  = 0.0001
  norm       = 6.01068
  Prefactor  = 0.0001
  norm       = 0.230436
  Prefactor  = 6.42077
  Prefactor  = 0.000100146
  Prefactor  = 15.4148
  Prefactor  = 0.000100001
  Prefactor  = 54.5051
  norm       = 0.0001
  Prefactor  = 11.7437
  norm       = 0.0001
  Prefactor  = 53.4033
  norm       = 0.0001
  Normalizat = 0.98443
  Prefactor  = 1.04291
 **********
 **   18 **HESSE 
 **********

 FCN=   4609.100     FROM HESSE     STATUS=OK           397 CALLS     3179 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8983        .13083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.2733        8.1698        .74369E-03   -1.5169    
   3  Prefactor     .10000E-03    3.8534        .12893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    10.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    42.754        .32316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.889        24.535        .87649E-04   -1.4794    
   9  Prefactor     .10000E-03    38.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0107        6.4167        .78558E-03   -1.5218    
  11  Prefactor     .10000E-03    17.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .23044        .22933        .29628E-03   -1.5612    
  13  Prefactor     6.4208        13.204        .15839E-03   -1.5201    
  14  Prefactor     .10015E-03    59.597        .40300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.415        22.206        .10202E-03   -1.4923    
  16  Prefactor     .10000E-03    27.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     54.505        84.508        .27183E-03   -1.4230    
  18  norm          .10000E-03    12.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.744        17.775        .11687E-03   -1.5022    
  20  norm          .10000E-03    1.3676        .77142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     53.403        63.875        .54880E-04   -1.4245    
  22  norm          .10000E-03    3.3587        .12130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98443        .29690        .29487E-03   -.93554    
  24  Prefactor     1.0429        .20197        .20596E-03   -.91312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80181e-09
Minuit parameter uncertainties:
  1  3.60465e-06
  2  8.17106
  3  7.21665e-06
  4  1.10691e-05
  5  7.91286e-05
  6  5.05914e-05
  7  0.000764648
  8  24.5466
  9  0.000232582
  10  6.41745
  11  0.000123487
  12  0.229333
  13  13.2102
  14  0.00590183
  15  22.218
  16  0.00025054
  17  84.6942
  18  0.000100946
  19  17.7833
  20  6.94997e-06
  21  63.9568
  22  6.01853e-06
  23  0.297402
  24  0.202117
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  6.421e+00  1.321e+01  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:  1.043e+00  2.021e-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.844e-01  2.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94189/likelihoodResults_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4609.0565163
delta logL = 0.0429864671623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4609.04946917
delta logL = 0.0500335919269

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0579       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5680       1.0000          .0000       10.000    
     3 'Normalizat'    .97156       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0475       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=   4609.049     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0591        12.985        .17879E-03   -.77068E-04
   2  Index         2.5681        1.2397        .88568E-02   -.13156E-04
   3  Normalizat    .97153        .27975        .29662E-03    .35131E-03
   4  Prefactor     1.0475        .19867        .20554E-03    .52745E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.05908
  Index      = 2.56811
  Normalizat = 0.971526
  Prefactor  = 1.04749
 **********
 **   18 **HESSE 
 **********

 FCN=   4609.049     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0591        11.538        .71516E-05   -1.5258    
   2  Index         2.5681        1.1025        .35427E-03   -.50794    
   3  Normalizat    .97153        .27956        .59323E-04   -.93991    
   4  Prefactor     1.0475        .19851        .41108E-04   -.91163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53374e-10
Minuit parameter uncertainties:
  1  11.5432
  2  1.11457
  3  0.279977
  4  0.198647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94189': 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) = 4609.04946914
delta logL = 0.0500336189452

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  5.059e+00  1.154e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.568e+00  1.115e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.047e+00  1.986e-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.715e-01  2.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/94189/cmap_HighResolution_618537601_618796801_4FGL_J2200.7-2414_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-28 00:16:48.122545', job_id='94189', GAL2='1.05', fit_tolerance='1e-08', EG2='0.97', EG='0.98', time_epoch_completed='1632813408.12', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.00e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1463' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:16:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 94189: <4FGL_J2200.7-2414_daily_bin1463> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1463> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 00:00:27 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 00:05:26 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:05:26 2021
Terminated at Tue Sep 28 00:16:48 2021
Results reported at Tue Sep 28 00:16:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1463 330.181 -24.2421 618537601 618796801 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 :                                   549.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            981 sec.

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

