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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin507
RA = 330.181, Dec = -24.2421
tmin = 370742401, tmax = 371001601
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='89177', job_status='RUN', time_executed='2021-09-27 23:47:45.585710', time_epoch_executed='1632811665.59' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89177

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89177/ft1_4FGL_J2200.7-2414_daily_bin507.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89177/ft1_4FGL_J2200.7-2414_daily_bin507.fits outfile=/scratch/kocevski/89177/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin507.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=370742401.0 tmax=371001601.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 5.51
user 5.19
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits" evtable="EVENTS" scfile=/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits sctable="SC_DATA" outfile=/scratch/kocevski/89177/ltcube_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.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/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits
.....................!
real 12.09
user 11.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits sctable="SC_DATA" expcube=/scratch/kocevski/89177/ltcube_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.fits outfile=/scratch/kocevski/89177/expmap_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.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/89177/ltcube_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.fits
.....................!
real 190.99
user 186.10
sys 4.46

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/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits scfile=/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits outfile=/scratch/kocevski/89177/cmap_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=330.181 yref=-24.2421 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits scfile=/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits outfile=/scratch/kocevski/89177/cmap_HighResolution_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/89177/ft2_4FGL_J2200.7-2414_daily_bin507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89177/Model_4FGL_J2200.7-2414_daily_bin507.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/89177/ft1_filtered_4FGL_J2200.7-2414_daily_bin507.fits.....................!
real 51.45
user 50.09
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.881       1.0000         .10000E-03   10000.    
     2 'norm      '    6.4765       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.275       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9480       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .93441       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11879E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.102       1.0000         .10000E-03   10000.    
    10 'norm      '    15.131       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5757       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4574       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.908       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8768       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.657       1.0000         .10000E-03   10000.    
    17 'Prefactor '    45.780       1.0000         .10000E-03   10000.    
    18 'norm      '    .95850       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1064       1.0000         .10000E-03   10000.    
    20 'norm      '    .10888E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.704       1.0000         .10000E-03   10000.    
    22 'norm      '    11.674       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4074       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .52889       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=   5584.352     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2700 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.879        11.435       -.25249E-08   -.39676E-04
   2  norm          6.4765        6.2418        .44011E-07    .67535E-05
   3  Prefactor     10.275        7.1751        .29844E-07   -.11679E-04
   4  Prefactor     .10000E-03    3.7652       -.56687E-07** at limit **
   5  norm          2.9479        5.5445        .66376E-07   -.29939E-04
   6  Prefactor     .10000E-03    17.536        .37126E-06** at limit **
   7  norm          .93611        2.6377        .12916E-05   -.20806E-02
   8  Prefactor     .10000E-03    21.448       -.14531E-05** at limit **
   9  Prefactor     35.090        67.889        .24325E-06   -.68946E-05
  10  norm          15.129        6.8030       -.84127E-07   -.52172E-04
  11  Prefactor     4.5765        9.1874       -.88894E-08   -.18620E-04
  12  norm          1.4573        .51571       -.35314E-08   -.14620E-03
  13  Prefactor     12.905        11.769       -.15235E-06   -.52024E-04
  14  Prefactor     1.8752        14.273       -.23866E-06   -.31836E-04
  15  Prefactor     .10000E-03    5.7973       -.36613E-07** at limit **
  16  Prefactor     12.654        11.400       -.13874E-06   -.32547E-04
  17  Prefactor     45.757        77.417       -.73494E-06   -.56841E-04
  18  norm          .91957        10.152        .15810E-06   -.40784E-04
  19  Prefactor     3.0872        20.735        .10665E-05   -.49004E-04
  20  norm          .10000E-03    1.6561        .19138E-05** at limit **
  21  Prefactor     47.723        52.545       -.29044E-05   -.20060E-03
  22  norm          11.673        7.1395       -.48824E-07   -.19202E-03
  23  Normalizat    1.4077        .22593        .19922E-05   -.17551E-03
  24  Prefactor     .52872        .14696       -.24169E-05   -.17195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8786
  norm       = 6.47649
  Prefactor  = 10.2749
  Prefactor  = 0.0001
  norm       = 2.94788
  Prefactor  = 0.0001
  norm       = 0.936113
  Prefactor  = 0.000100001
  Prefactor  = 35.0896
  norm       = 15.1289
  Prefactor  = 4.57648
  norm       = 1.45728
  Prefactor  = 12.9046
  Prefactor  = 1.87516
  Prefactor  = 0.0001
  Prefactor  = 12.6538
  Prefactor  = 45.7569
  norm       = 0.919571
  Prefactor  = 3.08717
  norm       = 0.000100001
  Prefactor  = 47.7234
  norm       = 11.6732
  Normalizat = 1.40773
  Prefactor  = 0.528722
 **********
 **   18 **HESSE 
 **********

 FCN=   5584.352     FROM HESSE     STATUS=OK           407 CALLS     3107 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.879        11.442        .85629E-04   -1.4772    
   2  norm          6.4765        6.2463        .15770E-03   -1.5199    
   3  Prefactor     10.275        7.1787        .12500E-03   -1.5067    
   4  Prefactor     .10000E-03    3.7670        .14161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9479        5.5272        .23313E-03   -1.5365    
   6  Prefactor     .10000E-03    17.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .93611        11.635        .24162E-02   -1.5514    
   8  Prefactor     .10000E-03    21.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.090        67.773        .67639E-04   -1.4523    
  10  norm          15.129        6.8408        .10297E-03   -1.4930    
  11  Prefactor     4.5765        9.1733        .18818E-03   -1.5280    
  12  norm          1.4573        .51634        .29218E-04   -1.5467    
  13  Prefactor     12.905        11.792        .11149E-03   -1.4989    
  14  Prefactor     1.8752        14.325        .30393E-03   -1.5434    
  15  Prefactor     .10000E-03    5.8006        .17572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.654        11.436        .11259E-03   -1.4996    
  17  Prefactor     45.757        77.309        .59258E-04   -1.4354    
  18  norm          .91957        40.413        .46076E-02   -1.5516    
  19  Prefactor     3.0872        20.761        .23007E-03   -1.5357    
  20  norm          .10000E-03    1.7975        .19252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.723        53.952        .58056E-04   -1.4325    
  22  norm          11.673        7.1382        .11725E-03   -1.5025    
  23  Normalizat    1.4077        .25669        .24357E-03   -.80405    
  24  Prefactor     .52872        .16392        .26048E-03   -1.1068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33553e-08
Minuit parameter uncertainties:
  1  11.4429
  2  6.24698
  3  7.17931
  4  3.96902e-06
  5  5.52812
  6  4.18686e-05
  7  6.60185
  8  0.000210041
  9  67.9227
  10  6.84114
  11  9.17615
  12  0.516346
  13  11.7945
  14  10.3687
  15  2.9652e-06
  16  11.4377
  17  77.4789
  18  12.2004
  19  16.0193
  20  9.79752e-05
  21  54.0072
  22  7.13874
  23  0.256929
  24  0.16407
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.290e+01  1.179e+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:  5.287e-01  1.641e-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.408e+00  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/89177/likelihoodResults_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.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) = 5583.61872707
delta logL = 0.733639704447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5583.58559286
delta logL = 0.766773917025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7480       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3566       1.0000          .0000       10.000    
     3 'Normalizat'    1.3298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56402       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=   5583.586     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      304 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7499        29.966        .61395E-02    .41464E-03
   2  Index         3.3564        2.4599        .98819E-01    .16329E-03
   3  Normalizat    1.3298        .71074E-01    .56353E-01    .73853E-05
   4  Prefactor     .56401        .46196E-01    .40561E-01    .24127E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74992
  Index      = 3.35637
  Normalizat = 1.32983
  Prefactor  = 0.564005
 **********
 **   18 **HESSE 
 **********

 FCN=   5583.586     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7499        52.083        .74268E-04   -1.5376    
   2  Index         3.3564        3.6011        .37069E-02   -.33496    
   3  Normalizat    1.3298        .25738        .24919E-03   -.82680    
   4  Prefactor     .56401        .17289        .25260E-03   -1.0912    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.95407e-10
Minuit parameter uncertainties:
  1  23.959
  2  4.09558
  3  0.257626
  4  0.173052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89177': 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) = 5583.58559272
delta logL = 0.766774055272

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.750e+00  2.396e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.356e+00  4.096e+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:  5.640e-01  1.731e-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.330e+00  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 3.36 +/- 4.10
Photon Flux (Free Index): 1.07e-07 +/- 1.01e-07
Energy Flux (Free Index): 1.86e-05 +/- 1.59e-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/89177/cmap_HighResolution_370742401_371001601_4FGL_J2200.7-2414_daily_bin507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='1.86e-05', photon_flux_error='4.07e-08', dlogl='7.67e-01', energy_flux='1.91e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-27 23:58:16.934293', photon_index_error2='4.10', photon_index2='3.36', ts='1.79', fit_tolerance='1e-08', GAL='0.53', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.59e-05', EG='1.41', time_epoch_completed='1632812296.93', return_code='0', job_id='89177', GAL2='0.56', EG2='1.33', return_code2='102', energy_flux_error='1.75e-05', photon_flux_error2='1.01e-07', ts2='3.42', photon_index='2.23' WHERE bin_id='507' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 23:58:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 89177: <4FGL_J2200.7-2414_daily_bin507> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin507> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 27 23:45:26 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:45:38 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:45:38 2021
Terminated at Mon Sep 27 23:58:17 2021
Results reported at Mon Sep 27 23:58:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin507 330.181 -24.2421 370742401 371001601 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 :                                   629.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            771 sec.

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

