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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1121
RA = 334.823, Dec = -3.7102
tmin = 529891201, tmax = 530150401
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='261159', job_status='RUN', time_executed='2021-09-28 09:15:27.250562', time_epoch_executed='1632845727.25' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261159

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261159/ft1_4FGL_J2219.2-0342_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261159/ft1_4FGL_J2219.2-0342_daily_bin1121.fits outfile=/scratch/kocevski/261159/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1121.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=529891201.0 tmax=530150401.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.53
user 3.30
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.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/261159/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.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/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/261159/ltcube_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.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/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits
.....................!
real 11.87
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/261159/ltcube_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits outfile=/scratch/kocevski/261159/expmap_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.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/261159/ltcube_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits
.....................!
real 191.52
user 186.08
sys 5.10

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

Setting source of interest to:
4FGL J2219.2-0342 @ 334.823 -3.7102

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits outfile=/scratch/kocevski/261159/cmap_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.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.823 yref=-3.7102 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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits outfile=/scratch/kocevski/261159/cmap_HighResolution_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.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.823 yref=-3.7102 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.57
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261159/Model_4FGL_J2219.2-0342_daily_bin1121.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/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits.....................!
real 81.58
user 80.24
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits', '/scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits', expMap='/scratch/kocevski/261159/expmap_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits', expCube='/scratch/kocevski/261159/ltcube_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261159/Model_4FGL_J2219.2-0342_daily_bin1121.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2-0342'

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.492e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/261159/ft1_filtered_4FGL_J2219.2-0342_daily_bin1121.fits
Spacecraft file(s): /scratch/kocevski/261159/ft2_4FGL_J2219.2-0342_daily_bin1121.fits
Exposure map: /scratch/kocevski/261159/expmap_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits
Exposure cube: /scratch/kocevski/261159/ltcube_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261159/Model_4FGL_J2219.2-0342_daily_bin1121.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) = 9097.37323846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.964       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5505       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .99223       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.9300       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .80149       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.403       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.974       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.962       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6103       1.0000         .10000E-03   10000.    
    16 'norm      '    .30362       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .88745       1.0000         .10000E-03   10000.    
    19 'Prefactor '    108.16       1.0000         .10000E-03   10000.    
    20 'norm      '    14.625       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0895       1.0000         .10000E-03   10000.    
    22 'norm      '    11.070       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97309       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9097.341     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2719 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.963        3.4824       -.22831E-07   -.26135E-03
   2  Prefactor     .10000E-03    38.656       -.64676E-07** at limit **
   3  Prefactor     9.5390        21.875        .17849E-06   -.21023E-04
   4  Prefactor     .10000E-03    18.826       -.52018E-06** at limit **
   5  Prefactor     .99586        6.3956        .58892E-05    .37203E-03
   6  Prefactor     .10000E-03    2.1999        .10349E-06** at limit **
   7  Prefactor     .10000E-03    3.0603        .12306E-07** at limit **
   8  Prefactor     9.9193        18.736       -.45961E-06   -.12034E-03
   9  Prefactor     .10000E-03    4.0675        .84694E-08** at limit **
  10  Prefactor     .81098        9.7638        .34606E-05   -.71358E-03
  11  Prefactor     21.402        10.699        .14747E-06   -.54829E-04
  12  Prefactor     .10000E-03    61.317        .63264E-06** at limit **
  13  Prefactor     17.973        9.5336        .10529E-07   -.16855E-03
  14  Prefactor     43.907        47.061       -.78695E-06   -.24516E-03
  15  Prefactor     2.6107        2.8978        .25761E-06   -.99293E-05
  16  norm          .31529        1.2860        .66899E-06   -.76319E-03
  17  Prefactor     .10000E-03    23.085       -.42061E-07** at limit **
  18  norm          .88685        .78368        .24411E-07   -.71551E-04
  19  Prefactor     108.16        55.240        .30383E-06   -.21670E-04
  20  norm          14.625        4.8058       -.39096E-07   -.10204E-03
  21  Prefactor     3.0899        6.7178        .70848E-06    .14305E-03
  22  norm          11.070        9.6768        .16329E-06   -.13240E-04
  23  Normalizat    .97334        .18269       -.12798E-06   -.42723E-03
  24  Prefactor     .85066        .10708       -.71998E-06   -.52549E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9631
  Prefactor  = 0.0001
  Prefactor  = 9.53898
  Prefactor  = 0.0001
  Prefactor  = 0.995861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.91932
  Prefactor  = 0.0001
  Prefactor  = 0.810982
  Prefactor  = 21.4023
  Prefactor  = 0.0001
  Prefactor  = 17.9735
  Prefactor  = 43.9068
  Prefactor  = 2.61066
  norm       = 0.315294
  Prefactor  = 0.0001
  norm       = 0.886852
  Prefactor  = 108.165
  norm       = 14.6254
  Prefactor  = 3.08985
  norm       = 11.0702
  Normalizat = 0.973338
  Prefactor  = 0.850657
 **********
 **   18 **HESSE 
 **********

 FCN=   9097.341     FROM HESSE     STATUS=OK           407 CALLS     3126 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.963        3.4837        .85280E-04   -1.4960    
   2  Prefactor     .10000E-03    38.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.5390        21.868        .12967E-03   -1.5090    
   4  Prefactor     .10000E-03    18.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .99586        6.7168        .47103E-03   -1.5508    
   6  Prefactor     .10000E-03    2.2240        .13811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0726        .16293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.9193        18.728        .12716E-03   -1.5078    
   9  Prefactor     .10000E-03    4.0738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81098        28.933        .47716E-02   -1.5528    
  11  Prefactor     21.402        10.757        .86577E-04   -1.4782    
  12  Prefactor     .10000E-03    62.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.973        9.5099        .94472E-04   -1.4860    
  14  Prefactor     43.907        46.838        .60465E-04   -1.4382    
  15  Prefactor     2.6107        2.8777        .15864E-03   -1.5385    
  16  norm          .31529        4.6457        .19460E-02   -1.5596    
  17  Prefactor     .10000E-03    23.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .88685        .74615        .76424E-03   -1.5520    
  19  Prefactor     108.16        57.624        .38671E-04   -1.3624    
  20  norm          14.625        5.0101        .64001E-04   -1.4943    
  21  Prefactor     3.0899        6.7044        .23073E-03   -1.5356    
  22  norm          11.070        9.6808        .12041E-03   -1.5042    
  23  Normalizat    .97334        .21572        .31372E-03   -.93929    
  24  Prefactor     .85066        .12654        .20361E-03   -.97887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67192e-09
Minuit parameter uncertainties:
  1  3.4837
  2  3.70922e-05
  3  21.8862
  4  9.80195e-05
  5  5.1732
  6  5.39212e-06
  7  3.41093e-06
  8  18.7394
  9  1.0235e-05
  10  9.69237
  11  10.7582
  12  0.000212105
  13  9.51071
  14  46.8769
  15  2.8778
  16  2.4204
  17  3.6708e-05
  18  0.746156
  19  57.6534
  20  5.01026
  21  6.70604
  22  9.68216
  23  0.215913
  24  0.126579
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.797e+01  9.511e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  8.507e-01  1.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  9.733e-01  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.24
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 8.28e-08 +/- 4.38e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.07e-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) = 9096.51829992
delta logL = 0.822632814878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9096.45617273
delta logL = 0.884760003741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.125       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1099       1.0000          .0000       10.000    
     3 'Normalizat'    1.0078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9096.456     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      214 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.125        13.973        .21786E-02    .20129E-02
   2  Index         2.1099        .41611        .19927       -.33900E-04
   3  Normalizat    1.0078        .17268        .69831E-01    .60338E-03
   4  Prefactor     .83634        .10568        .44188E-01    .95372E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1249
  Index      = 2.10987
  Normalizat = 1.00781
  Prefactor  = 0.836337
 **********
 **   18 **HESSE 
 **********

 FCN=   9096.456     FROM HESSE     STATUS=OK            27 CALLS      241 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.125        11.558        .87145E-04   -1.4788    
   2  Index         2.1099        .40032        .75555E-02   -.61631    
   3  Normalizat    1.0078        .20364        .30892E-03   -.92769    
   4  Prefactor     .83634        .12421        .20507E-03   -.98402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51704e-09
Minuit parameter uncertainties:
  1  11.5595
  2  0.400962
  3  0.203796
  4  0.124251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261159': 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) = 9096.45617272
delta logL = 0.88476002117

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  2.112e+01  1.156e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.110e+00  4.010e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  8.363e-01  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.008e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.95
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.11 +/- 0.40
Photon Flux (Free Index): 5.83e-08 +/- 3.94e-08
Energy Flux (Free Index): 3.13e-05 +/- 2.15e-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/261159/cmap_HighResolution_529891201_530150401_4FGL_J2219.2-0342_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.28e-08', energy_flux2='3.13e-05', photon_flux_error='4.38e-08', dlogl='8.85e-01', energy_flux='2.02e-05', photon_flux2='5.83e-08', job_status='DONE', time_completed='2021-09-28 09:27:34.488824', photon_index_error2='0.40', photon_index2='2.11', ts='6.24', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='2.15e-05', EG='0.97', time_epoch_completed='1632846454.49', return_code='0', job_id='261159', GAL2='0.84', EG2='1.01', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='3.94e-08', ts2='7.95', photon_index='2.68' WHERE bin_id='1121' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:27:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 261159: <4FGL_J2219.2-0342_daily_bin1121> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1121> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 09:15:18 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 09:15:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 09:15:20 2021
Terminated at Tue Sep 28 09:27:35 2021
Results reported at Tue Sep 28 09:27:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1121 334.823 -3.7102 529891201 530150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2-0342 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   726.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             346.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            737 sec.

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

