/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 115 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2200.7-2414_daily_bin296
RA = 330.181, Dec = -24.2421
tmin = 316051201, tmax = 316310401
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='87584', job_status='RUN', time_executed='2021-09-27 23:42:56.420050', time_epoch_executed='1632811376.42' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87584

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87584/ft1_4FGL_J2200.7-2414_daily_bin296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87584/ft1_4FGL_J2200.7-2414_daily_bin296.fits outfile=/scratch/kocevski/87584/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin296.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=316051201.0 tmax=316310401.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.51
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.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/87584/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin296.fits evtable="EVENTS" outfile="/scratch/kocevski/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.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.53
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits" evtable="EVENTS" scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits sctable="SC_DATA" outfile=/scratch/kocevski/87584/ltcube_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.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/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits
.....................!
real 13.14
user 12.82
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits evtable="EVENTS" scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits sctable="SC_DATA" expcube=/scratch/kocevski/87584/ltcube_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.fits outfile=/scratch/kocevski/87584/expmap_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.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/87584/ltcube_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.fits
.....................!
real 190.96
user 185.73
sys 4.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/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits outfile=/scratch/kocevski/87584/cmap_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.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.61
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits outfile=/scratch/kocevski/87584/cmap_HighResolution_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits evtable="EVENTS" scfile=/scratch/kocevski/87584/ft2_4FGL_J2200.7-2414_daily_bin296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87584/Model_4FGL_J2200.7-2414_daily_bin296.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/87584/ft1_filtered_4FGL_J2200.7-2414_daily_bin296.fits.....................!
real 50.31
user 49.07
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.304       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.613       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7058       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-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      '    33.875       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.489       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1818       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.830       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20764E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.449       1.0000         .10000E-03   10000.    
    20 'norm      '    4.2051       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .22277E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0435       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0114       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=   5460.279     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2721 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.305        15.411       -.23158E-06   -.42752E-05
   2  norm          .10000E-03    2.9789       -.10453E-07** at limit **
   3  Prefactor     .10000E-03    14.888        .67211E-06** at limit **
   4  Prefactor     10.615        17.822       -.30730E-06    .15574E-04
   5  norm          .10000E-03    9.7193        .74727E-09** at limit **
   6  Prefactor     8.7088        22.068       -.45104E-06    .10603E-04
   7  norm          .10000E-03    2.3566       -.11133E-07** at limit **
   8  Prefactor     .10000E-03    14.217       -.27227E-06** at limit **
   9  Prefactor     .10000E-03    68.020       -.84107E-05** at limit **
  10  norm          33.877        9.5031       -.45374E-06    .19776E-03
  11  Prefactor     20.490        21.102       -.15311E-06    .17847E-04
  12  norm          1.1817        .49671        .21333E-07    .19678E-03
  13  Prefactor     12.832        11.990       -.16443E-05    .13248E-03
  14  Prefactor     .10001E-03    8.0750        .74381E-06** at limit **
  15  Prefactor     .10000E-03    18.571       -.17592E-05** at limit **
  16  Prefactor     .10000E-03    67.560       -.75511E-05** at limit **
  17  Prefactor     .10000E-03    22.499        .25441E-05** at limit **
  18  norm          .10000E-03    19.281        .23771E-06** at limit **
  19  Prefactor     25.438        20.236       -.39154E-06   -.66660E-04
  20  norm          4.2011        3.1217        .61176E-07   -.43654E-04
  21  Prefactor     .10000E-03    257.72        .44489E-05** at limit **
  22  norm          .10000E-03    4.1026       -.83942E-07** at limit **
  23  Normalizat    1.0432        .25468       -.32804E-06    .42725E-04
  24  Prefactor     1.0116        .16755        .88103E-06    .11022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3049
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6149
  norm       = 0.0001
  Prefactor  = 8.70876
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 33.8771
  Prefactor  = 20.4904
  norm       = 1.18173
  Prefactor  = 12.832
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.4382
  norm       = 4.20111
  Prefactor  = 0.000100002
  norm       = 0.0001
  Normalizat = 1.04317
  Prefactor  = 1.01162
 **********
 **   18 **HESSE 
 **********

 FCN=   5460.279     FROM HESSE     STATUS=OK           397 CALLS     3118 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.305        15.412        .91159E-04   -1.4829    
   2  norm          .10000E-03    2.9800        .12456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.615        17.805        .12298E-03   -1.5056    
   5  norm          .10000E-03    9.8253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7088        22.102        .13585E-03   -1.5118    
   7  norm          .10000E-03    2.3570        .11078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    70.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          33.877        9.5839        .34425E-03   -1.4543    
  11  Prefactor     20.490        21.043        .88487E-04   -1.4802    
  12  norm          1.1817        .49737        .31476E-04   -1.5491    
  13  Prefactor     12.832        12.223        .55914E-03   -1.4991    
  14  Prefactor     .10001E-03    29.061        .37083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    70.580        .44815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    19.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.438        20.486        .79408E-04   -1.4699    
  20  norm          4.2011        3.1135        .10790E-03   -1.5298    
  21  Prefactor     .10000E-03    261.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.1631        .14615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0432        .29636        .31532E-03   -.91598    
  24  Prefactor     1.0116        .19672        .22714E-03   -.92343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57637e-10
Minuit parameter uncertainties:
  1  15.4151
  2  2.02564e-07
  3  2.05557e-05
  4  17.8142
  5  6.82972e-06
  6  22.1225
  7  1.89383e-07
  8  6.87806e-06
  9  0.00091099
  10  9.58438
  11  21.0504
  12  0.497371
  13  12.2256
  14  0.00100433
  15  7.90975e-05
  16  0.00105148
  17  0.000178295
  18  1.57957e-05
  19  20.4914
  20  3.11366
  21  0.00126443
  22  3.32733e-06
  23  0.296834
  24  0.196861
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.283e+01  1.223e+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.012e+00  1.969e-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.043e+00  2.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.43e-08 +/- 4.22e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.81e-05

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

Saving results to:
/scratch/kocevski/87584/likelihoodResults_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.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) = 5460.19744479
delta logL = 0.0814308098743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5460.19364029
delta logL = 0.0852353100699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.977       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8872       1.0000          .0000       10.000    
     3 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0024       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=   5460.194     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      303 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.980        18.769        .94464E-04    .17812E-04
   2  Index         1.8869        .71276        .95870E-02    .10486E-03
   3  Normalizat    1.0597        .27053        .31308E-03   -.10530E-04
   4  Prefactor     1.0022        .19277        .22803E-03    .98715E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.9804
  Index      = 1.8869
  Normalizat = 1.05969
  Prefactor  = 1.00225
 **********
 **   18 **HESSE 
 **********

 FCN=   5460.194     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.980        18.362        .37786E-05   -1.4860    
   2  Index         1.8869        .69719        .19174E-02   -.67209    
   3  Normalizat    1.0597        .27060        .12523E-04   -.91057    
   4  Prefactor     1.0022        .19286        .91212E-05   -.92655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0763e-12
Minuit parameter uncertainties:
  1  18.3675
  2  0.70093
  3  0.270954
  4  0.192993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87584': 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) = 5460.19363962
delta logL = 0.0852359743076

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.798e+01  1.837e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.887e+00  7.009e-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:  1.002e+00  1.930e-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.060e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 1.89 +/- 0.70
Photon Flux (Free Index): 3.41e-08 +/- 3.91e-08
Energy Flux (Free Index): 3.18e-05 +/- 4.98e-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/87584/cmap_HighResolution_316051201_316310401_4FGL_J2200.7-2414_daily_bin296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.43e-08', energy_flux2='3.18e-05', photon_flux_error='4.22e-08', dlogl='8.52e-02', energy_flux='1.90e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-27 23:53:07.575772', photon_index_error2='0.70', photon_index2='1.89', ts='1.91', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='4.98e-05', EG='1.04', time_epoch_completed='1632811987.58', return_code='0', job_id='87584', GAL2='1.00', EG2='1.06', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='3.91e-08', ts2='2.07', photon_index='2.23' WHERE bin_id='296' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 23:53:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 87584: <4FGL_J2200.7-2414_daily_bin296> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin296> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:40:37 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:40:53 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:40:53 2021
Terminated at Mon Sep 27 23:53:07 2021
Results reported at Mon Sep 27 23:53:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin296 330.181 -24.2421 316051201 316310401 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 :                                   608.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            750 sec.

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

