/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 4 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2219.2-0342_daily_bin15
RA = 334.823, Dec = -3.7102
tmin = 243216001, tmax = 243475201
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='255274', job_status='RUN', time_executed='2021-09-28 08:55:38.543048', time_epoch_executed='1632844538.54' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255274

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255274/ft1_4FGL_J2219.2-0342_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255274/ft1_4FGL_J2219.2-0342_daily_bin15.fits outfile=/scratch/kocevski/255274/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin15.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.35
user 1.16
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.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/255274/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/255274/ltcube_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.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/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits
.....................!
real 12.66
user 12.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/255274/ltcube_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.fits outfile=/scratch/kocevski/255274/expmap_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.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/255274/ltcube_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.fits
.....................!
real 191.82
user 186.03
sys 5.41

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/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits outfile=/scratch/kocevski/255274/cmap_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits outfile=/scratch/kocevski/255274/cmap_HighResolution_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.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/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/255274/ft2_4FGL_J2219.2-0342_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255274/Model_4FGL_J2219.2-0342_daily_bin15.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/255274/ft1_filtered_4FGL_J2219.2-0342_daily_bin15.fits.....................!
real 62.87
user 61.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3882       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.681       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16555E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .36965E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40062E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.047       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43587       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.445       1.0000         .10000E-03   10000.    
    12 'Prefactor '    52.048       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21944E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2579       1.0000         .10000E-03   10000.    
    16 'norm      '    8.4964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.719       1.0000         .10000E-03   10000.    
    18 'norm      '    .50484       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.525       1.0000         .10000E-03   10000.    
    20 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.480       1.0000         .10000E-03   10000.    
    22 'norm      '    11.069       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73318       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85838       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=   6518.647     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2834 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3882        1.8558        .96958E-07   -.14361E-03
   2  Prefactor     25.701        40.672        .30560E-06    .77802E-05
   3  Prefactor     .10000E-03    10.144       -.29940E-07** at limit **
   4  Prefactor     .10000E-03    200.52        .59769E-06** at limit **
   5  Prefactor     .10007E-03    5.4788        .57702E-06** at limit **
   6  Prefactor     .10000E-03    2.5965       -.13829E-06** at limit **
   7  Prefactor     .10000E-03    4.3160       -.52745E-07** at limit **
   8  Prefactor     24.054        23.444        .19092E-06    .51092E-04
   9  Prefactor     12.852        13.048        .19768E-06    .19988E-03
  10  Prefactor     .45204        10.801       -.19035E-05    .59847E-03
  11  Prefactor     17.444        13.173        .91020E-07   -.40807E-04
  12  Prefactor     52.039        35.315        .30231E-07    .16516E-04
  13  Prefactor     .10000E-03    4.6570       -.20663E-06** at limit **
  14  Prefactor     .10000E-03    47.094       -.21797E-06** at limit **
  15  Prefactor     4.2596        3.7096        .15368E-06   -.12281E-03
  16  norm          8.4956        3.7213       -.20984E-07   -.20126E-03
  17  Prefactor     19.815        56.906        .17850E-05    .12591E-03
  18  norm          .50502        .76353        .21990E-06   -.10363E-03
  19  Prefactor     16.470        16.452       -.53962E-05   -.52840E-03
  20  norm          .10001E-03    .85430        .15543E-05** at limit **
  21  Prefactor     22.481        11.891       -.12436E-06   -.14534E-03
  22  norm          11.068        10.433        .91591E-07    .11054E-05
  23  Normalizat    .73317        .19356       -.23104E-06   -.65139E-04
  24  Prefactor     .85840        .10946        .76523E-07   -.14036E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38824
  Prefactor  = 25.7008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 24.0537
  Prefactor  = 12.8522
  Prefactor  = 0.452042
  Prefactor  = 17.4443
  Prefactor  = 52.039
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.25965
  norm       = 8.49558
  Prefactor  = 19.8154
  norm       = 0.50502
  Prefactor  = 16.4701
  norm       = 0.000100006
  Prefactor  = 22.4806
  norm       = 11.0682
  Normalizat = 0.733167
  Prefactor  = 0.8584
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.647     FROM HESSE     STATUS=OK           411 CALLS     3245 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3882        1.8227        .12099E-03   -1.5472    
   2  Prefactor     25.701        40.426        .79049E-04   -1.4694    
   3  Prefactor     .10000E-03    10.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    205.09        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10007E-03    42.340        .36058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.112        .24929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3469        .16377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.054        23.324        .81686E-04   -1.4727    
   9  Prefactor     12.852        13.228        .11175E-03   -1.4991    
  10  Prefactor     .45204        103.84        .46955E-02   -1.5574    
  11  Prefactor     17.444        13.194        .95892E-04   -1.4872    
  12  Prefactor     52.039        35.284        .55592E-04   -1.4264    
  13  Prefactor     .10000E-03    12.699        .33217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    47.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2596        3.6680        .13595E-03   -1.5295    
  16  norm          8.4956        3.7230        .96581E-04   -1.5125    
  17  Prefactor     19.815        56.358        .90196E-04   -1.4817    
  18  norm          .50502        .65651        .83712E-03   -1.5566    
  19  Prefactor     16.470        17.115        .98525E-04   -1.4896    
  20  norm          .10001E-03    3.5007        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.481        11.889        .84481E-04   -1.4759    
  22  norm          11.068        10.432        .12042E-03   -1.5042    
  23  Normalizat    .73317        .22302        .31026E-03   -1.0260    
  24  Prefactor     .85840        .12859        .17650E-03   -.97610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21144e-08
Minuit parameter uncertainties:
  1  1.82275
  2  40.469
  3  2.54254e-06
  4  6.89684e-05
  5  0.00353472
  6  0.000222723
  7  7.06979e-06
  8  23.3327
  9  13.2306
  10  13.7254
  11  13.1967
  12  35.2983
  13  0.000240609
  14  8.21111e-05
  15  3.66816
  16  3.72314
  17  56.5103
  18  0.656523
  19  17.1197
  20  0.000292418
  21  11.8906
  22  10.4333
  23  0.223302
  24  0.128631
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  2.406e-04  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.584e-01  1.286e-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.332e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/255274/likelihoodResults_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.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) = 6518.64773993
delta logL = -0.000373531458536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6518.64736593
delta logL = 4.680487109e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20694E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5726       1.0000          .0000       10.000    
     3 'Normalizat'    .73328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85834       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=   6518.363     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      286 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9251        3.3584        .90712E-02    .31078E-03
   2  Index         1.5024        .55318        .23288       -.95317E-04
   3  Normalizat    .74110        .17681        .69764E-01    .52991E-04
   4  Prefactor     .85083        .10892        .44472E-01   -.30637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92512
  Index      = 1.50244
  Normalizat = 0.741096
  Prefactor  = 0.850826
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.363     FROM HESSE     STATUS=OK            31 CALLS      317 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9251        3.8830        .19060E-03   -1.5430    
   2  Index         1.5024        .80874        .12253E-01   -.77471    
   3  Normalizat    .74110        .20683        .30872E-03   -1.0229    
   4  Prefactor     .85083        .12764        .17713E-03   -.97881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97112e-10
Minuit parameter uncertainties:
  1  3.88355
  2  0.815808
  3  0.207048
  4  0.127688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255274': 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) = 6518.36307923
delta logL = 0.284287162549

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.925e+00  3.884e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  1.502e+00  8.158e-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.508e-01  1.277e-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.411e-01  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/255274/cmap_HighResolution_243216001_243475201_4FGL_J2219.2-0342_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-28 09:06:42.470629', job_id='255274', GAL2='0.85', fit_tolerance='1e-08', EG2='0.74', EG='0.73', time_epoch_completed='1632845202.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.84e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='15' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:06:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 255274: <4FGL_J2219.2-0342_daily_bin15> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin15> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 08:55:23 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 08:55:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 08:55:25 2021
Terminated at Tue Sep 28 09:06:43 2021
Results reported at Tue Sep 28 09:06:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin15 334.823 -3.7102 243216001 243475201 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 :                                   664.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             319.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            680 sec.

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

