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 172 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1731
RA = 334.823, Dec = -3.7102
tmin = 688003201, tmax = 688262401
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='551167', job_status='RUN', time_executed='2022-10-24 00:43:25.423127', time_epoch_executed='1666597405.42' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551167/ft1_4FGL_J2219.2-0342_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551167/ft1_4FGL_J2219.2-0342_daily_bin1731.fits outfile=/scratch/kocevski/551167/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1731.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=688003201.0 tmax=688262401.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.52
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.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/551167/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 511

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551167/ltcube_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.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/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits
.....................!
real 11.99
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551167/ltcube_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits outfile=/scratch/kocevski/551167/expmap_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.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/551167/ltcube_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits
.....................!
real 190.69
user 185.31
sys 4.75

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/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits outfile=/scratch/kocevski/551167/cmap_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.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.76
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits outfile=/scratch/kocevski/551167/cmap_HighResolution_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.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 1.96
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551167/Model_4FGL_J2219.2-0342_daily_bin1731.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/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits.....................!
real 58.55
user 55.44
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits', '/scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits', expMap='/scratch/kocevski/551167/expmap_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits', expCube='/scratch/kocevski/551167/ltcube_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551167/Model_4FGL_J2219.2-0342_daily_bin1731.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  0.000e+00  1.000e+06 ( 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/551167/ft1_filtered_4FGL_J2219.2-0342_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551167/ft2_4FGL_J2219.2-0342_daily_bin1731.fits
Exposure map: /scratch/kocevski/551167/expmap_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551167/ltcube_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551167/Model_4FGL_J2219.2-0342_daily_bin1731.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) = 5720.78413356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49232E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    62.163       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32854E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24925E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.792       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28866E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .90755E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.071       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17950E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .95677E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22889E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .19300E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16678E-03   1.0000          .0000       .10000E+07
    14 'norm      '    3.1096       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4707       1.0000          .0000       .10000E+07
    16 'norm      '    3.2653       1.0000          .0000       .10000E+07
    17 'norm      '    .44409E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    .90459       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5720.767     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1444 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2464       -.18523E-06** at limit **
   2  Prefactor     62.347        2.2737       -.67874E-07   -.67114E-01
   3  Prefactor     .34121E-04    30.647        .26679E-05** at limit **
   4  Prefactor     .63838E-07    11.152        .33113E-05** at limit **
   5  Prefactor     12.826        8.6892       -.74588E-06    .96706E-03
   6  Prefactor     .27867E-07    10.473       -.17720E-05** at limit **
   7  Prefactor     .22204E-09    29.858        .80419E-06** at limit **
   8  Prefactor     10.397        1.6027       -.20881E-07    .11706E-03
   9  Prefactor     .31086E-08    11.097        .10937E-06** at limit **
  10  Prefactor      .0000        5.2424        .31051E-09** at limit **
  11  Prefactor      .0000        2.1754       -.25026E-06** at limit **
  12  norm          .29421E-06    35.229        .60803E-05** at limit **
  13  Prefactor     .29779E-04    30.906        .21079E-05** at limit **
  14  norm          3.0889        1.4746       -.66691E-07    .42220E-02
  15  Prefactor     19.571        81.489       -.87142E-05   -.54779E-03
  16  norm          2.4449        6.2125        .10250E-05    .84682E-02
  17  norm          .55511E-08    15.588       -.25296E-07** at limit **
  18  Normalizat    .89646        .27047        .30218E-04    .30256E-03
  19  Prefactor     1.0698        .16092       -.59665E-05    .47993E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 62.3471
  Prefactor  = 3.41214e-05
  Prefactor  = 6.38378e-08
  Prefactor  = 12.8257
  Prefactor  = 2.78666e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 10.3973
  Prefactor  = 3.10862e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.94209e-07
  Prefactor  = 2.97793e-05
  norm       = 3.08891
  Prefactor  = 19.5713
  norm       = 2.44494
  norm       = 5.55112e-09
  Normalizat = 0.896458
  Prefactor  = 1.06981
 **********
 **   18 **HESSE 
 **********

 FCN=   5720.767     FROM HESSE     STATUS=OK           310 CALLS     1754 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     62.347        45.789        .12684E-03   -1.5550    
   3  Prefactor     .34121E-04    61.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63838E-07    11.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.826        8.6852        .27981E-03   -1.5636    
   6  Prefactor     .27867E-07    10.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    29.205        .14184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.397        22.217        .31551E-03   -1.5643    
   9  Prefactor     .31086E-08    11.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.1763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .29421E-06    3.6468        .49179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29779E-04    58.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0889        1.4763        .57477E-03   -1.5673    
  15  Prefactor     19.571        84.814        .34419E-03   -1.5619    
  16  norm          2.4449        6.4108        .56017E-03   -1.5677    
  17  norm          .55511E-08    15.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .89646        .23656        .75283E-01   -.96585    
  19  Prefactor     1.0698        .13731        .39037E-01   -.90437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2309e-06
Minuit parameter uncertainties:
  1  7.02349e-06
  2  45.789
  3  0.091739
  4  0.00168599
  5  8.68521
  6  0.00108061
  7  0.000155332
  8  22.217
  9  0.000370296
  10  9.55365e-06
  11  1.09382e-05
  12  0.0020717
  13  0.0833538
  14  1.47626
  15  81.4864
  16  6.41083
  17  0.000590459
  18  0.236837
  19  0.137358
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  0.000e+00  9.554e-06  0.000e+00  1.000e+06 ( 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:  1.070e+00  1.374e-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:  8.965e-01  2.368e-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: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551167/likelihoodResults_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.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) = 5720.76737736
delta logL = -0.00027773419697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5720.76709989
delta logL = -2.62477442448e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .66471       1.0000          .0000       10.000    
     3 'Normalizat'    .89637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0698       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=   5720.766     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      322 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20621E-02    .18669        .53989E-03** at limit **
   2  Index         6.9208        8.1956        .41930        .27876E-04
   3  Normalizat    .89321        .11312E-01    .75412E-01    .13234E-03
   4  Prefactor     1.0710        .68969E-02    .38866E-01    .17540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00206214
  Index      = 6.92083
  Normalizat = 0.893212
  Prefactor  = 1.07104
 **********
 **   18 **HESSE 
 **********

 FCN=   5720.766     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      357 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20621E-02    4.9274        .32438E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9208        5.0798        .50000        .39430    
   3  Normalizat    .89321        .22333E-01    .33375E-03   -.96699    
   4  Prefactor     1.0710        .13641E-01    .18661E-03   -.90398    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.69951e-09
Minuit parameter uncertainties:
  1  0.201602
  2  17.9846
  3  0.022333
  4  0.0136408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551167': 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): 102
logL (Free Index) = 5720.76643577
delta logL = 0.000663853074002

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  2.062e-03  2.016e-01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  6.921e+00  1.798e+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:  1.071e+00  1.364e-02  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:  8.932e-01  2.233e-02  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/551167/cmap_HighResolution_688003201_688262401_4FGL_J2219.2-0342_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2022-10-24 00:51:52.765660', job_id='551167', GAL2='1.07', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1666597912.77', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='6.64e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1731' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:51:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 551167: <4FGL_J2219.2-0342_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:23 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:24 2022
Terminated at Mon Oct 24 00:51:53 2022
Results reported at Mon Oct 24 00:51:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1731 334.823 -3.7102 688003201 688262401 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 :                                   505.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             232.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            690 sec.

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

