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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1627
RA = 330.181, Dec = -24.2421
tmin = 661046401, tmax = 661305601
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='250944', job_status='RUN', time_executed='2021-12-16 00:37:25.745635', time_epoch_executed='1639643845.75' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250944

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250944/ft1_4FGL_J2200.7-2414_daily_bin1627.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250944/ft1_4FGL_J2200.7-2414_daily_bin1627.fits outfile=/scratch/kocevski/250944/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1627.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=661046401.0 tmax=661305601.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 3.59
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.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/250944/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1627.fits evtable="EVENTS" outfile="/scratch/kocevski/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits" evtable="EVENTS" scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits sctable="SC_DATA" outfile=/scratch/kocevski/250944/ltcube_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.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/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits
.....................!
real 12.28
user 11.90
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits sctable="SC_DATA" expcube=/scratch/kocevski/250944/ltcube_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.fits outfile=/scratch/kocevski/250944/expmap_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.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/250944/ltcube_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.fits
.....................!
real 190.71
user 184.62
sys 5.71

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/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits outfile=/scratch/kocevski/250944/cmap_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits outfile=/scratch/kocevski/250944/cmap_HighResolution_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250944/ft2_4FGL_J2200.7-2414_daily_bin1627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250944/Model_4FGL_J2200.7-2414_daily_bin1627.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/250944/ft1_filtered_4FGL_J2200.7-2414_daily_bin1627.fits.....................!
real 51.24
user 50.00
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.234       1.0000         .10000E-03   10000.    
     2 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0855       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.790       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11054E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.871       1.0000         .10000E-03   10000.    
    10 'norm      '    8.4952       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.316       1.0000         .10000E-03   10000.    
    12 'norm      '    .21374       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    106.00       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4089       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    35.290       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .21954       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4743       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .62878       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=   5610.124     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2344 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.234        15.273        .37246E-06    .44556E-05
   2  norm          .10000E-03    15.478        .91628E-06** at limit **
   3  Prefactor     6.0855        5.6986        .48831E-07   -.30556E-05
   4  Prefactor     .10000E-03    6.5352        .15102E-06** at limit **
   5  norm          20.790        10.876        .39456E-07    .44629E-05
   6  Prefactor     .10000E-03    20.422        .13869E-05** at limit **
   7  norm          .10000E-03    3.6267       -.30451E-07** at limit **
   8  Prefactor     .10000E-03    10.242       -.33168E-06** at limit **
   9  Prefactor     38.868        42.105       -.21288E-05    .38811E-05
  10  norm          8.4950        5.4414       -.22329E-08    .11202E-04
  11  Prefactor     26.319        23.674       -.13211E-05   -.13976E-04
  12  norm          .21362        .29535        .93122E-08    .21440E-04
  13  Prefactor     .10000E-03    4.3294       -.63248E-07** at limit **
  14  Prefactor     106.00        26.017       -.39956E-06   -.90585E-05
  15  Prefactor     .10000E-03    16.847       -.69889E-05** at limit **
  16  Prefactor     2.4086        2.5343        .15280E-06   -.75394E-03
  17  Prefactor     .10000E-03    15.622        .44831E-05** at limit **
  18  norm          35.286        30.979       -.60163E-06    .12950E-04
  19  Prefactor     .10000E-03    8.5341        .27996E-06** at limit **
  20  norm          .22056        2.4024        .66150E-07   -.16932E-03
  21  Prefactor     .10000E-03    152.95       -.33337E-05** at limit **
  22  norm          .10000E-03    2.4584        .26377E-07** at limit **
  23  Normalizat    1.4744        .21433        .42264E-06    .25155E-04
  24  Prefactor     .62870        .14839        .10427E-07    .33694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2342
  norm       = 0.0001
  Prefactor  = 6.08552
  Prefactor  = 0.0001
  norm       = 20.7899
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.8681
  norm       = 8.49504
  Prefactor  = 26.3194
  norm       = 0.213621
  Prefactor  = 0.0001
  Prefactor  = 105.996
  Prefactor  = 0.0001
  Prefactor  = 2.40864
  Prefactor  = 0.0001
  norm       = 35.2856
  Prefactor  = 0.0001
  norm       = 0.220562
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.47442
  Prefactor  = 0.628702
 **********
 **   18 **HESSE 
 **********

 FCN=   5610.124     FROM HESSE     STATUS=OK           397 CALLS     2741 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.234        15.278        .86921E-04   -1.4786    
   2  norm          .10000E-03    15.979        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0855        5.6964        .16275E-03   -1.5215    
   4  Prefactor     .10000E-03    6.5510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.790        10.875        .87845E-04   -1.4796    
   6  Prefactor     .10000E-03    20.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.6394        .13930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.868        42.082        .64288E-04   -1.4460    
  10  norm          8.4950        5.4029        .12693E-03   -1.5125    
  11  Prefactor     26.319        23.706        .78092E-04   -1.4681    
  12  norm          .21362        .26492        .44757E-03   -1.5616    
  13  Prefactor     .10000E-03    4.3405        .15219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     106.00        26.060        .39060E-04   -1.3645    
  15  Prefactor     .10000E-03    16.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4086        7.0838        .13189E-02   -1.5398    
  17  Prefactor     .10000E-03    15.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          35.286        30.982        .67460E-04   -1.4519    
  19  Prefactor     .10000E-03    8.5682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .22056        2.5417        .22685E-03   -1.5614    
  21  Prefactor     .10000E-03    153.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.4653        .11468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4744        .24872        .25440E-03   -.78500    
  24  Prefactor     .62870        .17013        .26043E-03   -1.0639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18972e-09
Minuit parameter uncertainties:
  1  15.2811
  2  1.55307e-05
  3  5.69691
  4  1.97087e-06
  5  10.876
  6  2.66993e-05
  7  1.13082e-06
  8  1.8662e-05
  9  42.114
  10  5.40318
  11  23.7141
  12  0.264924
  13  9.68564e-07
  14  26.0632
  15  1.71891e-05
  16  7.08625
  17  1.69399e-05
  18  30.9963
  19  1.10533e-07
  20  1.4972
  21  3.1315e-05
  22  1.77779e-07
  23  0.248928
  24  0.170273
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  9.686e-07  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:  6.287e-01  1.703e-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.474e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/250944/likelihoodResults_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.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): 102
logL (Free Index) = 5610.12530132
delta logL = -0.0010917743657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5610.12420946
delta logL = 8.28404154163e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2081       1.0000          .0000       10.000    
     3 'Normalizat'    1.4744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62872       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=   5610.124     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10119E-03    54.642        .15399E-02** at limit **
   2  Index         2.1514        8.5895        .50000        .27288E-04
   3  Normalizat    1.4744        .19257E-01    .25440E-03   -.13541E-04
   4  Prefactor     .62870        .13541E-01    .26043E-03   -.10870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010119
  Index      = 2.15145
  Normalizat = 1.47442
  Prefactor  = 0.628702
 **********
 **   18 **HESSE 
 **********

 FCN=   5610.124     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10119E-03    228.89        .30798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1514        5.4527        .50000       -.60615    
   3  Normalizat    1.4744        .41377E-01    .10176E-04   -.78500    
   4  Prefactor     .62870        .29092E-01    .10417E-04   -1.0639    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.09105e-08
Minuit parameter uncertainties:
  1  0.0331343
  2  569.017
  3  0.0413777
  4  0.0290926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250944': 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) = 5610.12420913
delta logL = 4.12766894442e-07

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.012e-04  3.313e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.151e+00  5.690e+02  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:  6.287e-01  2.909e-02  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.474e+00  4.138e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/250944/cmap_HighResolution_661046401_661305601_4FGL_J2200.7-2414_daily_bin1627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-03', job_status='DONE', photon_flux_upper_limit='6.74e-08', time_completed='2021-12-16 00:47:14.363315', job_id='250944', GAL2='0.63', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1639644434.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='4.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1627' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 16 00:47:14 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 250944: <4FGL_J2200.7-2414_daily_bin1627> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1627> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Dec 16 00:35:40 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 16 00:35:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 16 00:35:43 2021
Terminated at Thu Dec 16 00:47:15 2021
Results reported at Thu Dec 16 00:47:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1627 330.181 -24.2421 661046401 661305601 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 :                                   591.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            695 sec.

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

