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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin854
RA = 330.181, Dec = -24.2421
tmin = 460684801, tmax = 460944001
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='90878', job_status='RUN', time_executed='2021-09-27 23:55:46.013271', time_epoch_executed='1632812146.01' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90878/ft1_4FGL_J2200.7-2414_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90878/ft1_4FGL_J2200.7-2414_daily_bin854.fits outfile=/scratch/kocevski/90878/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin854.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=460684801.0 tmax=460944001.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.77
user 2.54
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.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/90878/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin854.fits evtable="EVENTS" outfile="/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.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.97
user 0.27
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/90878/ltcube_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.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/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits
.....................!
real 11.47
user 10.53
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/90878/ltcube_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.fits outfile=/scratch/kocevski/90878/expmap_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.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/90878/ltcube_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.fits
.....................!
real 162.01
user 151.06
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2200.7-2414 @ 330.181 -24.2421

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits outfile=/scratch/kocevski/90878/cmap_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.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.48
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits outfile=/scratch/kocevski/90878/cmap_HighResolution_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.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.48
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/90878/ft2_4FGL_J2200.7-2414_daily_bin854.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90878/Model_4FGL_J2200.7-2414_daily_bin854.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/90878/ft1_filtered_4FGL_J2200.7-2414_daily_bin854.fits.....................!
real 54.27
user 48.31
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.5785       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2186       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9862       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      '    3.1044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.871       1.0000         .10000E-03   10000.    
    12 'norm      '    .95440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7960       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1997       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.463       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.709       1.0000         .10000E-03   10000.    
    20 'norm      '    .65903       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0887       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88670       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=   7180.352     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2325 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2440       -.51135E-05** at limit **
   2  norm          3.5785        4.6725       -.50049E-08    .45516E-05
   3  Prefactor     .10000E-03    1.3965        .45549E-07** at limit **
   4  Prefactor     8.2188        9.7323       -.13317E-07    .61146E-05
   5  norm          1.0799        2.0633       -.48354E-07   -.16020E-03
   6  Prefactor     .10000E-03    8.3653        .39193E-05** at limit **
   7  norm          2.9862        3.0659       -.30089E-06    .20910E-06
   8  Prefactor     .10000E-03    4.2705       -.20348E-05** at limit **
   9  Prefactor     .10000E-03    15.021        .75741E-06** at limit **
  10  norm          3.1056        3.8400        .52525E-06    .33958E-04
  11  Prefactor     29.870        17.462       -.10358E-05   -.34719E-04
  12  norm          .95442        .32307       -.23519E-07    .70711E-04
  13  Prefactor     2.7971        7.3589       -.71151E-07   -.44314E-04
  14  Prefactor     2.2009        8.8944        .23530E-06   -.34901E-04
  15  Prefactor     15.463        14.580        .15013E-06   -.15775E-05
  16  Prefactor     .10000E-03    2.4730       -.34902E-07** at limit **
  17  Prefactor     .10000E-03    21.569       -.27227E-05** at limit **
  18  norm          .10000E-03    4.1377        .17781E-05** at limit **
  19  Prefactor     22.711        10.768       -.69937E-08   -.23836E-04
  20  norm          .65911        1.1436       -.22344E-07   -.11882E-03
  21  Prefactor     .10000E-03    15.530        .31028E-05** at limit **
  22  norm          .10000E-03    3.4441       -.26123E-06** at limit **
  23  Normalizat    1.0886        .17114       -.15123E-06    .46322E-04
  24  Prefactor     .88674        .12509        .19311E-06    .33743E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.57848
  Prefactor  = 0.0001
  Prefactor  = 8.21881
  norm       = 1.07986
  Prefactor  = 0.0001
  norm       = 2.9862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.10559
  Prefactor  = 29.8696
  norm       = 0.95442
  Prefactor  = 2.79709
  Prefactor  = 2.20085
  Prefactor  = 15.4635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.711
  norm       = 0.659112
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.08863
  Prefactor  = 0.886739
 **********
 **   18 **HESSE 
 **********

 FCN=   7180.352     FROM HESSE     STATUS=OK           403 CALLS     2728 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3569        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5785        4.6688        .20396E-03   -1.5330    
   3  Prefactor     .10000E-03    1.3978        .97790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2188        9.7394        .69923E-03   -1.5135    
   5  norm          1.0799        10.211        .23167E-02   -1.5500    
   6  Prefactor     .10000E-03    8.4348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9862        3.0747        .14685E-03   -1.5362    
   8  Prefactor     .10000E-03    4.2809        .17118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1056        3.8467        .16699E-03   -1.5355    
  11  Prefactor     29.870        17.488        .73307E-04   -1.4614    
  12  norm          .95442        .32408        .26123E-04   -1.5513    
  13  Prefactor     2.7971        7.5576        .12166E-02   -1.5373    
  14  Prefactor     2.2009        9.5619        .13871E-02   -1.5411    
  15  Prefactor     15.463        14.597        .10185E-03   -1.4921    
  16  Prefactor     .10000E-03    2.4768        .13013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.1407        .16838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.711        10.800        .42027E-03   -1.4754    
  20  norm          .65911        .88321        .11599E-02   -1.5546    
  21  Prefactor     .10000E-03    15.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.5152        .15351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0886        .20376        .25450E-03   -.90118    
  24  Prefactor     .88674        .14916        .21053E-03   -.96606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4703e-11
Minuit parameter uncertainties:
  1  4.55769e-05
  2  4.66927
  3  3.96663e-08
  4  9.74128
  5  6.64245
  6  1.05345e-07
  7  3.07481
  8  2.1534e-06
  9  7.06731e-06
  10  3.84699
  11  17.4906
  12  0.324079
  13  7.56019
  14  9.17711
  15  14.6007
  16  2.98825e-07
  17  1.25089e-06
  18  1.74587e-07
  19  10.8011
  20  0.883228
  21  1.94117e-06
  22  6.14231e-07
  23  0.203907
  24  0.149224
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.797e+00  7.560e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.867e-01  1.492e-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.089e+00  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/90878/likelihoodResults_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.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) = 7180.34721836
delta logL = 0.0047886517259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7180.34608899
delta logL = 0.00591802127656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4539       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3591       1.0000          .0000       10.000    
     3 'Normalizat'    1.0869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88744       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7180.346     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      244 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4467        8.3506        .13056E-02    .53941E-03
   2  Index         2.3596        1.3760        .48128E-02    .37190E-04
   3  Normalizat    1.0870        .19468        .25466E-03   -.28571E-05
   4  Prefactor     .88741        .14726        .21045E-03   -.27010E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44667
  Index      = 2.35961
  Normalizat = 1.08702
  Prefactor  = 0.887414
 **********
 **   18 **HESSE 
 **********

 FCN=   7180.346     FROM HESSE     STATUS=OK            27 CALLS      271 TOTAL
                     EDM=   .97E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4467        7.7079        .26111E-03   -1.5395    
   2  Index         2.3596        1.2738        .96257E-03   -.55634    
   3  Normalizat    1.0870        .19487        .10187E-04   -.90170    
   4  Prefactor     .88741        .14734        .84181E-05   -.96582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69328e-14
Minuit parameter uncertainties:
  1  7.711
  2  1.29375
  3  0.194997
  4  0.147408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90878': 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) = 7180.34608847
delta logL = 0.00591854873801

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.447e+00  7.711e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.360e+00  1.294e+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.874e-01  1.474e-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.087e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 330.181 -24.242

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/90878/cmap_HighResolution_460684801_460944001_4FGL_J2200.7-2414_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-28 00:06:30.956214', job_id='90878', GAL2='0.89', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632812790.96', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.92e-03', ts2='0.17', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='854' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:06:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 90878: <4FGL_J2200.7-2414_daily_bin854> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin854> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 27 23:50:26 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:53:02 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:53:02 2021
Terminated at Tue Sep 28 00:06:31 2021
Results reported at Tue Sep 28 00:06:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin854 330.181 -24.2421 460684801 460944001 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 :                                   582.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            965 sec.

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

