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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin900
RA = 334.813, Dec = 18.1026
tmin = 472608001, tmax = 472867201
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='252148', job_status='RUN', time_executed='2021-09-28 08:45:29.456991', time_epoch_executed='1632843929.46' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/252148

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/252148/ft1_4FGL_J2219.2+1806_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/252148/ft1_4FGL_J2219.2+1806_daily_bin900.fits outfile=/scratch/kocevski/252148/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin900.fits ra=334.813 dec=18.1026 rad=12.0 tmin=472608001.0 tmax=472867201.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.61
user 3.38
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.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/252148/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin900.fits evtable="EVENTS" outfile="/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits" evtable="EVENTS" scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits sctable="SC_DATA" outfile=/scratch/kocevski/252148/ltcube_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.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/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits
.....................!
real 11.86
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/252148/ltcube_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits outfile=/scratch/kocevski/252148/expmap_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.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/252148/ltcube_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits
.....................!
real 191.19
user 185.84
sys 4.83

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2219.2+1806 @ 334.813 18.1026

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits outfile=/scratch/kocevski/252148/cmap_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.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=334.813 yref=18.1026 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits outfile=/scratch/kocevski/252148/cmap_HighResolution_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.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=334.813 yref=18.1026 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/252148/Model_4FGL_J2219.2+1806_daily_bin900.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/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits.....................!
real 100.48
user 99.04
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits', '/scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits', expMap='/scratch/kocevski/252148/expmap_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits', expCube='/scratch/kocevski/252148/ltcube_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/252148/Model_4FGL_J2219.2+1806_daily_bin900.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2+1806'

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.275e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/252148/ft1_filtered_4FGL_J2219.2+1806_daily_bin900.fits
Spacecraft file(s): /scratch/kocevski/252148/ft2_4FGL_J2219.2+1806_daily_bin900.fits
Exposure map: /scratch/kocevski/252148/expmap_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits
Exposure cube: /scratch/kocevski/252148/ltcube_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/252148/Model_4FGL_J2219.2+1806_daily_bin900.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) = 10070.2581253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    81.463       1.0000         .10000E-03   10000.    
     3 'norm      '    7.8442       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .19752E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9477       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1080       1.0000         .10000E-03   10000.    
    11 'norm      '    21.086       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5463       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1221       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1873       1.0000         .10000E-03   10000.    
    17 'norm      '    .95964       1.0000         .10000E-03   10000.    
    18 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.701       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.058       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .86461       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.4757       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.060       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2315       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .74585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10070.26     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2852 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1368        .24438E-07** at limit **
   2  Prefactor     81.449        92.146       -.15260E-04   -.75063E-06
   3  norm          7.8434        2.9874        .18056E-06   -.27807E-03
   4  Prefactor     .10000E-03    29.972       -.72523E-05** at limit **
   5  norm          .10000E-03    1.3175        .64657E-08** at limit **
   6  Prefactor     .10000E-03    30.030       -.22762E-05** at limit **
   7  Prefactor     .10000E-03    35.071        .24864E-04** at limit **
   8  norm          1.9477        1.0092       -.24302E-07   -.37320E-03
   9  Prefactor     .10000E-03    40.986       -.11694E-05** at limit **
  10  Prefactor     5.1072        14.510       -.55208E-06   -.81102E-04
  11  norm          21.086        7.0435       -.51224E-06   -.59421E-04
  12  Prefactor     .10000E-03    8.5179       -.58147E-08** at limit **
  13  Prefactor     .10000E-03    43.010       -.15707E-04** at limit **
  14  Prefactor     3.5486        8.9296        .36977E-05   -.21088E-03
  15  Prefactor     5.1222        .45026       -.43391E-08    .48416E-03
  16  Prefactor     4.1872        4.5959        .14636E-05    .16748E-03
  17  norm          .95964        .83362       -.54760E-08   -.11180E-03
  18  norm          .10000E-03    .94206        .63965E-07** at limit **
  19  Prefactor     16.701        23.332       -.54154E-06    .11050E-04
  20  Prefactor     10.058        9.6157        .78903E-06   -.44516E-04
  21  Prefactor     .85829        11.983       -.20341E-05   -.91584E-04
  22  Prefactor     3.4758        .31967        .89133E-08    .20991E-02
  23  Prefactor     16.060        10.316        .17655E-06   -.15944E-04
  24  Normalizat    1.2315        .24367       -.63839E-06   -.88345E-05
  25  Prefactor     .74588        .11379        .71304E-07   -.58874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 81.449
  norm       = 7.84344
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94766
  Prefactor  = 0.0001
  Prefactor  = 5.10717
  norm       = 21.086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.54858
  Prefactor  = 5.12225
  Prefactor  = 4.1872
  norm       = 0.959636
  norm       = 0.0001
  Prefactor  = 16.7009
  Prefactor  = 10.0579
  Prefactor  = 0.858294
  Prefactor  = 3.47578
  Prefactor  = 16.0601
  Normalizat = 1.23146
  Prefactor  = 0.745877
 **********
 **   18 **HESSE 
 **********

 FCN=   10070.26     FROM HESSE     STATUS=OK           433 CALLS     3285 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1402        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     81.449        92.148        .22250E-03   -1.3901    
   3  norm          7.8434        2.9870        .10036E-03   -1.5148    
   4  Prefactor     .10000E-03    29.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.5774        .22343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9477        1.0071        .69430E-04   -1.5429    
   9  Prefactor     .10000E-03    41.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.1072        14.508        .17789E-03   -1.5256    
  11  norm          21.086        7.0447        .87226E-04   -1.4789    
  12  Prefactor     .10000E-03    8.5582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5486        8.8584        .21464E-03   -1.5331    
  15  Prefactor     5.1222        .45206        .19022E-04   -1.5255    
  16  Prefactor     4.1872        4.6101        .19695E-03   -1.5299    
  17  norm          .95964        .84063        .82547E-04   -1.5512    
  18  norm          .10000E-03    .97845        .18972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.701        23.344        .98004E-04   -1.4890    
  20  Prefactor     10.058        9.5951        .12634E-03   -1.5074    
  21  Prefactor     .85829        63.290        .66790E-02   -1.5523    
  22  Prefactor     3.4758        .31988        .16113E-04   -1.5335    
  23  Prefactor     16.060        10.318        .99942E-04   -1.4906    
  24  Normalizat    1.2315        .28937        .39057E-03   -.85636    
  25  Prefactor     .74588        .13540        .23960E-03   -1.0176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33162e-08
Minuit parameter uncertainties:
  1  6.15015e-07
  2  92.3104
  3  2.98705
  4  2.6666e-06
  5  2.12672e-05
  6  0.000129307
  7  6.78059e-06
  8  1.00716
  9  2.06047e-05
  10  14.5181
  11  7.045
  12  3.37731e-06
  13  1.05533e-05
  14  8.86164
  15  0.452058
  16  4.61051
  17  0.840644
  18  4.21803e-06
  19  23.3564
  20  9.59655
  21  14.756
  22  0.319876
  23  10.3189
  24  0.289744
  25  0.135463
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  2.109e+01  7.045e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  7.459e-01  1.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.231e+00  2.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.76
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 4.40e-08
Energy Flux (Fixed Index): 5.61e-05 +/- 1.87e-05

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) = 10070.1788942
delta logL = 0.0764744062853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10070.1715407
delta logL = 0.0838278890169

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.198       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0457       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74006       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   10070.17     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      265 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.198        7.8008        .85016E-04   -.13739E-02
   2  alpha         2.0460        .31877        .10836E-01   -.21087E-03
   3  Normalizat    1.2488        .27555        .38830E-03    .68218E-04
   4  Prefactor     .74009        .13456        .24044E-03    .11140E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.1978
  alpha      = 2.04598
  Normalizat = 1.2488
  Prefactor  = 0.740086
 **********
 **   18 **HESSE 
 **********

 FCN=   10070.17     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.198        7.7471        .17003E-04   -1.4765    
   2  alpha         2.0460        .31644        .43345E-03   -.18262    
   3  Normalizat    1.2488        .27574        .15532E-04   -.85108    
   4  Prefactor     .74009        .13467        .96177E-05   -1.0198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91088e-10
Minuit parameter uncertainties:
  1  7.74747
  2  0.31732
  3  0.276066
  4  0.134725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/252148': 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) = 10070.1715402
delta logL = 0.0838283614085

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  2.220e+01  7.747e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.046e+00  3.173e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  7.401e-01  1.347e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.249e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.59
Ra Dec: 334.813 18.103
Photon Index (Free Index): 2.05 +/- 0.32
Photon Flux (Free Index): 1.20e-07 +/- 4.97e-08
Energy Flux (Free Index): 6.23e-05 +/- 2.71e-05

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/252148/cmap_HighResolution_472608001_472867201_4FGL_J2219.2+1806_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='6.23e-05', photon_flux_error='4.40e-08', dlogl='8.38e-02', energy_flux='5.61e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-09-28 08:59:21.911707', photon_index_error2='0.32', photon_index2='2.05', ts='23.76', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='1.23', time_epoch_completed='1632844761.91', return_code='0', job_id='252148', GAL2='0.74', EG2='1.25', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='4.97e-08', ts2='23.59', photon_index='2.18' WHERE bin_id='900' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 08:59:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 252148: <4FGL_J2219.2+1806_daily_bin900> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin900> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 08:45:14 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 08:45:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 08:45:15 2021
Terminated at Tue Sep 28 08:59:22 2021
Results reported at Tue Sep 28 08:59:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin900 334.813 18.1026 472608001 472867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2+1806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   831.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            848 sec.

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

