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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1075
RA = 330.181, Dec = -24.2421
tmin = 517968001, tmax = 518227201
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='92415', job_status='RUN', time_executed='2021-09-28 00:00:56.661854', time_epoch_executed='1632812456.66' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92415

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92415/ft1_4FGL_J2200.7-2414_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92415/ft1_4FGL_J2200.7-2414_daily_bin1075.fits outfile=/scratch/kocevski/92415/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1075.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=517968001.0 tmax=518227201.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.71
user 3.46
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/92415/ltcube_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.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/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits
.....................!
real 13.59
user 13.09
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/92415/ltcube_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.fits outfile=/scratch/kocevski/92415/expmap_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.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/92415/ltcube_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.fits
.....................!
real 191.15
user 185.21
sys 5.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/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits scfile=/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits outfile=/scratch/kocevski/92415/cmap_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits scfile=/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits outfile=/scratch/kocevski/92415/cmap_HighResolution_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.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/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/92415/ft2_4FGL_J2200.7-2414_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92415/Model_4FGL_J2200.7-2414_daily_bin1075.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/92415/ft1_filtered_4FGL_J2200.7-2414_daily_bin1075.fits.....................!
real 53.80
user 52.48
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8950       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11777E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.6104       1.0000         .10000E-03   10000.    
     6 'Prefactor '    52.044       1.0000         .10000E-03   10000.    
     7 'norm      '    5.7432       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.071       1.0000         .10000E-03   10000.    
    10 'norm      '    9.7699       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.273       1.0000         .10000E-03   10000.    
    12 'norm      '    3.0658       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.745       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3177       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.387       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.858       1.0000         .10000E-03   10000.    
    18 'norm      '    71.459       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12571E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.914       1.0000         .10000E-03   10000.    
    22 'norm      '    12.036       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72214       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1685       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=   6163.088     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2710 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9539       -.88227E-07** at limit **
   2  norm          .10000E-03    2.4949       -.11111E-07** at limit **
   3  Prefactor     7.8939        8.0263       -.46714E-06   -.95419E-05
   4  Prefactor     .10001E-03    36.001       -.37684E-05** at limit **
   5  norm          7.6093        9.3301       -.55317E-06   -.36675E-04
   6  Prefactor     52.044        20.544       -.10913E-06    .21221E-04
   7  norm          5.7430        5.3135       -.19089E-06   -.93725E-04
   8  Prefactor     .10000E-03    15.067        .12251E-05** at limit **
   9  Prefactor     17.064        55.131        .15888E-05    .22312E-04
  10  norm          9.7715        6.9603       -.76799E-06   -.37904E-04
  11  Prefactor     23.275        21.257       -.48467E-06   -.10732E-04
  12  norm          3.0658        .64606        .79363E-08   -.19462E-03
  13  Prefactor     .10000E-03    3.7629        .60541E-07** at limit **
  14  Prefactor     10.745        13.921       -.37770E-06    .17422E-04
  15  Prefactor     6.3182        18.866       -.38145E-06    .20376E-04
  16  Prefactor     13.389        14.149       -.45128E-06    .63312E-04
  17  Prefactor     23.854        53.160        .18777E-05    .30171E-04
  18  norm          71.457        31.146        .73496E-06    .10206E-03
  19  Prefactor     .10001E-03    29.307        .20029E-05** at limit **
  20  norm          .10000E-03    .98626       -.13423E-05** at limit **
  21  Prefactor     30.933        52.191       -.29641E-06    .12042E-04
  22  norm          12.036        8.1941        .21580E-07    .94288E-04
  23  Normalizat    .72193        .25123        .70651E-05    .76511E-04
  24  Prefactor     1.1687        .16977       -.22963E-05    .38270E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.89389
  Prefactor  = 0.000100007
  norm       = 7.60926
  Prefactor  = 52.0439
  norm       = 5.743
  Prefactor  = 0.0001
  Prefactor  = 17.0645
  norm       = 9.77151
  Prefactor  = 23.2751
  norm       = 3.06583
  Prefactor  = 0.0001
  Prefactor  = 10.7449
  Prefactor  = 6.31821
  Prefactor  = 13.3894
  Prefactor  = 23.8544
  norm       = 71.4574
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 30.9332
  norm       = 12.0364
  Normalizat = 0.721929
  Prefactor  = 1.16874
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.088     FROM HESSE     STATUS=OK           407 CALLS     3117 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.4974        .12110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.8939        8.0330        .14270E-03   -1.5146    
   4  Prefactor     .10001E-03    57.028        .51602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.6093        9.3394        .14537E-03   -1.5156    
   6  Prefactor     52.044        20.537        .55594E-04   -1.4264    
   7  norm          5.7430        5.3234        .16760E-03   -1.5229    
   8  Prefactor     .10000E-03    15.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.064        54.915        .96936E-04   -1.4882    
  10  norm          9.7715        6.9653        .12820E-03   -1.5083    
  11  Prefactor     23.275        21.249        .83031E-04   -1.4743    
  12  norm          3.0658        .64882        .26707E-04   -1.5358    
  13  Prefactor     .10000E-03    3.7698        .14869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.745        13.911        .12222E-03   -1.5052    
  15  Prefactor     6.3182        18.858        .15970E-03   -1.5205    
  16  Prefactor     13.389        14.205        .10947E-03   -1.4976    
  17  Prefactor     23.854        53.201        .82008E-04   -1.4731    
  18  norm          71.457        31.234        .47490E-04   -1.4015    
  19  Prefactor     .10001E-03    49.431        .46611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.0000        .76423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.933        52.333        .72062E-04   -1.4595    
  22  norm          12.036        8.1934        .11547E-03   -1.5014    
  23  Normalizat    .72193        .26516        .35818E-03   -1.0303    
  24  Prefactor     1.1687        .18309        .21237E-03   -.87299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88779e-10
Minuit parameter uncertainties:
  1  3.03782e-05
  2  6.6075e-07
  3  8.03414
  4  0.00127573
  5  9.34115
  6  20.5397
  7  5.32386
  8  1.58164e-05
  9  55.0787
  10  6.96583
  11  21.256
  12  0.648822
  13  7.5809e-06
  14  13.9151
  15  18.8755
  16  14.2082
  17  53.3073
  18  31.2414
  19  0.00122433
  20  1.48841e-06
  21  52.4106
  22  8.19417
  23  0.26563
  24  0.183191
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.169e+00  1.832e-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:  7.219e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92415/likelihoodResults_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.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) = 6163.08908048
delta logL = -0.00125663504241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6163.08782372
delta logL = 1.26795384858e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2067       1.0000          .0000       10.000    
     3 'Normalizat'    .72190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1688       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=   6163.088     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      223 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    4.3801        .15081E-02** at limit **
   2  Index         2.1879        6.0838        .50000        .39404E-04
   3  Normalizat    .72193        .23805        .35818E-03    .76811E-05
   4  Prefactor     1.1687        .17715        .21237E-03   -.55675E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.18795
  Normalizat = 0.721931
  Prefactor  = 1.16874
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.088     FROM HESSE     STATUS=OK            29 CALLS      252 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    3.9007        .30163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1879        6.0928        .50000       -.59730    
   3  Normalizat    .72193        .23820        .14327E-04   -1.0303    
   4  Prefactor     1.1687        .17726        .42473E-04   -.87299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39782e-09
Minuit parameter uncertainties:
  1  0.000306915
  2  4.14952
  3  0.238543
  4  0.17735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92415': 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) = 6163.08782348
delta logL = 3.69052031601e-07

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.069e-04  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.188e+00  4.150e+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.169e+00  1.773e-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:  7.219e-01  2.385e-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/92415/cmap_HighResolution_517968001_518227201_4FGL_J2200.7-2414_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2021-09-28 00:11:52.226137', job_id='92415', GAL2='1.17', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632813112.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1075' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:11:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 92415: <4FGL_J2200.7-2414_daily_bin1075> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1075 330.181 -24.2421 517968001 518227201 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 :                                   638.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            996 sec.

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

