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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin920
RA = 334.823, Dec = -3.7102
tmin = 477792001, tmax = 478051201
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='259792', job_status='RUN', time_executed='2021-09-28 09:10:54.293630', time_epoch_executed='1632845454.29' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='920'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259792

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259792/ft1_4FGL_J2219.2-0342_daily_bin920.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259792/ft1_4FGL_J2219.2-0342_daily_bin920.fits outfile=/scratch/kocevski/259792/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin920.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=477792001.0 tmax=478051201.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.65
user 3.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.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/259792/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin920.fits evtable="EVENTS" outfile="/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits" evtable="EVENTS" scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits sctable="SC_DATA" outfile=/scratch/kocevski/259792/ltcube_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.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/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits
.....................!
real 11.72
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits sctable="SC_DATA" expcube=/scratch/kocevski/259792/ltcube_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits outfile=/scratch/kocevski/259792/expmap_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.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/259792/ltcube_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits
.....................!
real 190.29
user 186.14
sys 3.85

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/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits outfile=/scratch/kocevski/259792/cmap_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits outfile=/scratch/kocevski/259792/cmap_HighResolution_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259792/Model_4FGL_J2219.2-0342_daily_bin920.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/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits.....................!
real 65.74
user 64.48
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits', '/scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits', expMap='/scratch/kocevski/259792/expmap_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits', expCube='/scratch/kocevski/259792/ltcube_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259792/Model_4FGL_J2219.2-0342_daily_bin920.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/259792/ft1_filtered_4FGL_J2219.2-0342_daily_bin920.fits
Spacecraft file(s): /scratch/kocevski/259792/ft2_4FGL_J2219.2-0342_daily_bin920.fits
Exposure map: /scratch/kocevski/259792/expmap_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits
Exposure cube: /scratch/kocevski/259792/ltcube_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259792/Model_4FGL_J2219.2-0342_daily_bin920.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) = 6422.94398557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8673       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11092E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2539       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0743       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5489       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.721       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46254       1.0000         .10000E-03   10000.    
    14 'Prefactor '    531.93       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.765       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .26767       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3860       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11146       1.0000         .10000E-03   10000.    
    20 'norm      '    .73461E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4585       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92557       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6422.935     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     2757 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7974        .77706E-07** at limit **
   2  Prefactor     5.8651        1.5465        .17376E-06    .53180E-03
   3  Prefactor     .10003E-03    68.607        .17277E-06** at limit **
   4  Prefactor     .10000E-03    12.944        .36859E-06** at limit **
   5  Prefactor     .10000E-03    2.7988       -.65607E-07** at limit **
   6  Prefactor     1.2608        1.3185        .19737E-06    .40058E-03
   7  Prefactor     31.182        8.9185        .29693E-07    .78711E-02
   8  Prefactor     .10000E-03    5.0976        .15335E-06** at limit **
   9  Prefactor     6.0777        2.3324       -.40522E-07    .26243E-02
  10  Prefactor     .10000E-03    5.1759        .19661E-06** at limit **
  11  Prefactor     2.5554        8.5537       -.23927E-06    .31216E-02
  12  Prefactor     17.748        14.624       -.16125E-05    .64676E-02
  13  Prefactor     .46330        11.148       -.74245E-06   -.44848E-03
  14  Prefactor     531.90        8.4576        .28412E-06    .93831E-02
  15  Prefactor     .10000E-03    2.5817        .31680E-07** at limit **
  16  norm          13.762        6.4744       -.12826E-06   -.80506E-03
  17  Prefactor     .22088        233.42        .23244E-04    .13714E-02
  18  norm          1.3877        1.5549       -.33839E-07    .25716E-03
  19  Prefactor     .15064E-01    6773.9        .10293E-03   -.22825E-03
  20  norm          .10001E-03    36.052       -.20352E-05** at limit **
  21  Prefactor     .10000E-03    12.475       -.65381E-06** at limit **
  22  norm          .10000E-03    4.9540        .24265E-06** at limit **
  23  Normalizat    1.4582        .30071        .44170E-06    .15922E-03
  24  Prefactor     .92558        .17616        .23682E-06    .20009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.86513
  Prefactor  = 0.000100028
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.26081
  Prefactor  = 31.1822
  Prefactor  = 0.0001
  Prefactor  = 6.07774
  Prefactor  = 0.0001
  Prefactor  = 2.55538
  Prefactor  = 17.7483
  Prefactor  = 0.463295
  Prefactor  = 531.901
  Prefactor  = 0.0001
  norm       = 13.762
  Prefactor  = 0.220878
  norm       = 1.38773
  Prefactor  = 0.0150642
  norm       = 0.000100014
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 1.45824
  Prefactor  = 0.925585
 **********
 **   18 **HESSE 
 **********

 FCN=   6422.935     FROM HESSE     STATUS=OK           463 CALLS     3220 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7810        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8651        95.232        .41448E-02   -1.5224    
   3  Prefactor     .10003E-03    68.762        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.974        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.7925        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2608        16.244        .99755E-02   -1.5483    
   7  Prefactor     31.182        14.646        .17940E-02   -1.4591    
   8  Prefactor     .10000E-03    5.1469        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.0777        10.756        .40726E-02   -1.5215    
  10  Prefactor     .10000E-03    5.2005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5554        17.899        .63940E-02   -1.5388    
  12  Prefactor     17.748        30.271        .23786E-02   -1.4865    
  13  Prefactor     .46330        10.724        .11117E-01   -1.5572    
  14  Prefactor     531.90        181.13        .44560E-03   -1.1053    
  15  Prefactor     .10000E-03    2.5422        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.762        6.9116        .26990E-02   -1.4966    
  17  Prefactor     .22088        109.40        .21813       -1.5614    
  18  norm          1.3877        1.5907        .92346E-02   -1.5472    
  19  Prefactor     .15064E-01    11.963        .14195       -1.5683    
  20  norm          .10001E-03    .87967        .43457E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.284        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.9445        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4582        .26099        .70596E-01   -.78959    
  24  Prefactor     .92558        .14729        .45330E-01   -.95253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47102e-06
Minuit parameter uncertainties:
  1  2.08241e-06
  2  47.3562
  3  0.00278961
  4  0.000205698
  5  2.15489e-06
  6  9.05373
  7  14.6479
  8  2.34803e-05
  9  10.7598
  10  9.17503e-06
  11  13.5316
  12  30.2971
  13  4.45849
  14  181.328
  15  1.12897e-06
  16  6.91202
  17  9.84722
  18  1.59077
  19  0.84638
  20  0.0002249
  21  0.000163777
  22  6.30928e-06
  23  0.261235
  24  0.147358
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  4.633e-01  4.458e+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:  9.256e-01  1.474e-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.458e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 8.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259792/likelihoodResults_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.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) = 6422.74380558
delta logL = 0.191432689683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6422.74375629
delta logL = 0.191481972285

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7906       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6004       1.0000          .0000       10.000    
     3 'Normalizat'    1.4649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91865       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=   6422.744     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      253 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8104        5.6863        .60891E-02    .34943E-03
   2  Index         1.6041        .62784        .28756       -.49926E-04
   3  Normalizat    1.4649        .24635        .70458E-01    .28403E-05
   4  Prefactor     .91864        .14632        .45242E-01    .43691E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.81038
  Index      = 1.60411
  Normalizat = 1.46486
  Prefactor  = 0.91864
 **********
 **   18 **HESSE 
 **********

 FCN=   6422.744     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8104        5.5767        .24356E-03   -1.5373    
   2  Index         1.6041        .99411        .12843E-01   -.74664    
   3  Normalizat    1.4649        .29543        .31173E-03   -.78771    
   4  Prefactor     .91864        .17560        .22554E-03   -.95493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68382e-12
Minuit parameter uncertainties:
  1  5.57774
  2  1.00669
  3  0.295778
  4  0.175713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259792': 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) = 6422.74374668
delta logL = 0.191491585792

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  2.810e+00  5.578e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  1.604e+00  1.007e+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:  9.186e-01  1.757e-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.465e+00  2.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/259792/cmap_HighResolution_477792001_478051201_4FGL_J2219.2-0342_daily_bin920.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-09-28 09:22:00.817739', job_id='259792', GAL2='0.92', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1632846120.82', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.91e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='920' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:22:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 259792: <4FGL_J2219.2-0342_daily_bin920> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin920> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 09:10:44 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 09:10:45 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:10:45 2021
Terminated at Tue Sep 28 09:22:01 2021
Results reported at Tue Sep 28 09:22:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin920 334.823 -3.7102 477792001 478051201 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 :                                   666.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            677 sec.

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

