/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 216 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7626
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1211
RA = 330.181, Dec = -24.2421
tmin = 553219201, tmax = 553478401
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='92638', job_status='RUN', time_executed='2021-09-28 00:03:46.938725', time_epoch_executed='1632812626.94' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92638/ft1_4FGL_J2200.7-2414_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92638/ft1_4FGL_J2200.7-2414_daily_bin1211.fits outfile=/scratch/kocevski/92638/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1211.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=553219201.0 tmax=553478401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.73
user 2.53
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/92638/ltcube_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.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/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits
.....................!
real 15.48
user 15.04
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/92638/ltcube_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.fits outfile=/scratch/kocevski/92638/expmap_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.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/92638/ltcube_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.fits
.....................!
real 190.84
user 186.19
sys 4.13

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/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits scfile=/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits outfile=/scratch/kocevski/92638/cmap_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits scfile=/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits outfile=/scratch/kocevski/92638/cmap_HighResolution_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/92638/ft2_4FGL_J2200.7-2414_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92638/Model_4FGL_J2200.7-2414_daily_bin1211.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/92638/ft1_filtered_4FGL_J2200.7-2414_daily_bin1211.fits......................!
real 27.24
user 25.72
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    66.400       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.655       1.0000         .10000E-03   10000.    
    10 'norm      '    .53118E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    54.003       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.211       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7406       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3867       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.003       1.0000         .10000E-03   10000.    
    18 'norm      '    19.807       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5222       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79565       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0613       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=   2040.059     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     3158 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.835       -.18114E-04** at limit **
   2  norm          .10000E-03    22.433       -.44337E-05** at limit **
   3  Prefactor     .10000E-03    17.196        .35865E-05** at limit **
   4  Prefactor     66.390        58.956       -.69962E-05   -.37886E-04
   5  norm          .10000E-03    16.468       -.46773E-05** at limit **
   6  Prefactor     .10000E-03    35.817        .18723E-05** at limit **
   7  norm          .10000E-03    43.507        .11559E-04** at limit **
   8  Prefactor     .10001E-03    31.103       -.93956E-05** at limit **
   9  Prefactor     40.601        157.75       -.81023E-04   -.94005E-04
  10  norm          .10007E-03    8.9268        .69753E-05** at limit **
  11  Prefactor     54.008        48.182        .39191E-05   -.86300E-04
  12  norm          .10000E-03    .24686        .10458E-06** at limit **
  13  Prefactor     18.217        25.779        .69071E-05   -.18476E-03
  14  Prefactor     8.7409        14.844       -.73299E-06   -.26962E-04
  15  Prefactor     2.3858        180.81       -.75152E-05   -.55504E-04
  16  Prefactor     .10000E-03    43.132        .11501E-04** at limit **
  17  Prefactor     39.018        77.716        .19956E-04   -.82752E-04
  18  norm          19.806        20.190       -.79830E-07   -.17314E-04
  19  Prefactor     .10000E-03    11.013        .71649E-07** at limit **
  20  norm          1.5223        2.0791       -.83660E-07   -.14612E-03
  21  Prefactor     .10000E-03    19.916        .66974E-05** at limit **
  22  norm          .10000E-03    7.2007       -.59776E-07** at limit **
  23  Normalizat    .79578        .33406        .42351E-05   -.60792E-03
  24  Prefactor     1.0612        .25749       -.89475E-06   -.61663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 66.3904
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.000100008
  Prefactor  = 40.6015
  norm       = 0.000100069
  Prefactor  = 54.0075
  norm       = 0.0001
  Prefactor  = 18.2173
  Prefactor  = 8.74091
  Prefactor  = 2.38578
  Prefactor  = 0.000100004
  Prefactor  = 39.0176
  norm       = 19.8064
  Prefactor  = 0.0001
  norm       = 1.52231
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.795784
  Prefactor  = 1.06116
 **********
 **   18 **HESSE 
 **********

 FCN=   2040.059     FROM HESSE     STATUS=OK           383 CALLS     3541 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    22.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     66.390        58.656        .49253E-04   -1.4077    
   5  norm          .10000E-03    16.522        .17893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    44.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    30.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.601        157.30        .62867E-04   -1.4433    
  10  norm          .10007E-03    65.171        .24512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     54.008        48.188        .54581E-04   -1.4237    
  12  norm          .10000E-03    .25343        .43565E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.217        25.602        .93854E-04   -1.4854    
  14  Prefactor     8.7409        14.835        .13558E-03   -1.5117    
  15  Prefactor     2.3858        176.19        .26512E-03   -1.5399    
  16  Prefactor     .10000E-03    44.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     39.018        77.686        .64179E-04   -1.4458    
  18  norm          19.806        20.195        .89996E-04   -1.4818    
  19  Prefactor     .10000E-03    11.085        .14637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5223        2.0555        .73896E-04   -1.5461    
  21  Prefactor     .10000E-03    19.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    7.3178        .11830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .79578        .38226        .29682E-03   -1.0023    
  24  Prefactor     1.0612        .29932        .20808E-03   -.90718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84812e-09
Minuit parameter uncertainties:
  1  0.000927547
  2  0.000215026
  3  3.26393e-05
  4  58.7068
  5  0.000106887
  6  0.000153777
  7  0.000712485
  8  0.00101169
  9  158.951
  10  0.00424077
  11  48.2228
  12  4.82983e-06
  13  25.6175
  14  14.841
  15  41.1308
  16  0.000791099
  17  77.8889
  18  20.2018
  19  2.75307e-05
  20  2.05555
  21  0.000183749
  22  2.1065e-05
  23  0.383562
  24  0.299791
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.822e+01  2.562e+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.061e+00  2.998e-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.958e-01  3.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92638/likelihoodResults_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.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) = 2039.33431219
delta logL = 0.724960340942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2039.26984045
delta logL = 0.789432082601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9456       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8260       1.0000          .0000       10.000    
     3 'Normalizat'    .62670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1445       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=   2039.270     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9221        29.881        .74394E-02   -.33397E-03
   2  Index         3.8321        2.9578        .61515E-01    .95183E-05
   3  Normalizat    .62562        .11921        .74591E-01   -.68313E-04
   4  Prefactor     1.1458        .93188E-01    .36098E-01   -.92875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92211
  Index      = 3.83206
  Normalizat = 0.625616
  Prefactor  = 1.14577
 **********
 **   18 **HESSE 
 **********

 FCN=   2039.270     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      296 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9221        44.349        .42634E-04   -1.5431    
   2  Index         3.8321        3.7068        .25447E-02   -.23577    
   3  Normalizat    .62562        .38324        .33023E-03   -1.0691    
   4  Prefactor     1.1458        .30882        .20081E-03   -.88017    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.42388e-10
Minuit parameter uncertainties:
  1  18.4805
  2  4.21554
  3  0.384888
  4  0.309303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92638': 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) = 2039.26982564
delta logL = 0.789446887221

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.922e+00  1.848e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.832e+00  4.216e+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.146e+00  3.093e-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:  6.256e-01  3.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 3.83 +/- 4.22
Photon Flux (Free Index): 2.27e-07 +/- 1.88e-07
Energy Flux (Free Index): 3.50e-05 +/- 2.99e-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/92638/cmap_HighResolution_553219201_553478401_4FGL_J2200.7-2414_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.02e-02', comment='SUCCESS', energy_flux2='3.50e-05', dlogl='7.89e-01', photon_flux2='2.27e-07', job_status='DONE', time_completed='2021-09-28 00:11:01.131578', photon_index_error2='4.22', photon_index2='3.83', ts='0.79', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.65e-07', energy_flux_error2='2.99e-05', EG='0.80', time_epoch_completed='1632813061.13', return_code='0', job_id='92638', GAL2='1.15', EG2='0.63', return_code2='102', photon_flux_error2='1.88e-07', ts2='2.59', photon_index='2.23' WHERE bin_id='1211' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 92638: <4FGL_J2200.7-2414_daily_bin1211> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1211 330.181 -24.2421 553219201 553478401 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 :                                   429.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             214.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            928 sec.

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

