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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1326
RA = 334.813, Dec = 18.1026
tmin = 583027201, tmax = 583286401
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='253838', job_status='RUN', time_executed='2021-09-28 08:53:12.782385', time_epoch_executed='1632844392.78' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253838

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253838/ft1_4FGL_J2219.2+1806_daily_bin1326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253838/ft2_4FGL_J2219.2+1806_daily_bin1326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253838/ft1_4FGL_J2219.2+1806_daily_bin1326.fits outfile=/scratch/kocevski/253838/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1326.fits ra=334.813 dec=18.1026 rad=12.0 tmin=583027201.0 tmax=583286401.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.57
user 3.35
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253838/ft2_4FGL_J2219.2+1806_daily_bin1326.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/253838/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1326.fits evtable="EVENTS" outfile="/scratch/kocevski/253838/ft1_filtered_4FGL_J2219.2+1806_daily_bin1326.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253838/ft1_filtered_4FGL_J2219.2+1806_daily_bin1326.fits evtable="EVENTS" scfile=/scratch/kocevski/253838/ft2_4FGL_J2219.2+1806_daily_bin1326.fits sctable="SC_DATA" expcube=/scratch/kocevski/253838/ltcube_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.fits outfile=/scratch/kocevski/253838/expmap_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.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/253838/ltcube_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.fits
.....................!
real 190.10
user 185.11
sys 4.62

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/253838/ft1_filtered_4FGL_J2219.2+1806_daily_bin1326.fits scfile=/scratch/kocevski/253838/ft2_4FGL_J2219.2+1806_daily_bin1326.fits outfile=/scratch/kocevski/253838/cmap_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.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/253838/ft1_filtered_4FGL_J2219.2+1806_daily_bin1326.fits scfile=/scratch/kocevski/253838/ft2_4FGL_J2219.2+1806_daily_bin1326.fits outfile=/scratch/kocevski/253838/cmap_HighResolution_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    75.198       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5766       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10083       1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.855       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.580       1.0000         .10000E-03   10000.    
     8 'norm      '    .12192       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0249       1.0000         .10000E-03   10000.    
    11 'norm      '    5.5738       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.894       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2278       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74190       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2646       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    120.60       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.6473       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.1481       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79641       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0625       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9751.254     FROM MIGRAD    STATUS=CONVERGED     77 CALLS     2450 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6397       -.22293E-06** at limit **
   2  Prefactor     75.200        1.2561        .56679E-06   -.38658E-02
   3  norm          2.5768        1.9891       -.97093E-09   -.55130E-04
   4  Prefactor     .10014E-03    12.217        .25943E-04** at limit **
   5  norm          .10528        .36591       -.27136E-05   -.37074E-03
   6  Prefactor     44.855        1.0059        .99023E-07   -.29249E-03
   7  Prefactor     12.581        1.0400        .50208E-06   -.41970E-03
   8  norm          .12220        .45134       -.22473E-06    .52548E-03
   9  Prefactor     .10000E-03    32.016       -.43209E-04** at limit **
  10  Prefactor     4.0255        1.0093        .97208E-07    .33697E-04
  11  norm          5.5739        3.8755        .27869E-05    .26140E-04
  12  Prefactor     24.894        1.0009        .46905E-07   -.15768E-03
  13  Prefactor     .10006E-03    11.662        .28578E-04** at limit **
  14  Prefactor     4.2279        1.0243        .60216E-06    .24670E-03
  15  Prefactor     .74190        .22859        .11512E-08   -.51939E-02
  16  Prefactor     .10000E-03    6.2511       -.12558E-05** at limit **
  17  norm          2.2647        1.0137        .17781E-07   -.11668E-03
  18  norm          .10000E-03    .55341        .13435E-06** at limit **
  19  Prefactor     .10001E-03    15.114       -.28312E-04** at limit **
  20  Prefactor     120.60        1.0025        .38108E-07   -.88180E-04
  21  Prefactor     .10000E-03    9.3401        .30515E-05** at limit **
  22  Prefactor     1.6473        .22657        .54224E-07    .99800E-02
  23  Prefactor     7.1489        1.0035       -.49689E-07    .42993E-04
  24  Normalizat    .79653        .25660       -.12164E-05    .87274E-04
  25  Prefactor     1.0625        .12933        .39173E-06    .88525E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 75.2002
  norm       = 2.57677
  Prefactor  = 0.000100142
  norm       = 0.105283
  Prefactor  = 44.8552
  Prefactor  = 12.5809
  norm       = 0.122204
  Prefactor  = 0.000100003
  Prefactor  = 4.02553
  norm       = 5.57388
  Prefactor  = 24.8942
  Prefactor  = 0.000100058
  Prefactor  = 4.22788
  Prefactor  = 0.741903
  Prefactor  = 0.000100001
  norm       = 2.26466
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 120.596
  Prefactor  = 0.000100001
  Prefactor  = 1.64732
  Prefactor  = 7.14891
  Normalizat = 0.796534
  Prefactor  = 1.06246
 **********
 **   18 **HESSE 
 **********

 FCN=   9751.254     FROM HESSE     STATUS=OK           487 CALLS     2937 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6237        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     75.200        109.74        .11576E-02   -1.3971    
   3  norm          2.5768        2.0423        .63566E-02   -1.5387    
   4  Prefactor     .10014E-03    24.210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10528        1.0535        .58122E-01   -1.5643    
   6  Prefactor     44.855        27.988        .14966E-02   -1.4367    
   7  Prefactor     12.581        22.089        .28235E-02   -1.4998    
   8  norm          .12220        .37752        .29327E-01   -1.5638    
   9  Prefactor     .10000E-03    33.391        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.0255        9.1499        .50251E-02   -1.5307    
  11  norm          5.5739        3.8841        .42542E-02   -1.5236    
  12  Prefactor     24.894        17.460        .20072E-02   -1.4710    
  13  Prefactor     .10006E-03    20.273        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2279        7.5545        .48994E-02   -1.5297    
  15  Prefactor     .74190        .23881        .56224E-02   -1.5536    
  16  Prefactor     .10000E-03    6.1660        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2647        1.0146        .68236E-03   -1.5407    
  18  norm          .10000E-03    .54871        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    15.526        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     120.60        20.865        .91616E-03   -1.3507    
  21  Prefactor     .10000E-03    9.3799        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.6473        .22748        .37428E-02   -1.5451    
  23  Prefactor     7.1489        11.558        .37509E-02   -1.5173    
  24  Normalizat    .79653        .24187        .97804E-01   -1.0020    
  25  Prefactor     1.0625        .11530        .39225E-01   -.90676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52876e-07
Minuit parameter uncertainties:
  1  4.74922e-05
  2  110.034
  3  2.04238
  4  0.00371158
  5  0.665782
  6  27.9964
  7  22.1037
  8  0.377524
  9  0.000649667
  10  9.15307
  11  3.8843
  12  17.4635
  13  0.00216364
  14  7.55618
  15  0.238807
  16  0.000113693
  17  1.01458
  18  3.30796e-06
  19  0.000690907
  20  20.8661
  21  0.000166712
  22  0.227477
  23  11.5621
  24  0.242193
  25  0.115328
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  5.574e+00  3.884e+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:  1.062e+00  1.153e-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.965e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.03e-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) = 9750.88834133
delta logL = 0.366037732329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9750.87693133
delta logL = 0.377447726138

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9840       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6192       1.0000          .0000       5.0000    
     3 'Normalizat'    .81629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0578       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.

 FCN=   9750.877     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9826        3.7449        .45034E-02   -.13956E-03
   2  alpha         1.6188        .46779        .44963       -.39037E-04
   3  Normalizat    .81629        .22066        .96698E-01    .65061E-04
   4  Prefactor     1.0578        .11356        .39472E-01    .49918E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.98256
  alpha      = 1.61882
  Normalizat = 0.816294
  Prefactor  = 1.05781
 **********
 **   18 **HESSE 
 **********

 FCN=   9750.877     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9826        4.1151        .15613E-03   -1.5261    
   2  alpha         1.6188        .61809        .18661E-01   -.36021    
   3  Normalizat    .81629        .24894        .42844E-03   -.99467    
   4  Prefactor     1.0578        .12861        .19550E-03   -.90827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74476e-09
Minuit parameter uncertainties:
  1  4.1153
  2  0.625515
  3  0.249286
  4  0.128649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253838': 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) = 9750.8769311
delta logL = 0.377447961824

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  4.983e+00  4.115e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  1.619e+00  6.255e-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.058e+00  1.286e-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:  8.163e-01  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.00
Ra Dec: 334.813 18.103
Photon Index (Free Index): 1.62 +/- 0.63
Photon Flux (Free Index): 1.87e-08 +/- 1.98e-08
Energy Flux (Free Index): 2.34e-05 +/- 2.46e-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/253838/cmap_HighResolution_583027201_583286401_4FGL_J2219.2+1806_daily_bin1326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='2.34e-05', photon_flux_error='2.43e-08', dlogl='3.77e-01', energy_flux='1.48e-05', photon_flux2='1.87e-08', job_status='DONE', time_completed='2021-09-28 09:05:36.323070', photon_index_error2='0.63', photon_index2='1.62', ts='6.26', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.46e-05', EG='0.80', time_epoch_completed='1632845136.32', return_code='0', job_id='253838', GAL2='1.06', EG2='0.82', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='1.98e-08', ts2='7.00', photon_index='2.18' WHERE bin_id='1326' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:05:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 253838: <4FGL_J2219.2+1806_daily_bin1326> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1326 334.813 18.1026 583027201 583286401 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 :                                   741.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            900 sec.

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

