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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1657
RA = 330.181, Dec = -24.2421
tmin = 668822401, tmax = 669081601
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='531826', job_status='RUN', time_executed='2022-03-16 01:20:59.943493', time_epoch_executed='1647418859.94' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1657'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531826

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531826/ft1_4FGL_J2200.7-2414_daily_bin1657.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531826/ft1_4FGL_J2200.7-2414_daily_bin1657.fits outfile=/scratch/kocevski/531826/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1657.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=668822401.0 tmax=669081601.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.54
user 5.26
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.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/531826/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1657.fits evtable="EVENTS" outfile="/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.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.32
sys 0.16
Number of photons that survived the gtmktime cut: 374

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits" evtable="EVENTS" scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits sctable="SC_DATA" outfile=/scratch/kocevski/531826/ltcube_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.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/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits
.....................!
real 12.18
user 11.80
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits evtable="EVENTS" scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits sctable="SC_DATA" expcube=/scratch/kocevski/531826/ltcube_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits outfile=/scratch/kocevski/531826/expmap_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.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/531826/ltcube_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits
.....................!
real 190.69
user 185.28
sys 5.07

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/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits outfile=/scratch/kocevski/531826/cmap_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits outfile=/scratch/kocevski/531826/cmap_HighResolution_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=330.181 yref=-24.2421 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits evtable="EVENTS" scfile=/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/531826/Model_4FGL_J2200.7-2414_daily_bin1657.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/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits.....................!
real 42.58
user 41.30
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits', '/scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits', expMap='/scratch/kocevski/531826/expmap_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits', expCube='/scratch/kocevski/531826/ltcube_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/531826/Model_4FGL_J2200.7-2414_daily_bin1657.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/531826/ft1_filtered_4FGL_J2200.7-2414_daily_bin1657.fits
Spacecraft file(s): /scratch/kocevski/531826/ft2_4FGL_J2200.7-2414_daily_bin1657.fits
Exposure map: /scratch/kocevski/531826/expmap_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits
Exposure cube: /scratch/kocevski/531826/ltcube_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/531826/Model_4FGL_J2200.7-2414_daily_bin1657.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4299.7170299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.8272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4895       1.0000         .10000E-03   10000.    
     5 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2695       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.062       1.0000         .10000E-03   10000.    
    10 'norm      '    .10641E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10888E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.2593       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4711       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.665       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14483E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.760       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4281       1.0000         .10000E-03   10000.    
    18 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0520       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8997       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1626       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88005       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=   4299.652     FROM MIGRAD    STATUS=CONVERGED    976 CALLS     3186 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3411        .13327E-02** at limit **
   2  norm          .10000E-03    2.9812        .11054E-02** at limit **
   3  Prefactor     6.8303        9.9776        .15355E-03   -.74629E-04
   4  Prefactor     5.5193        20.835        .17149E-03   -.14631E-03
   5  norm          .10000E-03    4.2610        .13199E-02** at limit **
   6  Prefactor     .10000E-03    87.113        .42438E-02** at limit **
   7  norm          .10000E-03    3.9359        .12685E-02** at limit **
   8  Prefactor     3.3870        114.54        .22396E-03   -.66804E-04
   9  Prefactor     42.713        125.20        .61092E-04   -.12271E-03
  10  norm          .10000E-03    8.1371        .35735E-03** at limit **
  11  Prefactor     .10000E-03    31.999        .18142E-02** at limit **
  12  norm          1.2588        .49561        .27835E-04   -.98016E-03
  13  Prefactor     1.4774        35.666        .35428E-03    .66008E-04
  14  Prefactor     15.671        17.845        .10119E-03   -.20402E-03
  15  Prefactor     .10000E-03    59.416        .18142E-02** at limit **
  16  Prefactor     26.779        20.081        .77442E-04   -.49473E-04
  17  Prefactor     6.5064        275.97        .15830E-03   -.37201E-04
  18  norm          .10000E-03    10.430        .18142E-02** at limit **
  19  Prefactor     .10000E-03    8.7036        .18142E-02** at limit **
  20  norm          1.0699        10.486        .14220E-02   -.11066E-02
  21  Prefactor     1.3576        6834.4        .30176E-02   -.40771E-04
  22  norm          .10000E-03    2.1514        .93908E-03** at limit **
  23  Normalizat    1.1628        .32228        .27317E-03   -.49418E-03
  24  Prefactor     .87979        .20994        .21573E-03   -.88727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.8303
  Prefactor  = 5.51929
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.38704
  Prefactor  = 42.7131
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.25879
  Prefactor  = 1.47736
  Prefactor  = 15.6712
  Prefactor  = 0.000100001
  Prefactor  = 26.7789
  Prefactor  = 6.50643
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.06985
  Prefactor  = 1.35759
  norm       = 0.0001
  Normalizat = 1.16279
  Prefactor  = 0.87979
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.652     FROM HESSE     STATUS=OK           377 CALLS     3563 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3414        .26654E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.9812        .22109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.8303        9.9727        .61422E-05   -1.5185    
   4  Prefactor     5.5193        20.823        .68596E-05   -1.5238    
   5  norm          .10000E-03    4.2613        .26397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    87.725        .84877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.9362        .25370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3870        113.59        .89583E-05   -1.5340    
   9  Prefactor     42.713        124.65        .12218E-04   -1.4400    
  10  norm          .10000E-03    8.1376        .71469E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    32.009        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.2588        .49550        .55670E-05   -1.5484    
  13  Prefactor     1.4774        35.566        .14171E-04   -1.5465    
  14  Prefactor     15.671        17.829        .40477E-05   -1.4916    
  15  Prefactor     .10000E-03    59.440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.779        20.061        .30977E-05   -1.4673    
  17  Prefactor     6.5064        276.21        .63321E-05   -1.5198    
  18  norm          .10000E-03    10.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.7043        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0699        7.3110        .56881E-04   -1.5501    
  21  Prefactor     1.3576        6329.0        .12071E-03   -1.5475    
  22  norm          .10000E-03    2.1514        .18782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1628        .31524        .54634E-04   -.87761    
  24  Prefactor     .87979        .20834        .43145E-04   -.96851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0211e-09
Minuit parameter uncertainties:
  1  2.03905e-05
  2  5.71156e-06
  3  9.97512
  4  20.8504
  5  1.78266e-05
  6  0.000111057
  7  5.79013e-06
  8  39.3096
  9  125.418
  10  3.54923e-05
  11  0.000162641
  12  0.495502
  13  14.5066
  14  17.835
  15  0.000588272
  16  20.0665
  17  85.2083
  18  2.1689e-05
  19  2.90467e-05
  20  5.59418
  21  128.961
  22  5.18806e-06
  23  0.315756
  24  0.20853
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.477e+00  1.451e+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:  8.798e-01  2.085e-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.163e+00  3.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/531826/likelihoodResults_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.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) = 4299.26732768
delta logL = 0.38491426446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4299.24921816
delta logL = 0.403023790448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1511       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5966       1.0000          .0000       10.000    
     3 'Normalizat'    1.0806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91132       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=   4299.249     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      235 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1371        29.406        .10781E-01    .60983E-03
   2  Index         3.6032        3.2351        .97730E-01    .12545E-03
   3  Normalizat    1.0798        .61084E-01    .63777E-01    .61174E-05
   4  Prefactor     .91179        .42625E-01    .45149E-01    .14291E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13706
  Index      = 3.6032
  Normalizat = 1.07981
  Prefactor  = 0.911788
 **********
 **   18 **HESSE 
 **********

 FCN=   4299.249     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1371        70.845        .77583E-04   -1.5495    
   2  Index         3.6032        6.7749        .52849E-02   -.28313    
   3  Normalizat    1.0798        .26875        .28211E-03   -.90403    
   4  Prefactor     .91179        .18769        .21224E-03   -.95730    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.47968e-07
Minuit parameter uncertainties:
  1  17.972
  2  6.88414
  3  0.269086
  4  0.187825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531826': 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) = 4299.24920753
delta logL = 0.403034421418

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.137e+00  1.797e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.603e+00  6.884e+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:  9.118e-01  1.878e-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.080e+00  2.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/531826/cmap_HighResolution_668822401_669081601_4FGL_J2200.7-2414_daily_bin1657.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.94e-03', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2022-03-16 01:30:31.578298', job_id='531826', GAL2='0.91', fit_tolerance='1e-08', EG2='1.08', EG='1.16', time_epoch_completed='1647419431.58', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.03e-01', ts2='0.88', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1657' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar 16 01:30:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 531826: <4FGL_J2200.7-2414_daily_bin1657> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1657> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Mar 16 01:20:13 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar 16 01:20:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar 16 01:20:28 2022
Terminated at Wed Mar 16 01:30:32 2022
Results reported at Wed Mar 16 01:30:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1657 330.181 -24.2421 668822401 669081601 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 :                                   573.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            619 sec.

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

