aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 110 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 = 7480
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1695
RA = 334.823, Dec = -3.7102
tmin = 678672001, tmax = 678931201
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='731209', job_status='RUN', time_executed='2022-07-08 00:37:19.887337', time_epoch_executed='1657265839.89' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731209

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731209/ft1_4FGL_J2219.2-0342_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731209/ft1_4FGL_J2219.2-0342_daily_bin1695.fits outfile=/scratch/kocevski/731209/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1695.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=678672001.0 tmax=678931201.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.64
user 3.38
sys 0.20

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

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

Number of photons that the gtmktime cut: 471

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731209/ltcube_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.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/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits
.....................!
real 12.06
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731209/ltcube_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.fits outfile=/scratch/kocevski/731209/expmap_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.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/731209/ltcube_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.fits
.....................!
real 190.83
user 185.38
sys 4.91

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/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits scfile=/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits outfile=/scratch/kocevski/731209/cmap_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.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.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits scfile=/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits outfile=/scratch/kocevski/731209/cmap_HighResolution_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731209/ft2_4FGL_J2219.2-0342_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731209/Model_4FGL_J2219.2-0342_daily_bin1695.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/731209/ft1_filtered_4FGL_J2219.2-0342_daily_bin1695.fits.....................!
real 54.74
user 52.94
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39248       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.026       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12321E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20639E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7058       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.571       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.274       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.629       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    187.80       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.112       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.035       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2202       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66195       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=   5256.307     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2734 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39151        3.3418       -.11025E-05    .17304E-03
   2  Prefactor     19.037        44.000        .10525E-05    .53538E-04
   3  Prefactor     .10000E-03    105.77        .11119E-06** at limit **
   4  Prefactor     .10000E-03    15.124       -.20794E-07** at limit **
   5  Prefactor     .10000E-03    2.7523       -.21951E-07** at limit **
   6  Prefactor     .10000E-03    40.074       -.35821E-05** at limit **
   7  Prefactor     1.7042        10.691       -.83484E-06    .52709E-04
   8  Prefactor     .10000E-03    28.018       -.10124E-06** at limit **
   9  Prefactor     .10000E-03    9.2269       -.97829E-08** at limit **
  10  Prefactor     12.570        16.811        .11494E-07    .25012E-04
  11  Prefactor     .10000E-03    8.9489       -.20989E-07** at limit **
  12  Prefactor     33.275        28.565       -.55089E-07    .13143E-04
  13  Prefactor     12.629        10.896       -.19195E-08   -.63433E-05
  14  Prefactor     .10000E-03    75.247        .64616E-07** at limit **
  15  Prefactor     .10000E-03    2.2749        .19009E-06** at limit **
  16  norm          .10000E-03    2.1313        .26604E-06** at limit **
  17  Prefactor     187.75        100.82       -.88147E-07    .15798E-03
  18  norm          .10000E-03    .39323        .28347E-07** at limit **
  19  Prefactor     10.070        18.725       -.26004E-05   -.48757E-04
  20  norm          .10000E-03    .95229        .61141E-06** at limit **
  21  Prefactor     .10000E-03    4.2884        .19248E-07** at limit **
  22  norm          11.039        10.467        .21176E-08    .34316E-04
  23  Normalizat    1.2204        .22247       -.30735E-06    .12041E-03
  24  Prefactor     .66185        .12551        .25399E-06    .10237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.391507
  Prefactor  = 19.0369
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.70423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5697
  Prefactor  = 0.0001
  Prefactor  = 33.2751
  Prefactor  = 12.6294
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 187.752
  norm       = 0.0001
  Prefactor  = 10.0696
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0387
  Normalizat = 1.22043
  Prefactor  = 0.661848
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.307     FROM HESSE     STATUS=OK           397 CALLS     3131 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39151        3.4308        .24327E-02   -1.5583    
   2  Prefactor     19.037        44.364        .91824E-04   -1.4835    
   3  Prefactor     .10000E-03    107.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.7585        .11747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    39.472        .37865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7042        10.641        .32197E-03   -1.5447    
   8  Prefactor     .10000E-03    28.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.2718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.570        16.789        .11298E-03   -1.4999    
  11  Prefactor     .10000E-03    9.0611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.275        28.547        .69467E-04   -1.4554    
  13  Prefactor     12.629        10.915        .11272E-03   -1.4997    
  14  Prefactor     .10000E-03    75.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2852        .10643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.1682        .20589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     187.75        101.79        .14733E-03   -1.2959    
  18  norm          .10000E-03    .40028        .44398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.070        19.979        .12601E-03   -1.5073    
  20  norm          .10000E-03    1.5276        .13735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.2926        .14663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.039        10.466        .12061E-03   -1.5043    
  23  Normalizat    1.2204        .26586        .25675E-03   -.85974    
  24  Prefactor     .66185        .15172        .19922E-03   -1.0504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60144e-10
Minuit parameter uncertainties:
  1  2.31779
  2  44.441
  3  0.0012683
  4  2.67622e-06
  5  5.53949e-07
  6  0.000305722
  7  8.5188
  8  0.00015243
  9  1.39545e-07
  10  16.795
  11  2.43207e-06
  12  28.5585
  13  10.9167
  14  0.000657243
  15  7.0008e-06
  16  1.11889e-05
  17  101.883
  18  2.0189e-07
  19  19.9925
  20  2.63838e-05
  21  2.60873e-09
  22  10.4678
  23  0.266151
  24  0.151809
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.263e+01  1.092e+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.618e-01  1.518e-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.220e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.05
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 5.82e-08 +/- 5.02e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/731209/likelihoodResults_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.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) = 5256.27535173
delta logL = 0.0320729809046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5256.26714308
delta logL = 0.0402816289115

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.295       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9689       1.0000          .0000       10.000    
     3 'Normalizat'    1.2026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66923       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=   5256.267     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.288        218.25        .29801E-02    .48023E-03
   2  Index         2.9697        6.3990        .22180        .49256E-04
   3  Normalizat    1.2028        .81951E-01    .58406E-01   -.12696E-03
   4  Prefactor     .66918        .44081E-01    .41990E-01   -.15206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2876
  Index      = 2.96974
  Normalizat = 1.20277
  Prefactor  = 0.669185
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.267     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.288        12.643        .11920E-03   -1.5036    
   2  Index         2.9697        1.1329        .88641E-02   -.41813    
   3  Normalizat    1.2028        .26400        .25830E-03   -.86517    
   4  Prefactor     .66918        .15279        .19823E-03   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44657e-09
Minuit parameter uncertainties:
  1  12.6459
  2  1.1448
  3  0.264288
  4  0.152887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731209': 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) = 5256.26714214
delta logL = 0.0402825663396

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.129e+01  1.265e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.970e+00  1.145e+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.692e-01  1.529e-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.203e+00  2.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.97 +/- 1.14
Photon Flux (Free Index): 7.08e-08 +/- 6.74e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.17e-05

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/731209/cmap_HighResolution_678672001_678931201_4FGL_J2219.2-0342_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='5.82e-08', energy_flux2='1.44e-05', photon_flux_error='5.02e-08', dlogl='4.03e-02', energy_flux='1.42e-05', photon_flux2='7.08e-08', job_status='DONE', time_completed='2022-07-08 00:47:03.136074', photon_index_error2='1.14', photon_index2='2.97', ts='2.05', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.17e-05', EG='1.22', time_epoch_completed='1657266423.14', return_code='0', job_id='731209', GAL2='0.67', EG2='1.20', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='6.74e-08', ts2='2.14', photon_index='2.68' WHERE bin_id='1695' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:47:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 731209: <4FGL_J2219.2-0342_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:19 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:20 2022
Terminated at Fri Jul  8 00:47:03 2022
Results reported at Fri Jul  8 00:47:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1695 334.823 -3.7102 678672001 678931201 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 :                                   585.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            704 sec.

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

