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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1375
RA = 334.823, Dec = -3.7102
tmin = 595728001, tmax = 595987201
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='261556', job_status='RUN', time_executed='2021-09-28 09:16:10.863491', time_epoch_executed='1632845770.86' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261556/ft1_4FGL_J2219.2-0342_daily_bin1375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261556/ft1_4FGL_J2219.2-0342_daily_bin1375.fits outfile=/scratch/kocevski/261556/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1375.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=595728001.0 tmax=595987201.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 2.57
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.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/261556/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1375.fits evtable="EVENTS" outfile="/scratch/kocevski/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.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/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/261556/ltcube_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.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/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits
.....................!
real 12.23
user 11.84
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/261556/ltcube_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.fits outfile=/scratch/kocevski/261556/expmap_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.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/261556/ltcube_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.fits
.....................!
real 192.41
user 186.58
sys 5.42

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/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits outfile=/scratch/kocevski/261556/cmap_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits outfile=/scratch/kocevski/261556/cmap_HighResolution_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/261556/ft2_4FGL_J2219.2-0342_daily_bin1375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261556/Model_4FGL_J2219.2-0342_daily_bin1375.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/261556/ft1_filtered_4FGL_J2219.2-0342_daily_bin1375.fits.....................!
real 63.90
user 62.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1405       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.423       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0824       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0970       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.371       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.383       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10752E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.109       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    72.788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1953       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7587       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .25153       1.0000         .10000E-03   10000.    
    19 'Prefactor '    101.46       1.0000         .10000E-03   10000.    
    20 'norm      '    .13509E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.724       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3787       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64356       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=   6607.691     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2847 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1404        2.0333        .72399E-07   -.44245E-04
   2  Prefactor     .10000E-03    51.315        .35781E-05** at limit **
   3  Prefactor     13.423        29.835       -.33640E-06    .32181E-06
   4  Prefactor     6.0826        21.889       -.24225E-07    .96263E-06
   5  Prefactor     6.0971        4.6272        .13080E-05    .28674E-03
   6  Prefactor     .10000E-03    3.1013       -.98607E-07** at limit **
   7  Prefactor     10.369        12.760        .75843E-06   -.12073E-03
   8  Prefactor     .10000E-03    7.2751        .41306E-07** at limit **
   9  Prefactor     13.384        20.412       -.51960E-06    .11674E-04
  10  Prefactor     .10000E-03    16.021       -.62814E-06** at limit **
  11  Prefactor     13.110        12.595       -.63659E-07   -.69627E-05
  12  Prefactor     20.347        25.578       -.18291E-05   -.34718E-04
  13  Prefactor     7.4760        10.023       -.34531E-06   -.15462E-04
  14  Prefactor     72.775        80.013       -.72925E-05   -.67564E-04
  15  Prefactor     3.1953        3.0926       -.13650E-06   -.62364E-04
  16  norm          3.7593        3.4942        .22150E-05   -.82124E-03
  17  Prefactor     .10000E-03    29.290       -.11799E-05** at limit **
  18  norm          .25185        .60200        .65942E-07    .28858E-03
  19  Prefactor     101.42        27.708       -.15870E-05   -.12313E-02
  20  norm          .10008E-03    1.1228        .22498E-06** at limit **
  21  Prefactor     10.724        10.763        .96914E-06   -.63512E-04
  22  norm          .10000E-03    4.6788       -.27773E-06** at limit **
  23  Normalizat    1.3786        .20946        .19397E-05   -.15236E-03
  24  Prefactor     .64360        .11804       -.86684E-06    .24949E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14042
  Prefactor  = 0.0001
  Prefactor  = 13.4227
  Prefactor  = 6.08256
  Prefactor  = 6.09715
  Prefactor  = 0.0001
  Prefactor  = 10.3688
  Prefactor  = 0.0001
  Prefactor  = 13.3838
  Prefactor  = 0.0001
  Prefactor  = 13.1101
  Prefactor  = 20.3473
  Prefactor  = 7.47604
  Prefactor  = 72.7755
  Prefactor  = 3.19533
  norm       = 3.75929
  Prefactor  = 0.0001
  norm       = 0.251848
  Prefactor  = 101.418
  norm       = 0.000100085
  Prefactor  = 10.7237
  norm       = 0.0001
  Normalizat = 1.3786
  Prefactor  = 0.643596
 **********
 **   18 **HESSE 
 **********

 FCN=   6607.691     FROM HESSE     STATUS=OK           405 CALLS     3252 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1404        2.0200        .10833E-03   -1.5415    
   2  Prefactor     .10000E-03    52.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.423        29.813        .10933E-03   -1.4975    
   4  Prefactor     6.0826        21.867        .16279E-03   -1.5215    
   5  Prefactor     6.0971        4.6111        .14642E-03   -1.5214    
   6  Prefactor     .10000E-03    3.1484        .13975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.369        12.858        .62209E-03   -1.5064    
   8  Prefactor     .10000E-03    7.2892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.384        20.355        .10949E-03   -1.4976    
  10  Prefactor     .10000E-03    16.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.110        12.679        .11063E-03   -1.4984    
  12  Prefactor     20.347        25.571        .88783E-04   -1.4805    
  13  Prefactor     7.4760        10.011        .14668E-03   -1.5161    
  14  Prefactor     72.775        79.718        .47057E-04   -1.4000    
  15  Prefactor     3.1953        3.0807        .13392E-03   -1.5350    
  16  norm          3.7593        3.6954        .72758E-03   -1.5320    
  17  Prefactor     .10000E-03    29.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .25185        .46124        .94764E-03   -1.5608    
  19  Prefactor     101.42        28.441        .19957E-03   -1.3690    
  20  norm          .10008E-03    14.720        .14466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.724        10.737        .12234E-03   -1.5053    
  22  norm          .10000E-03    4.6928        .17172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3786        .24570        .26411E-03   -.81250    
  24  Prefactor     .64360        .13774        .21766E-03   -1.0578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88629e-09
Minuit parameter uncertainties:
  1  2.02005
  2  4.09977e-05
  3  29.8462
  4  21.8956
  5  4.61135
  6  7.62427e-06
  7  12.8615
  8  3.83694e-06
  9  20.3655
  10  4.02656e-05
  11  12.6812
  12  25.5844
  13  10.0132
  14  79.8358
  15  3.0809
  16  3.69561
  17  8.07092e-05
  18  0.461249
  19  28.4448
  20  0.00223571
  21  10.7394
  22  7.57505e-06
  23  0.24591
  24  0.137813
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  7.476e+00  1.001e+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:  6.436e-01  1.378e-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.379e+00  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/261556/likelihoodResults_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.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) = 6607.69142743
delta logL = 5.27201700606e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6607.69142653
delta logL = 6.17081786913e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4652       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6862       1.0000          .0000       10.000    
     3 'Normalizat'    1.3786       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64356       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6607.691     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      247 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4639        10.750        .14679E-03    .11513E-02
   2  Index         2.6860        1.0776        .14000E-01    .22636E-03
   3  Normalizat    1.3785        .23419        .26412E-03   -.38805E-03
   4  Prefactor     .64364        .13638        .21765E-03   -.54835E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.46386
  Index      = 2.68599
  Normalizat = 1.37849
  Prefactor  = 0.643641
 **********
 **   18 **HESSE 
 **********

 FCN=   6607.691     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4639        10.452        .58714E-05   -1.5161    
   2  Index         2.6860        1.0477        .56002E-03   -.48115    
   3  Normalizat    1.3785        .23431        .52824E-04   -.81253    
   4  Prefactor     .64364        .13640        .43530E-04   -1.0578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69194e-09
Minuit parameter uncertainties:
  1  10.4546
  2  1.05774
  3  0.234494
  4  0.136475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261556': 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) = 6607.69142628
delta logL = 6.41442147753e-06

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  7.464e+00  1.045e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.686e+00  1.058e+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:  6.436e-01  1.365e-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.378e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/261556/cmap_HighResolution_595728001_595987201_4FGL_J2219.2-0342_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-09-28 09:27:33.717634', job_id='261556', GAL2='0.64', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1632846453.72', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='6.41e-06', ts2='0.75', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1375' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:27:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 261556: <4FGL_J2219.2-0342_daily_bin1375> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1375> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 09:15:52 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 09:15:53 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:53 2021
Terminated at Tue Sep 28 09:27:34 2021
Results reported at Tue Sep 28 09:27:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1375 334.823 -3.7102 595728001 595987201 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 :                                   680.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

