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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin82
RA = 334.823, Dec = -3.7102
tmin = 260582401, tmax = 260841601
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='255375', job_status='RUN', time_executed='2021-09-28 08:58:53.102365', time_epoch_executed='1632844733.1' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255375

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255375/ft1_4FGL_J2219.2-0342_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255375/ft1_4FGL_J2219.2-0342_daily_bin82.fits outfile=/scratch/kocevski/255375/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin82.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=260582401.0 tmax=260841601.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.58
user 1.40
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/255375/ltcube_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.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/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits
.....................!
real 12.63
user 12.30
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/255375/ltcube_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.fits outfile=/scratch/kocevski/255375/expmap_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.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/255375/ltcube_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.fits
.....................!
real 192.48
user 186.92
sys 5.20

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/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits scfile=/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits outfile=/scratch/kocevski/255375/cmap_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.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/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits scfile=/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits outfile=/scratch/kocevski/255375/cmap_HighResolution_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/255375/ft2_4FGL_J2219.2-0342_daily_bin82.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255375/Model_4FGL_J2219.2-0342_daily_bin82.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/255375/ft1_filtered_4FGL_J2219.2-0342_daily_bin82.fits....................!
real 72.38
user 70.93
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.840       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0844       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4847       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.650       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1621       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.042       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.528       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10798E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.645       1.0000         .10000E-03   10000.    
    16 'norm      '    3.4238       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.844       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3092       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5190       1.0000         .10000E-03   10000.    
    20 'norm      '    .10281E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0314       1.0000         .10000E-03   10000.    
    22 'norm      '    10.014       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94374       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91858       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=   7442.657     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2713 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0165        .68987E-07** at limit **
   2  Prefactor     39.834        33.386       -.40796E-05   -.30414E-04
   3  Prefactor     .10000E-03    24.724        .25403E-06** at limit **
   4  Prefactor     21.585        35.491        .30200E-05    .11550E-04
   5  Prefactor     5.0851        5.9912       -.83930E-06   -.54473E-04
   6  Prefactor     .10000E-03    6.5804       -.10052E-06** at limit **
   7  Prefactor     3.4846        6.6552       -.22804E-07   -.84355E-03
   8  Prefactor     10.634        19.437        .13447E-05    .12791E-04
   9  Prefactor     .10000E-03    8.5254        .45545E-07** at limit **
  10  Prefactor     8.1631        17.120        .52293E-06    .48080E-05
  11  Prefactor     12.041        11.704       -.23676E-06   -.17636E-03
  12  Prefactor     .10000E-03    16.302       -.24264E-06** at limit **
  13  Prefactor     10.527        12.832       -.52962E-06   -.32002E-04
  14  Prefactor     .10000E-03    85.221       -.10575E-05** at limit **
  15  Prefactor     17.645        6.5346       -.14749E-05   -.18009E-03
  16  norm          3.4234        2.6517        .38927E-06   -.21446E-02
  17  Prefactor     38.844        43.217       -.60341E-07   -.19588E-05
  18  norm          4.3091        1.5022       -.58452E-08   -.14555E-03
  19  Prefactor     2.5222        20.403       -.50164E-05   -.15731E-03
  20  norm          .10000E-03    .57954        .31411E-06** at limit **
  21  Prefactor     2.0321        7.6263       -.12899E-05   -.91664E-04
  22  norm          10.015        15.830       -.83130E-06   -.31583E-05
  23  Normalizat    .94370        .21076        .21139E-05   -.80175E-04
  24  Prefactor     .91860        .11839       -.25144E-06    .65502E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.8343
  Prefactor  = 0.0001
  Prefactor  = 21.585
  Prefactor  = 5.08513
  Prefactor  = 0.0001
  Prefactor  = 3.48462
  Prefactor  = 10.6341
  Prefactor  = 0.0001
  Prefactor  = 8.16311
  Prefactor  = 12.0411
  Prefactor  = 0.0001
  Prefactor  = 10.5274
  Prefactor  = 0.0001
  Prefactor  = 17.6448
  norm       = 3.42345
  Prefactor  = 38.844
  norm       = 4.30912
  Prefactor  = 2.52218
  norm       = 0.0001
  Prefactor  = 2.03211
  norm       = 10.0145
  Normalizat = 0.943699
  Prefactor  = 0.918598
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.657     FROM HESSE     STATUS=OK           407 CALLS     3120 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0404        .16968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.834        33.165        .63504E-04   -1.4445    
   3  Prefactor     .10000E-03    24.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.585        35.418        .86218E-04   -1.4778    
   5  Prefactor     5.0851        5.9789        .17831E-03   -1.5257    
   6  Prefactor     .10000E-03    6.8252        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4846        8.5457        .10830E-02   -1.5335    
   8  Prefactor     10.634        19.433        .12277E-03   -1.5056    
   9  Prefactor     .10000E-03    8.5448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1631        17.097        .14033E-03   -1.5136    
  11  Prefactor     12.041        11.876        .57720E-03   -1.5014    
  12  Prefactor     .10000E-03    16.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.527        12.805        .12348E-03   -1.5059    
  14  Prefactor     .10000E-03    85.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.645        6.4571        .95348E-04   -1.4868    
  16  norm          3.4234        3.6446        .79539E-03   -1.5338    
  17  Prefactor     38.844        43.280        .64310E-04   -1.4461    
  18  norm          4.3091        1.5008        .59643E-04   -1.5293    
  19  Prefactor     2.5222        18.024        .25741E-03   -1.5390    
  20  norm          .10000E-03    .88127        .11728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.0321        7.6248        .29024E-03   -1.5423    
  22  norm          10.015        15.931        .12663E-03   -1.5075    
  23  Normalizat    .94370        .25313        .31642E-03   -.94941    
  24  Prefactor     .91860        .14224        .19378E-03   -.95494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0371e-09
Minuit parameter uncertainties:
  1  7.224e-06
  2  33.1799
  3  2.96268e-06
  4  35.452
  5  5.97957
  6  2.51837e-05
  7  8.54871
  8  19.4443
  9  8.13241e-06
  10  17.1073
  11  11.8784
  12  2.78772e-05
  13  12.8083
  14  5.71686e-05
  15  6.45738
  16  3.64484
  17  43.3152
  18  1.50082
  19  13.4904
  20  3.85543e-05
  21  7.62848
  22  15.9373
  23  0.25345
  24  0.142293
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.053e+01  1.281e+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:  9.186e-01  1.423e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  9.437e-01  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/255375/likelihoodResults_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.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) = 7442.65714031
delta logL = 2.40320150624e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7442.65713513
delta logL = 2.92144641207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.493       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6894       1.0000          .0000       10.000    
     3 'Normalizat'    .94336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91873       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=   7442.657     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      227 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.488        406.56        .30922E-02    .79428E-04
   2  Index         2.6888        6.0385        .22921        .42994E-04
   3  Normalizat    .94347        .73451E-01    .71521E-01    .32937E-04
   4  Prefactor     .91871        .48582E-01    .45243E-01    .13825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4884
  Index      = 2.68882
  Normalizat = 0.943472
  Prefactor  = 0.91871
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.657     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.488        13.102        .12369E-03   -1.5060    
   2  Index         2.6888        .88745        .11443E-01   -.48052    
   3  Normalizat    .94347        .23228        .31645E-03   -.94949    
   4  Prefactor     .91871        .14022        .19377E-03   -.95490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20678e-09
Minuit parameter uncertainties:
  1  13.1056
  2  0.893486
  3  0.232526
  4  0.140271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255375': 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) = 7442.65713456
delta logL = 2.97818960462e-05

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.049e+01  1.311e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.689e+00  8.935e-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:  9.187e-01  1.403e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  9.435e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.69 +/- 0.89
Photon Flux (Free Index): 4.87e-08 +/- 5.61e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.38e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/255375/cmap_HighResolution_260582401_260841601_4FGL_J2219.2-0342_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='2.98e-05', photon_flux2='4.87e-08', job_status='DONE', time_completed='2021-09-28 09:10:43.246026', photon_index_error2='0.89', photon_index2='2.69', ts='0.98', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.38e-05', EG='0.94', time_epoch_completed='1632845443.25', return_code='0', job_id='255375', GAL2='0.92', EG2='0.94', return_code2='0', photon_flux_error2='5.61e-08', ts2='1.00', photon_index='2.68' WHERE bin_id='82' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 09:10:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 255375: <4FGL_J2219.2-0342_daily_bin82> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin82> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 08:55:30 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 08:55:31 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:31 2021
Terminated at Tue Sep 28 09:10:44 2021
Results reported at Tue Sep 28 09:10:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin82 334.823 -3.7102 260582401 260841601 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 :                                   710.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

