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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin375
RA = 330.181, Dec = -24.2421
tmin = 336528001, tmax = 336787201
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='87703', job_status='RUN', time_executed='2021-09-27 23:45:18.143069', time_epoch_executed='1632811518.14' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87703

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87703/ft1_4FGL_J2200.7-2414_daily_bin375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87703/ft1_4FGL_J2200.7-2414_daily_bin375.fits outfile=/scratch/kocevski/87703/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin375.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=336528001.0 tmax=336787201.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.88
user 5.57
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.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/87703/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin375.fits evtable="EVENTS" outfile="/scratch/kocevski/87703/ft1_filtered_4FGL_J2200.7-2414_daily_bin375.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87703/ft1_filtered_4FGL_J2200.7-2414_daily_bin375.fits" evtable="EVENTS" scfile=/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits sctable="SC_DATA" outfile=/scratch/kocevski/87703/ltcube_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.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/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits
.....................!
real 12.67
user 12.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87703/ft1_filtered_4FGL_J2200.7-2414_daily_bin375.fits evtable="EVENTS" scfile=/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits sctable="SC_DATA" expcube=/scratch/kocevski/87703/ltcube_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.fits outfile=/scratch/kocevski/87703/expmap_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.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/87703/ltcube_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.fits
.....................!
real 192.74
user 187.17
sys 4.34

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/87703/ft1_filtered_4FGL_J2200.7-2414_daily_bin375.fits scfile=/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits outfile=/scratch/kocevski/87703/cmap_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.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.59
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87703/ft1_filtered_4FGL_J2200.7-2414_daily_bin375.fits scfile=/scratch/kocevski/87703/ft2_4FGL_J2200.7-2414_daily_bin375.fits outfile=/scratch/kocevski/87703/cmap_HighResolution_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.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.62
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2365       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9353       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4840       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.909       1.0000         .10000E-03   10000.    
     7 'norm      '    .49774E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .62728       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .70357       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1270       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.306       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    17.087       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.495       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    18.143       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0113       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99559       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.

 FCN=   6832.926     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2763 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2354        22.964         .0000        .10456E-01
   2  norm          2.9353        3.2384         .0000       -.16117E-03
   3  Prefactor     .10000E-03    3.4992         .0000    ** at limit **
   4  Prefactor     6.4844        9.5127         .0000        .70652E-04
   5  norm          .10000E-03    2.5239         .0000    ** at limit **
   6  Prefactor     16.909        19.700         .0000        .10003E-03
   7  norm          .10000E-03    4.9886         .0000    ** at limit **
   8  Prefactor     .10000E-03    12.977         .0000    ** at limit **
   9  Prefactor     .10000E-03    15.693         .0000    ** at limit **
  10  norm          .62969        3.1718         .0000        .96368E-03
  11  Prefactor     .10000E-03    8.5108         .0000    ** at limit **
  12  norm          .70361        .30843         .0000       -.75151E-04
  13  Prefactor     7.1276        7.8612         .0000        .19722E-02
  14  Prefactor     23.304        15.529         .0000        .31437E-04
  15  Prefactor     .10000E-03    6.9290         .0000    ** at limit **
  16  Prefactor     .10000E-03    8.6301         .0000    ** at limit **
  17  Prefactor     .10000E-03    152.01         .0000    ** at limit **
  18  norm          17.089        23.125         .0000        .15040E-03
  19  Prefactor     22.496        13.587         .0000       -.11822E-03
  20  norm          .10000E-03    1.2729         .0000    ** at limit **
  21  Prefactor     .10000E-03    25.210         .0000    ** at limit **
  22  norm          18.144        7.3153         .0000        .99854E-04
  23  Normalizat    1.0112        .19974         .0000       -.49627E-05
  24  Prefactor     .99568        .13741         .0000       -.14004E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23537
  norm       = 2.93531
  Prefactor  = 0.0001
  Prefactor  = 6.48436
  norm       = 0.0001
  Prefactor  = 16.9092
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.629686
  Prefactor  = 0.0001
  norm       = 0.703611
  Prefactor  = 7.12761
  Prefactor  = 23.3039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.0888
  Prefactor  = 22.4962
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 18.1439
  Normalizat = 1.01118
  Prefactor  = 0.995679
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.926     FROM HESSE     STATUS=OK           403 CALLS     3166 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2354        23.170        .20186E-02   -1.5486    
   2  norm          2.9353        3.2420        .15253E-03   -1.5365    
   3  Prefactor     .10000E-03    3.5810        .15097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4844        9.5036        .15761E-03   -1.5199    
   5  norm          .10000E-03    2.5390        .12823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.909        19.262        .97399E-04   -1.4885    
   7  norm          .10000E-03    53.346        .35131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .62969        5.6321        .25030E-02   -1.5549    
  11  Prefactor     .10000E-03    8.5320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .70361        .30374        .27623E-04   -1.5540    
  13  Prefactor     7.1276        7.8581        .75130E-03   -1.5174    
  14  Prefactor     23.304        15.526        .82973E-04   -1.4742    
  15  Prefactor     .10000E-03    6.9426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.7226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    152.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.089        23.105        .96892E-04   -1.4881    
  19  Prefactor     22.496        13.599        .84453E-04   -1.4759    
  20  norm          .10000E-03    1.3025        .90992E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.144        7.3193        .94029E-04   -1.4856    
  23  Normalizat    1.0112        .23115        .28086E-03   -.92657    
  24  Prefactor     .99568        .16203        .20627E-03   -.92874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45559e-08
Minuit parameter uncertainties:
  1  10.7045
  2  3.24224
  3  4.32984e-06
  4  9.50576
  5  5.53962e-07
  6  19.2686
  7  3.61542e-06
  8  1.38332e-05
  9  2.18559e-06
  10  3.76657
  11  1.25428e-06
  12  0.303737
  13  7.85923
  14  15.5288
  15  4.32577e-06
  16  8.53239e-07
  17  9.63703e-05
  18  23.1168
  19  13.6005
  20  7.92697e-07
  21  1.31523e-05
  22  7.31967
  23  0.231375
  24  0.162106
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  7.128e+00  7.859e+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:  9.957e-01  1.621e-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.011e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.46e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.16e-05

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

Saving results to:
/scratch/kocevski/87703/likelihoodResults_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.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) = 6832.9256444
delta logL = 0.000215489197217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6832.9255125
delta logL = 0.00034738784143

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9754       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2475       1.0000          .0000       10.000    
     3 'Normalizat'    1.0105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99601       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=   6832.926     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9752        10.422        .15190E-03    .21420E-03
   2  Index         2.2475        .90481        .97563E-02    .40518E-04
   3  Normalizat    1.0105        .22153        .28095E-03   -.60091E-04
   4  Prefactor     .99601        .16127        .20624E-03   -.10160E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.97517
  Index      = 2.24754
  Normalizat = 1.01048
  Prefactor  = 0.996005
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.926     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9752        9.6812        .60760E-05   -1.5180    
   2  Index         2.2475        .84085        .39025E-03   -.58295    
   3  Normalizat    1.0105        .22140        .11238E-04   -.92680    
   4  Prefactor     .99601        .16127        .41248E-04   -.92863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01745e-11
Minuit parameter uncertainties:
  1  9.6834
  2  0.846644
  3  0.221602
  4  0.161348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87703': 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) = 6832.92551249
delta logL = 0.000347396347934

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  6.975e+00  9.683e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.248e+00  8.466e-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:  9.960e-01  1.613e-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.010e+00  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 2.25 +/- 0.85
Photon Flux (Free Index): 2.51e-08 +/- 3.37e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.34e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/87703/cmap_HighResolution_336528001_336787201_4FGL_J2200.7-2414_daily_bin375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', comment='SUCCESS', photon_flux='2.46e-08', energy_flux2='1.04e-05', photon_flux_error='2.71e-08', dlogl='3.47e-04', energy_flux='1.06e-05', photon_flux2='2.51e-08', job_status='DONE', time_completed='2021-09-27 23:57:06.185957', photon_index_error2='0.85', photon_index2='2.25', ts='1.43', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.33e-08', energy_flux_error2='1.34e-05', EG='1.01', time_epoch_completed='1632812226.19', return_code='0', job_id='87703', GAL2='1.00', EG2='1.01', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.37e-08', ts2='1.43', photon_index='2.23' WHERE bin_id='375' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 23:57:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 87703: <4FGL_J2200.7-2414_daily_bin375> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin375 330.181 -24.2421 336528001 336787201 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 :                                   701.46 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            982 sec.

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

