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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin807
RA = 334.813, Dec = 18.1026
tmin = 448502401, tmax = 448761601
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='250890', job_status='RUN', time_executed='2021-09-28 08:40:30.242301', time_epoch_executed='1632843630.24' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250890

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250890/ft1_4FGL_J2219.2+1806_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250890/ft1_4FGL_J2219.2+1806_daily_bin807.fits outfile=/scratch/kocevski/250890/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin807.fits ra=334.813 dec=18.1026 rad=12.0 tmin=448502401.0 tmax=448761601.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.98
user 5.73
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/250890/ltcube_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.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/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits
.....................!
real 11.74
user 11.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/250890/ltcube_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits outfile=/scratch/kocevski/250890/expmap_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.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/250890/ltcube_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits
.....................!
real 191.50
user 186.36
sys 4.77

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/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits scfile=/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits outfile=/scratch/kocevski/250890/cmap_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits scfile=/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits outfile=/scratch/kocevski/250890/cmap_HighResolution_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits', '/scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits', expMap='/scratch/kocevski/250890/expmap_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits', expCube='/scratch/kocevski/250890/ltcube_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250890/Model_4FGL_J2219.2+1806_daily_bin807.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/250890/ft1_filtered_4FGL_J2219.2+1806_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/250890/ft2_4FGL_J2219.2+1806_daily_bin807.fits
Exposure map: /scratch/kocevski/250890/expmap_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits
Exposure cube: /scratch/kocevski/250890/ltcube_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250890/Model_4FGL_J2219.2+1806_daily_bin807.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) = 7261.87580947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10739E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.4878       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1318       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .30660E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.193       1.0000         .10000E-03   10000.    
     8 'norm      '    .69776       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    28.743       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49373       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.774       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0059       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7811       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.9417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.3018       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .70009       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0229       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=   7261.805     FROM MIGRAD    STATUS=CONVERGED   1028 CALLS     3854 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.319        .36285E-03** at limit **
   2  Prefactor     .10000E-03    62.233        .18142E-02** at limit **
   3  norm          9.4920        3.3036        .81732E-04   -.51480E-03
   4  Prefactor     .10000E-03    26.126        .18142E-02** at limit **
   5  norm          3.1316        2.5242        .11519E-03   -.70566E-04
   6  Prefactor     .10000E-03    36.980        .12669    ** at limit **
   7  Prefactor     18.205        47.695        .93900E-04   -.17313E-04
   8  norm          .69791        .65907        .64993E-04    .33235E-05
   9  Prefactor     .10000E-03    51.102        .18142E-02** at limit **
  10  Prefactor     .10000E-03    23.667        .18142E-02** at limit **
  11  norm          28.744        10.806        .74728E-04    .68308E-04
  12  Prefactor     .50495        263.82        .65215E-02    .41772E-04
  13  Prefactor     32.889        194.79        .69993E-04   -.41256E-05
  14  Prefactor     .10000E-03    9.1910        .18142E-02** at limit **
  15  Prefactor     3.0058        .57532        .22532E-04    .32474E-02
  16  Prefactor     9.7800        11.036        .64065E-03    .76661E-05
  17  norm          .10000E-03    1.3132        .94147E-03** at limit **
  18  norm          3.9415        4.1544        .17319E-03    .23763E-04
  19  Prefactor     .10000E-03    30.066        .18142E-02** at limit **
  20  Prefactor     .10000E-03    29.984        .18142E-02** at limit **
  21  Prefactor     .10000E-03    28.312        .18142E-02** at limit **
  22  Prefactor     5.3018        .71079        .25183E-04    .58642E-03
  23  Prefactor     .10000E-03    9.4896        .18142E-02** at limit **
  24  Normalizat    .70002        .35794        .52229E-03    .23095E-04
  25  Prefactor     1.0230        .15967        .20318E-03    .56848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.492
  Prefactor  = 0.0001
  norm       = 3.13162
  Prefactor  = 0.0001
  Prefactor  = 18.2047
  norm       = 0.697914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.7438
  Prefactor  = 0.504949
  Prefactor  = 32.8886
  Prefactor  = 0.0001
  Prefactor  = 3.00579
  Prefactor  = 9.77995
  norm       = 0.0001
  norm       = 3.94151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.30178
  Prefactor  = 0.0001
  Normalizat = 0.700016
  Prefactor  = 1.02302
 **********
 **   18 **HESSE 
 **********

 FCN=   7261.805     FROM HESSE     STATUS=OK           413 CALLS     4267 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.320        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    62.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.4920        3.3027        .32693E-05   -1.5092    
   4  Prefactor     .10000E-03    26.126        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1316        2.5238        .46077E-05   -1.5354    
   6  Prefactor     .10000E-03    37.130        .12633       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.205        47.675        .37560E-05   -1.4854    
   8  norm          .69791        .65905        .25997E-05   -1.5541    
   9  Prefactor     .10000E-03    51.116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.671        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          28.744        10.806        .29891E-05   -1.4635    
  12  Prefactor     .50495        244.08        .26086E-03   -1.5566    
  13  Prefactor     32.889        194.61        .13999E-04   -1.4560    
  14  Prefactor     .10000E-03    9.1920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0058        .54792        .45064E-05   -1.5361    
  16  Prefactor     9.7800        11.027        .25626E-04   -1.5082    
  17  norm          .10000E-03    1.3136        .18829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.9415        4.1541        .69276E-05   -1.5311    
  19  Prefactor     .10000E-03    30.066        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    28.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.3018        .71055        .10073E-05   -1.5247    
  23  Prefactor     .10000E-03    9.4898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .70002        .35706        .20892E-04   -1.0389    
  25  Prefactor     1.0230        .15973        .40636E-04   -.91966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27152e-10
Minuit parameter uncertainties:
  1  1.31359e-05
  2  7.18179e-05
  3  3.30275
  4  1.0366e-06
  5  2.52385
  6  0.000150763
  7  47.7745
  8  0.659054
  9  6.92301e-05
  10  0.000109085
  11  10.807
  12  22.2933
  13  160.797
  14  1.15619e-06
  15  0.547925
  16  11.0297
  17  1.15312e-07
  18  4.15443
  19  2.00596e-05
  20  5.19739e-05
  21  1.33107e-05
  22  0.71055
  23  1.89123e-06
  24  0.358255
  25  0.159801
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  2.874e+01  1.081e+01  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:  1.023e+00  1.598e-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:  7.000e-01  3.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.86
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 6.75e-08
Energy Flux (Fixed Index): 7.65e-05 +/- 2.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) = 7261.56964016
delta logL = 0.235376963307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7261.56812242
delta logL = 0.236894696678

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.482       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4223       1.0000          .0000       5.0000    
     3 'Normalizat'    .65595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0359       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=   7261.568     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      298 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.484        10.897        .77847E-04   -.16167E-03
   2  alpha         2.4222        .36255        .94876E-02    .18574E-03
   3  Normalizat    .65619        .34542        .53778E-03   -.77541E-04
   4  Prefactor     1.0358        .15919        .20199E-03   -.30000E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.4837
  alpha      = 2.42222
  Normalizat = 0.656189
  Prefactor  = 1.03579
 **********
 **   18 **HESSE 
 **********

 FCN=   7261.568     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.484        10.757        .31139E-05   -1.4678    
   2  alpha         2.4222        .35775        .18975E-02   -.31119E-01
   3  Normalizat    .65619        .34543        .21511E-04   -1.0565    
   4  Prefactor     1.0358        .15920        .40397E-04   -.91546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65068e-11
Minuit parameter uncertainties:
  1  10.7582
  2  0.358985
  3  0.346581
  4  0.159276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250890': 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) = 7261.56812216
delta logL = 0.236894965972

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  2.648e+01  1.076e+01  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.422e+00  3.590e-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:  1.036e+00  1.593e-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:  6.562e-01  3.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.21
Ra Dec: 334.813 18.103
Photon Index (Free Index): 2.42 +/- 0.36
Photon Flux (Free Index): 2.23e-07 +/- 1.01e-07
Energy Flux (Free Index): 7.10e-05 +/- 2.63e-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/250890/cmap_HighResolution_448502401_448761601_4FGL_J2219.2+1806_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='7.10e-05', photon_flux_error='6.75e-08', dlogl='2.37e-01', energy_flux='7.65e-05', photon_flux2='2.23e-07', job_status='DONE', time_completed='2021-09-28 08:52:47.817958', photon_index_error2='0.36', photon_index2='2.42', ts='17.86', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.63e-05', EG='0.70', time_epoch_completed='1632844367.82', return_code='0', job_id='250890', GAL2='1.04', EG2='0.66', return_code2='0', energy_flux_error='2.87e-05', photon_flux_error2='1.01e-07', ts2='18.21', photon_index='2.18' WHERE bin_id='807' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 08:52:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 250890: <4FGL_J2219.2+1806_daily_bin807> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin807> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 08:40:18 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 08:40:19 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:40:19 2021
Terminated at Tue Sep 28 08:52:48 2021
Results reported at Tue Sep 28 08:52:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin807 334.813 18.1026 448502401 448761601 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 :                                   733.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             333.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            750 sec.

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

