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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1275
RA = 334.813, Dec = 18.1026
tmin = 569808001, tmax = 570067201
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='253759', job_status='RUN', time_executed='2021-09-28 08:52:48.726400', time_epoch_executed='1632844368.73' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253759

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253759/ft1_4FGL_J2219.2+1806_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253759/ft2_4FGL_J2219.2+1806_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253759/ft1_4FGL_J2219.2+1806_daily_bin1275.fits outfile=/scratch/kocevski/253759/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1275.fits ra=334.813 dec=18.1026 rad=12.0 tmin=569808001.0 tmax=570067201.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.63
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253759/ft2_4FGL_J2219.2+1806_daily_bin1275.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/253759/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1275.fits evtable="EVENTS" outfile="/scratch/kocevski/253759/ft1_filtered_4FGL_J2219.2+1806_daily_bin1275.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.53
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253759/ft1_filtered_4FGL_J2219.2+1806_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/253759/ft2_4FGL_J2219.2+1806_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/253759/ltcube_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.fits outfile=/scratch/kocevski/253759/expmap_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.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/253759/ltcube_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.fits
.....................!
real 190.06
user 184.94
sys 4.75

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/253759/ft1_filtered_4FGL_J2219.2+1806_daily_bin1275.fits scfile=/scratch/kocevski/253759/ft2_4FGL_J2219.2+1806_daily_bin1275.fits outfile=/scratch/kocevski/253759/cmap_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253759/ft1_filtered_4FGL_J2219.2+1806_daily_bin1275.fits scfile=/scratch/kocevski/253759/ft2_4FGL_J2219.2+1806_daily_bin1275.fits outfile=/scratch/kocevski/253759/cmap_HighResolution_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27372E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.8457       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.4743       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.466       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6695       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7446       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.487       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.181       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .69563       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36663       1.0000         .10000E-03   10000.    
    18 'norm      '    .26322       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2474       1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.886       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .76991       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5704       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .66510       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=   8134.260     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2571 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    5.1358        .54172E-06** at limit **
   2  Prefactor     .10000E-03    41.185       -.10595E-05** at limit **
   3  norm          5.8455        2.6476        .55447E-07   -.82198E-04
   4  Prefactor     .10000E-03    43.351        .83841E-06** at limit **
   5  norm          4.4745        3.0986        .49967E-06    .11433E-04
   6  Prefactor     .10000E-03    18.044        .24828E-06** at limit **
   7  Prefactor     .10000E-03    19.652       -.39463E-07** at limit **
   8  norm          .10000E-03    .28425        .12218E-07** at limit **
   9  Prefactor     10.470        37.247       -.64828E-06   -.13662E-05
  10  Prefactor     9.6709        16.570       -.31170E-07   -.30720E-05
  11  norm          3.7450        4.4503        .16412E-05    .63988E-04
  12  Prefactor     2.4045        6.1167        .19160E-06    .38027E-05
  13  Prefactor     33.455        46.879        .51567E-05    .62582E-05
  14  Prefactor     13.183        12.717       -.85791E-07    .85864E-05
  15  Prefactor     .69569        .22606        .53246E-08    .24248E-06
  16  Prefactor     .10000E-03    8.4596        .66261E-08** at limit **
  17  norm          .36726        .94654        .10129E-06   -.79481E-04
  18  norm          .26573        1.2854       -.28785E-06    .20021E-03
  19  Prefactor     3.2474        15.208        .19288E-06    .14159E-05
  20  Prefactor     48.885        18.717        .15402E-06    .69588E-04
  21  Prefactor     .10000E-03    7.4349       -.29615E-07** at limit **
  22  Prefactor     .76994        .18735        .83559E-08    .12584E-03
  23  Prefactor     .10000E-03    15.567       -.25726E-06** at limit **
  24  Normalizat    1.5702        .23280       -.57767E-06    .22704E-04
  25  Prefactor     .66517        .10777       -.14957E-06   -.46169E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  norm       = 5.84547
  Prefactor  = 0.0001
  norm       = 4.47455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.4696
  Prefactor  = 9.67088
  norm       = 3.74498
  Prefactor  = 2.40453
  Prefactor  = 33.4554
  Prefactor  = 13.1825
  Prefactor  = 0.695695
  Prefactor  = 0.0001
  norm       = 0.367256
  norm       = 0.265726
  Prefactor  = 3.24738
  Prefactor  = 48.8852
  Prefactor  = 0.0001
  Prefactor  = 0.769939
  Prefactor  = 0.0001
  Normalizat = 1.57024
  Prefactor  = 0.665169
 **********
 **   18 **HESSE 
 **********

 FCN=   8134.260     FROM HESSE     STATUS=OK           439 CALLS     3010 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    49.822        .38998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    41.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.8455        2.6402        .93602E-04   -1.5224    
   4  Prefactor     .10000E-03    43.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.4745        3.0995        .63632E-03   -1.5285    
   6  Prefactor     .10000E-03    18.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .29430        .93812E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.470        37.324        .12385E-03   -1.5061    
  10  Prefactor     9.6709        16.567        .12887E-03   -1.5086    
  11  norm          3.7450        4.4601        .10020E-02   -1.5321    
  12  Prefactor     2.4045        6.0843        .26405E-03   -1.5398    
  13  Prefactor     33.455        46.888        .34623E-03   -1.4551    
  14  Prefactor     13.183        12.766        .11033E-03   -1.4982    
  15  Prefactor     .69569        .22533        .23161E-04   -1.5541    
  16  Prefactor     .10000E-03    8.7176        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .36726        .95028        .13482E-03   -1.5587    
  18  norm          .26573        5.1224        .18219E-02   -1.5605    
  19  Prefactor     3.2474        15.171        .22475E-03   -1.5348    
  20  Prefactor     48.885        18.754        .57353E-04   -1.4308    
  21  Prefactor     .10000E-03    7.4401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .76994        .18736        .18291E-04   -1.5532    
  23  Prefactor     .10000E-03    16.127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.5702        .27724        .30566E-03   -.75823    
  25  Prefactor     .66517        .12793        .21640E-03   -1.0491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43466e-10
Minuit parameter uncertainties:
  1  0.00213296
  2  5.3187e-06
  3  2.64026
  4  3.025e-06
  5  3.09958
  6  2.54571e-06
  7  3.79972e-07
  8  6.44326e-08
  9  37.4071
  10  16.5748
  11  4.46051
  12  6.08582
  13  46.9397
  14  12.7684
  15  0.225327
  16  2.97811e-06
  17  0.950319
  18  2.33317
  19  14.0436
  20  18.7558
  21  2.26506e-07
  22  0.187358
  23  1.05433e-05
  24  0.277513
  25  0.127987
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.745e+00  4.461e+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:  6.652e-01  1.280e-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.570e+00  2.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 9.96e-06 +/- 1.19e-05

TS (Fixed Index): 1.04
Ra Dec: 334.813 18.103
Photon Flux Upper Limit: 9.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253759/likelihoodResults_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.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) = 8134.25125018
delta logL = 0.0085222501948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8134.25072471
delta logL = 0.00904771352816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6237       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2946       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66617       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=   8134.251     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      252 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6232        4.5506        .19477E-03   -.65373E-05
   2  alpha         2.2947        .88245        .24640E-01    .68022E-05
   3  Normalizat    1.5668        .25945        .30594E-03    .64176E-04
   4  Prefactor     .66622        .12563        .21625E-03    .14100E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.62316
  alpha      = 2.29465
  Normalizat = 1.56679
  Prefactor  = 0.666216
 **********
 **   18 **HESSE 
 **********

 FCN=   8134.251     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6232        4.4537        .77909E-05   -1.5327    
   2  alpha         2.2947        .86422        .98562E-03   -.82231E-01
   3  Normalizat    1.5668        .25960        .12237E-04   -.75919    
   4  Prefactor     .66622        .12570        .86499E-05   -1.0487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72957e-11
Minuit parameter uncertainties:
  1  4.45406
  2  0.882561
  3  0.259824
  4  0.125755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253759': 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) = 8134.25072464
delta logL = 0.00904778911809

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.623e+00  4.454e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.295e+00  8.826e-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:  6.662e-01  1.258e-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.567e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 334.813 18.103
Photon Index (Free Index): 2.29 +/- 0.88
Photon Flux (Free Index): 2.60e-08 +/- 3.58e-08
Energy Flux (Free Index): 9.52e-06 +/- 1.16e-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/253759/cmap_HighResolution_569808001_570067201_4FGL_J2219.2+1806_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='9.52e-06', photon_flux_error='2.79e-08', dlogl='9.05e-03', energy_flux='9.96e-06', photon_flux2='2.60e-08', job_status='DONE', time_completed='2021-09-28 09:05:30.505122', photon_index_error2='0.88', photon_index2='2.29', ts='1.04', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='9.20e-08', energy_flux_error2='1.16e-05', EG='1.57', time_epoch_completed='1632845130.51', return_code='0', job_id='253759', GAL2='0.67', EG2='1.57', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.58e-08', ts2='1.06', photon_index='2.18' WHERE bin_id='1275' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:05:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 253759: <4FGL_J2219.2+1806_daily_bin1275> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1275> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 08:50:30 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 08:50:31 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:50:31 2021
Terminated at Tue Sep 28 09:05:31 2021
Results reported at Tue Sep 28 09:05:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1275 334.813 18.1026 569808001 570067201 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 :                                   757.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

