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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1500
RA = 334.823, Dec = -3.7102
tmin = 628128001, tmax = 628387201
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='262730', job_status='RUN', time_executed='2021-09-28 09:23:36.224920', time_epoch_executed='1632846216.22' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/262730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/262730/ft1_4FGL_J2219.2-0342_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/262730/ft1_4FGL_J2219.2-0342_daily_bin1500.fits outfile=/scratch/kocevski/262730/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1500.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=628128001.0 tmax=628387201.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.19
user 4.95
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.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/262730/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1500.fits evtable="EVENTS" outfile="/scratch/kocevski/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.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/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/262730/ltcube_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.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/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits
.....................!
real 13.75
user 13.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/262730/ltcube_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits outfile=/scratch/kocevski/262730/expmap_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.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/262730/ltcube_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits
.....................!
real 193.20
user 188.04
sys 4.59

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/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits outfile=/scratch/kocevski/262730/cmap_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits outfile=/scratch/kocevski/262730/cmap_HighResolution_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/262730/Model_4FGL_J2219.2-0342_daily_bin1500.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/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits.....................!
real 53.24
user 51.84
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits', '/scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits', expMap='/scratch/kocevski/262730/expmap_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits', expCube='/scratch/kocevski/262730/ltcube_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/262730/Model_4FGL_J2219.2-0342_daily_bin1500.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/262730/ft1_filtered_4FGL_J2219.2-0342_daily_bin1500.fits
Spacecraft file(s): /scratch/kocevski/262730/ft2_4FGL_J2219.2-0342_daily_bin1500.fits
Exposure map: /scratch/kocevski/262730/expmap_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits
Exposure cube: /scratch/kocevski/262730/ltcube_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/262730/Model_4FGL_J2219.2-0342_daily_bin1500.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5129.69670425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10706E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    103.52       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .44574E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.470       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7802       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.857       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6685       1.0000         .10000E-03   10000.    
    10 'Prefactor '    59.922       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7677       1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.951       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2216       1.0000         .10000E-03   10000.    
    17 'Prefactor '    66.066       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0649       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24312E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.7484       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    28.668       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78965       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0201       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=   5129.653     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2919 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3977       -.84948E-06** at limit **
   2  Prefactor     103.54        51.287        .84070E-06    .29564E-03
   3  Prefactor     .10414E-03    90.252       -.98805E-05** at limit **
   4  Prefactor     .10000E-03    11.676        .63539E-07** at limit **
   5  Prefactor     .10000E-03    1.8249        .41257E-07** at limit **
   6  Prefactor     10.470        8.2739        .53279E-06    .12899E-03
   7  Prefactor     1.7830        28.514        .14772E-04    .86626E-05
   8  Prefactor     40.857        27.608       -.11372E-05   -.26099E-04
   9  Prefactor     7.6698        14.030        .84620E-06    .68670E-04
  10  Prefactor     59.922        30.422       -.15912E-05    .25043E-04
  11  Prefactor     .10000E-03    21.106       -.84911E-06** at limit **
  12  Prefactor     .10000E-03    12.712        .13218E-06** at limit **
  13  Prefactor     7.7684        11.503        .99671E-06    .27890E-04
  14  Prefactor     64.946        101.57        .92688E-06    .30180E-04
  15  Prefactor     .10000E-03    1.2945       -.18295E-07** at limit **
  16  norm          1.2223        4.6677        .10842E-06   -.70110E-04
  17  Prefactor     66.068        76.479        .19504E-06    .19779E-04
  18  norm          2.0650        1.6639        .35668E-07    .27308E-03
  19  Prefactor     .10027E-03    34.415        .32688E-06** at limit **
  20  norm          6.7468        3.0100        .26849E-06    .13978E-02
  21  Prefactor     .10000E-03    5.3253       -.85928E-08** at limit **
  22  norm          28.669        17.455       -.13548E-05   -.70671E-04
  23  Normalizat    .78960        .26218        .37372E-07    .40183E-03
  24  Prefactor     1.0201        .14817       -.62202E-07    .73631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 103.54
  Prefactor  = 0.000104137
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4705
  Prefactor  = 1.78295
  Prefactor  = 40.8573
  Prefactor  = 7.66978
  Prefactor  = 59.9223
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.76841
  Prefactor  = 64.9461
  Prefactor  = 0.0001
  norm       = 1.22226
  Prefactor  = 66.0684
  norm       = 2.06496
  Prefactor  = 0.000100271
  norm       = 6.74681
  Prefactor  = 0.0001
  norm       = 28.6686
  Normalizat = 0.789603
  Prefactor  = 1.02011
 **********
 **   18 **HESSE 
 **********

 FCN=   5129.653     FROM HESSE     STATUS=OK           415 CALLS     3334 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9689        .20919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     103.54        50.843        .39520E-04   -1.3669    
   3  Prefactor     .10414E-03    66.490        .15873       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8258        .94488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.470        8.2618        .12382E-03   -1.5061    
   7  Prefactor     1.7830        28.893        .15684E-02   -1.5441    
   8  Prefactor     40.857        27.642        .62712E-04   -1.4429    
   9  Prefactor     7.6698        13.994        .14481E-03   -1.5154    
  10  Prefactor     59.922        30.503        .51831E-04   -1.4158    
  11  Prefactor     .10000E-03    21.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.7684        11.503        .71938E-03   -1.5150    
  14  Prefactor     64.946        100.86        .49796E-04   -1.4094    
  15  Prefactor     .10000E-03    1.2967        .79544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2223        4.6211        .27168E-03   -1.5487    
  17  Prefactor     66.068        76.276        .49377E-04   -1.4081    
  18  norm          2.0650        1.6552        .79331E-04   -1.5421    
  19  Prefactor     .10027E-03    42.841        .10303       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.7468        3.1505        .68253E-04   -1.5188    
  21  Prefactor     .10000E-03    5.3283        .16142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          28.669        17.451        .74826E-04   -1.4637    
  23  Normalizat    .78960        .30067        .35421E-03   -1.0046    
  24  Prefactor     1.0201        .17161        .19137E-03   -.92062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48554e-09
Minuit parameter uncertainties:
  1  6.17582e-07
  2  50.8645
  3  0.0332057
  4  7.22789e-06
  5  1.99514e-06
  6  8.26273
  7  14.3625
  8  27.6504
  9  13.9995
  10  30.5112
  11  0.000243219
  12  3.61624e-05
  13  11.5062
  14  101.131
  15  1.73796e-06
  16  4.62241
  17  76.3893
  18  1.65527
  19  0.00682203
  20  3.1506
  21  4.14172e-06
  22  17.454
  23  0.301306
  24  0.171701
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  7.768e+00  1.151e+01  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:  1.020e+00  1.717e-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:  7.896e-01  3.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 1.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/262730/likelihoodResults_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.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) = 5129.6393842
delta logL = 0.0136449132697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5129.62878941
delta logL = 0.0242397032835

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5928       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1318       1.0000          .0000       10.000    
     3 'Normalizat'    .77583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0272       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5129.629     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      254 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5824        510.06        .84937E-03   -.33717E-03
   2  Index         3.1331        8.0390        .13167E-01   -.44524E-04
   3  Normalizat    .77574        .43925        .35713E-03    .48641E-04
   4  Prefactor     1.0272        .28135        .19079E-03    .31588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.58244
  Index      = 3.13306
  Normalizat = 0.775738
  Prefactor  = 1.02722
 **********
 **   18 **HESSE 
 **********

 FCN=   5129.629     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5824        16.288        .33975E-04   -1.5235    
   2  Index         3.1331        2.4997        .52667E-03   -.38266    
   3  Normalizat    .77574        .29017        .14285E-04   -1.0098    
   4  Prefactor     1.0272        .17495        .38158E-04   -.91828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66375e-10
Minuit parameter uncertainties:
  1  16.3011
  2  2.63995
  3  0.290748
  4  0.175047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/262730': 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) = 5129.62878891
delta logL = 0.0242401994537

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.582e+00  1.630e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  3.133e+00  2.640e+00  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:  1.027e+00  1.750e-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:  7.757e-01  2.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 334.823 -3.710

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/262730/cmap_HighResolution_628128001_628387201_4FGL_J2219.2-0342_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.56e-07', time_completed='2021-09-28 09:33:53.923410', job_id='262730', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.79', time_epoch_completed='1632846833.92', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.42e-02', ts2='0.62', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1500' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:33:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 262730: <4FGL_J2219.2-0342_daily_bin1500> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1500> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 09:20:18 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 09:20: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 09:20:19 2021
Terminated at Tue Sep 28 09:33:54 2021
Results reported at Tue Sep 28 09:33:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1500 334.823 -3.7102 628128001 628387201 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 :                                   614.13 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             286.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            816 sec.

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

