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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1166
RA = 330.181, Dec = -24.2421
tmin = 541555201, tmax = 541814401
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='92564', job_status='RUN', time_executed='2021-09-28 00:00:20.821637', time_epoch_executed='1632812420.82' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92564/ft1_4FGL_J2200.7-2414_daily_bin1166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92564/ft1_4FGL_J2200.7-2414_daily_bin1166.fits outfile=/scratch/kocevski/92564/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1166.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=541555201.0 tmax=541814401.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.64
user 3.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits" evtable="EVENTS" scfile=/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits sctable="SC_DATA" outfile=/scratch/kocevski/92564/ltcube_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.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/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits
.....................!
real 14.63
user 14.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits evtable="EVENTS" scfile=/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits sctable="SC_DATA" expcube=/scratch/kocevski/92564/ltcube_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.fits outfile=/scratch/kocevski/92564/expmap_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.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/92564/ltcube_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.fits
.....................!
real 193.31
user 187.38
sys 5.45

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/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits scfile=/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits outfile=/scratch/kocevski/92564/cmap_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits scfile=/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits outfile=/scratch/kocevski/92564/cmap_HighResolution_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits evtable="EVENTS" scfile=/scratch/kocevski/92564/ft2_4FGL_J2200.7-2414_daily_bin1166.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92564/Model_4FGL_J2200.7-2414_daily_bin1166.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/92564/ft1_filtered_4FGL_J2200.7-2414_daily_bin1166.fits.....................!
real 44.75
user 43.30
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9924       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1160       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .42372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .71304E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.713       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.205       1.0000         .10000E-03   10000.    
    18 'norm      '    .13278E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.3175       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5637       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74937       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=   4623.128     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2687 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9912        7.1522        .25360E-05   -.13182E-02
   2  norm          .10000E-03    3.8127        .83529E-07** at limit **
   3  Prefactor     .10000E-03    2.4839       -.34322E-06** at limit **
   4  Prefactor     .10000E-03    9.2594        .51704E-05** at limit **
   5  norm          3.1162        6.2201        .72330E-06   -.14568E-02
   6  Prefactor     .10000E-03    11.813        .14919E-06** at limit **
   7  norm          .10000E-03    2.9790       -.39827E-07** at limit **
   8  Prefactor     .10000E-03    9.0834       -.49829E-05** at limit **
   9  Prefactor     .10000E-03    55.733        .86317E-05** at limit **
  10  norm          .10000E-03    5.4293        .16208E-06** at limit **
  11  Prefactor     .10000E-03    14.413       -.42703E-05** at limit **
  12  norm          .42364        .28893        .60025E-08   -.12730E-03
  13  Prefactor     .10000E-03    16.680        .10677E-04** at limit **
  14  Prefactor     .10017E-03    12.554        .23401E-05** at limit **
  15  Prefactor     26.725        30.025        .50353E-05    .40220E-04
  16  Prefactor     .10000E-03    14.492       -.35566E-05** at limit **
  17  Prefactor     14.200        49.538       -.52638E-05   -.32110E-04
  18  norm          .10000E-03    76.554       -.16834E-04** at limit **
  19  Prefactor     .10000E-03    25.032       -.65317E-05** at limit **
  20  norm          3.3163        2.6794        .39394E-08    .14588E-03
  21  Prefactor     .10000E-03    50.048        .21861E-05** at limit **
  22  norm          .10000E-03    4.3852        .18773E-06** at limit **
  23  Normalizat    1.5636        .24601       -.54489E-06   -.10011E-03
  24  Prefactor     .74928        .16878       -.35079E-06   -.14221E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99117
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11624
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.423645
  Prefactor  = 0.000100001
  Prefactor  = 0.000100173
  Prefactor  = 26.7253
  Prefactor  = 0.0001
  Prefactor  = 14.2005
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 3.31626
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.56364
  Prefactor  = 0.749275
 **********
 **   18 **HESSE 
 **********

 FCN=   4623.128     FROM HESSE     STATUS=OK           389 CALLS     3076 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9912        15.217        .14675E-02   -1.5426    
   2  norm          .10000E-03    3.8312        .12967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.4867        .10466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.3129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1162        6.8887        .11485E-02   -1.5355    
   6  Prefactor     .10000E-03    11.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.9812        .11461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    55.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.5955        .30885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .42364        .29451        .29296E-04   -1.5578    
  13  Prefactor     .10000E-03    16.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10017E-03    63.597        .46070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.725        30.043        .77509E-04   -1.4674    
  16  Prefactor     .10000E-03    14.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.200        49.600        .10627E-03   -1.4954    
  18  norm          .10000E-03    78.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.3163        2.6788        .97249E-04   -1.5344    
  21  Prefactor     .10000E-03    50.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.4521        .13903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5636        .29622        .25060E-03   -.76006    
  24  Prefactor     .74928        .20337        .24002E-03   -1.0163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65021e-08
Minuit parameter uncertainties:
  1  11.0128
  2  1.32301e-06
  3  3.77165e-06
  4  0.000102257
  5  6.89042
  6  5.09726e-06
  7  2.30995e-07
  8  0.000111464
  9  0.000390471
  10  5.42105e-06
  11  0.000112685
  12  0.294509
  13  0.000183613
  14  0.00663775
  15  30.06
  16  8.49866e-05
  17  49.7442
  18  0.000731047
  19  0.00020844
  20  2.67893
  21  0.000120659
  22  3.90061e-06
  23  0.296556
  24  0.20357
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  7.493e-01  2.036e-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.564e+00  2.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92564/likelihoodResults_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.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) = 4623.12839305
delta logL = -0.000285146189526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4622.63600257
delta logL = 0.49210533561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28761E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2681       1.0000          .0000       10.000    
     3 'Normalizat'    1.4317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80936       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=   4622.636     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      340 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27538E-01    .46041        .24546E-02    .15975E-01
   2  Index         5.2865        2.5234        .85887E-01    .34919E-03
   3  Normalizat    1.4312        .54348E-01    .58727E-01    .23553E-04
   4  Prefactor     .80968        .37884E-01    .43839E-01   -.14461E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0275376
  Index      = 5.2865
  Normalizat = 1.43122
  Prefactor  = 0.809679
 **********
 **   18 **HESSE 
 **********

 FCN=   4622.636     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      373 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27538E-01    1.3140        .11026E-04   -1.5675    
   2  Index         5.2865        7.3028        .43061E-02    .57332E-01
   3  Normalizat    1.4312        .24514        .25971E-03   -.79730    
   4  Prefactor     .80968        .16478        .23179E-03   -.99373    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.02493e-10
Minuit parameter uncertainties:
  1  0.379768
  2  5.49182
  3  0.245345
  4  0.164884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92564': 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) = 4622.63598817
delta logL = 0.492119739345

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.754e-02  3.798e-01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  5.287e+00  5.492e+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:  8.097e-01  1.649e-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.431e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 5.29 +/- 5.49
Photon Flux (Free Index): 1.12e-07 +/- 1.14e-07
Energy Flux (Free Index): 1.46e-05 +/- 1.64e-05

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/92564/cmap_HighResolution_541555201_541814401_4FGL_J2200.7-2414_daily_bin1166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-03', comment='SUCCESS', energy_flux2='1.46e-05', dlogl='4.92e-01', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-28 00:09:58.952478', photon_index_error2='5.49', photon_index2='5.29', ts='-0.00', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.64e-05', EG='1.56', time_epoch_completed='1632812998.95', return_code='0', job_id='92564', GAL2='0.81', EG2='1.43', return_code2='102', photon_flux_error2='1.14e-07', ts2='1.13', photon_index='2.23' WHERE bin_id='1166' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:09:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 92564: <4FGL_J2200.7-2414_daily_bin1166> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1166 330.181 -24.2421 541555201 541814401 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 :                                   559.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            871 sec.

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

