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 44 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 = 7446
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1665
RA = 334.813, Dec = 18.1026
tmin = 670896001, tmax = 671155201
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='357055', job_status='RUN', time_executed='2022-04-09 00:36:42.222741', time_epoch_executed='1649489802.22' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357055

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357055/ft1_4FGL_J2219.2+1806_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357055/ft1_4FGL_J2219.2+1806_daily_bin1665.fits outfile=/scratch/kocevski/357055/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1665.fits ra=334.813 dec=18.1026 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.36
user 5.08
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.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/357055/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 770

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357055/ltcube_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.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/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits
.....................!
real 11.74
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357055/ltcube_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits outfile=/scratch/kocevski/357055/expmap_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.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/357055/ltcube_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits
.....................!
real 190.03
user 184.78
sys 4.92

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2219.2+1806 @ 334.813 18.1026

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits outfile=/scratch/kocevski/357055/cmap_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.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.813 yref=18.1026 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/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits outfile=/scratch/kocevski/357055/cmap_HighResolution_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.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.813 yref=18.1026 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357055/Model_4FGL_J2219.2+1806_daily_bin1665.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/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits.....................!
real 83.85
user 82.52
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits', '/scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits', expMap='/scratch/kocevski/357055/expmap_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits', expCube='/scratch/kocevski/357055/ltcube_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357055/Model_4FGL_J2219.2+1806_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2+1806'

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.275e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/357055/ft1_filtered_4FGL_J2219.2+1806_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357055/ft2_4FGL_J2219.2+1806_daily_bin1665.fits
Exposure map: /scratch/kocevski/357055/expmap_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357055/ltcube_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357055/Model_4FGL_J2219.2+1806_daily_bin1665.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) = 8503.92308193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.9174       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4376       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6071       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12258E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4068       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.353       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .60971       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2559       1.0000         .10000E-03   10000.    
    17 'norm      '    8.9810       1.0000         .10000E-03   10000.    
    18 'norm      '    2.4427       1.0000         .10000E-03   10000.    
    19 'Prefactor '    79.240       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.531       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.130       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .53052       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1886       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90267       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8503.910     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2962 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.968       -.25496E-07** at limit **
   2  Prefactor     .10000E-03    63.570       -.11495E-06** at limit **
   3  norm          .10000E-03    1.0443       -.35399E-07** at limit **
   4  Prefactor     .10000E-03    203.62        .74343E-06** at limit **
   5  norm          6.9172        3.6023        .14304E-06    .51412E-04
   6  Prefactor     1.4327        46.206        .19349E-05   -.22505E-04
   7  Prefactor     .10000E-03    26.464        .13703E-07** at limit **
   8  norm          .10000E-03    .32028       -.18165E-07** at limit **
   9  Prefactor     5.6032        56.468        .64060E-07   -.72230E-05
  10  Prefactor     .10000E-03    11.929        .24122E-06** at limit **
  11  norm          .10000E-03    5.0774       -.17649E-07** at limit **
  12  Prefactor     5.4066        10.519        .38181E-05   -.28661E-03
  13  Prefactor     23.416        82.697        .14171E-04    .12488E-03
  14  Prefactor     .10000E-03    3.8095        .20183E-07** at limit **
  15  Prefactor     .60971        .21056       -.42800E-07   -.23914E-03
  16  Prefactor     4.2560        4.7600        .14274E-05   -.42608E-03
  17  norm          8.9809        2.1263       -.51157E-07   -.48177E-04
  18  norm          2.4428        1.6147       -.21143E-07    .56174E-05
  19  Prefactor     79.236        43.333       -.12175E-06   -.25769E-04
  20  Prefactor     10.531        10.751        .60115E-06   -.78018E-04
  21  Prefactor     17.130        23.133        .18471E-06    .17722E-05
  22  Prefactor     .53054        .20025        .14330E-07   -.23244E-03
  23  Prefactor     .10000E-03    9.5303       -.15206E-07** at limit **
  24  Normalizat    1.1885        .22972       -.78719E-06   -.87417E-05
  25  Prefactor     .90267        .10818       -.28773E-06   -.98295E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.91724
  Prefactor  = 1.43275
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.60322
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.40658
  Prefactor  = 23.4156
  Prefactor  = 0.0001
  Prefactor  = 0.609712
  Prefactor  = 4.25598
  norm       = 8.98091
  norm       = 2.44276
  Prefactor  = 79.236
  Prefactor  = 10.5313
  Prefactor  = 17.1299
  Prefactor  = 0.530542
  Prefactor  = 0.0001
  Normalizat = 1.1885
  Prefactor  = 0.902673
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.910     FROM HESSE     STATUS=OK           427 CALLS     3389 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.911        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    63.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.0739        .18377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    204.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.9172        3.6067        .12082E-03   -1.5182    
   6  Prefactor     1.4327        46.797        .35996E-03   -1.5469    
   7  Prefactor     .10000E-03    26.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .32953        .10179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6032        56.523        .16965E-03   -1.5235    
  10  Prefactor     .10000E-03    12.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.2987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.4066        10.741        .86410E-03   -1.5243    
  13  Prefactor     23.416        88.434        .82889E-04   -1.4740    
  14  Prefactor     .10000E-03    3.8195        .17577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .60971        .21011        .23313E-04   -1.5552    
  16  Prefactor     4.2560        4.8136        .97654E-03   -1.5295    
  17  norm          8.9809        2.1306        .62636E-04   -1.5109    
  18  norm          2.4428        1.6184        .91926E-04   -1.5395    
  19  Prefactor     79.236        43.400        .45115E-04   -1.3925    
  20  Prefactor     10.531        10.757        .61733E-03   -1.5059    
  21  Prefactor     17.130        23.136        .96770E-04   -1.4880    
  22  Prefactor     .53054        .19956        .22636E-04   -1.5562    
  23  Prefactor     .10000E-03    9.5983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1885        .27240        .35548E-03   -.86959    
  25  Prefactor     .90267        .12853        .19699E-03   -.96048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01114e-10
Minuit parameter uncertainties:
  1  5.79075e-05
  2  1.02231e-05
  3  1.79738e-06
  4  0.00020456
  5  3.60682
  6  16.3901
  7  1.18585e-05
  8  5.57037e-07
  9  35.6359
  10  1.59961e-05
  11  8.26308e-06
  12  10.7445
  13  88.9347
  14  6.79083e-07
  15  0.210106
  16  4.81401
  17  2.13061
  18  1.61846
  19  43.4169
  20  10.7587
  21  23.1481
  22  0.199565
  23  5.40643e-06
  24  0.272724
  25  0.128574
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.000e-04  8.263e-06  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.027e-01  1.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.189e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.813 18.103
Photon Flux Upper Limit: 6.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/357055/likelihoodResults_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.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) = 8503.91086004
delta logL = -0.000901315528608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8503.90995966
delta logL = -9.41652615438e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10478E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1819       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90280       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   8503.910     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      242 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.6769        .36285E-03** at limit **
   2  alpha         2.2321        3.3941        .16632        .10800E-07
   3  Normalizat    1.1885        .25807        .35548E-03   -.11296E-03
   4  Prefactor     .90267        .12745        .19699E-03   -.20543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.23209
  Normalizat = 1.1885
  Prefactor  = 0.902673
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.910     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3223        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2321        3.3287        .66529E-02   -.10737    
   3  Normalizat    1.1885        .25829        .14219E-04   -.86959    
   4  Prefactor     .90267        .12756        .39398E-04   -.96048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50257e-11
Minuit parameter uncertainties:
  1  1.82716e-05
  2  189.328
  3  0.258565
  4  0.127603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357055': 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) = 8503.90995868
delta logL = 4.10564098274e-08

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.000e-04  1.827e-05  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.232e+00  1.893e+02  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.363e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.027e-01  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.189e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.813 18.103

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/357055/cmap_HighResolution_670896001_671155201_4FGL_J2219.2+1806_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2022-04-09 00:49:48.637328', job_id='357055', GAL2='0.90', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1649490588.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.11e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1665' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:49:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 357055: <4FGL_J2219.2+1806_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:48 2022
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:49 2022
Terminated at Sat Apr  9 00:49:49 2022
Results reported at Sat Apr  9 00:49:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1665 334.813 18.1026 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2+1806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   787.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             339.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

