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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1762
RA = 334.823, Dec = -3.7102
tmin = 696038401, tmax = 696297601
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='121940', job_status='RUN', time_executed='2023-01-25 01:43:57.724357', time_epoch_executed='1674639837.72' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121940

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121940/ft1_4FGL_J2219.2-0342_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121940/ft1_4FGL_J2219.2-0342_daily_bin1762.fits outfile=/scratch/kocevski/121940/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1762.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=696038401.0 tmax=696297601.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.74
user 3.46
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/121940/ltcube_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.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/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits
.....................!
real 13.36
user 12.85
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/121940/ltcube_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.fits outfile=/scratch/kocevski/121940/expmap_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.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/121940/ltcube_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.fits
.....................!
real 193.66
user 185.86
sys 5.26

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/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits scfile=/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits outfile=/scratch/kocevski/121940/cmap_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits scfile=/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits outfile=/scratch/kocevski/121940/cmap_HighResolution_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121940/ft2_4FGL_J2219.2-0342_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121940/Model_4FGL_J2219.2-0342_daily_bin1762.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/121940/ft1_filtered_4FGL_J2219.2-0342_daily_bin1762.fits.....................!
real 57.41
user 55.42
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3494       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20390E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27578E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36801       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20367E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.934       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.755       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56300E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    51.597       1.0000          .0000       .10000E+07
    10 'Prefactor '    .82911E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8513       1.0000          .0000       .10000E+07
    12 'norm      '    .21760E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .77048       1.0000          .0000       .10000E+07
    14 'norm      '    1.0951       1.0000          .0000       .10000E+07
    15 'Prefactor '    111.24       1.0000          .0000       .10000E+07
    16 'norm      '    .10295E-04   1.0000          .0000       .10000E+07
    17 'norm      '    22.283       1.0000          .0000       .10000E+07
    18 'Normalizat'    .77340       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0526       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=   5718.046     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1494 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3461        1.7672       -.12346E-07    .16357E-02
   2  Prefactor     .83267E-09    16.212        .29890E-05** at limit **
   3  Prefactor     .22204E-09    10.400       -.22268E-06** at limit **
   4  Prefactor     .36434        5.3264        .20818E-05    .10025E-02
   5  Prefactor     .29921E-07    14.336       -.21375E-05** at limit **
   6  Prefactor     11.937        12.106       -.10604E-05   -.24633E-02
   7  Prefactor     10.817        21.978        .49581E-05   -.20167E-02
   8  Prefactor     .10636E-05    7.2286       -.28321E-06** at limit **
   9  Prefactor     51.555        7.7509        .89742E-06   -.38161E-01
  10  Prefactor     .83417E-06    10.099       -.66264E-06** at limit **
  11  Prefactor     4.8564        4.5380        .15979E-05    .36486E-03
  12  norm          .55511E-10    2.6107       -.89838E-06** at limit **
  13  Prefactor     .52736E-08    175.39        .53234E-05** at limit **
  14  norm          1.1160        1.5330       -.57621E-06   -.74890E-02
  15  Prefactor     108.86        37.504        .29185E-05   -.88772E-02
  16  norm           .0000        5.6806       -.19652E-05** at limit **
  17  norm          22.088        16.347       -.13132E-05   -.27532E-01
  18  Normalizat    .77618        .27460       -.87384E-06    .22020E-04
  19  Prefactor     1.0520        .16042        .10211E-04   -.71162E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.34606
  Prefactor  = 8.32667e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 0.364343
  Prefactor  = 2.99205e-08
  Prefactor  = 11.9372
  Prefactor  = 10.8169
  Prefactor  = 1.06365e-06
  Prefactor  = 51.5553
  Prefactor  = 8.34166e-07
  Prefactor  = 4.85644
  norm       = 5.55112e-11
  Prefactor  = 5.27356e-09
  norm       = 1.11596
  Prefactor  = 108.864
  norm       = 0
  norm       = 22.088
  Normalizat = 0.776177
  Prefactor  = 1.052
 **********
 **   18 **HESSE 
 **********

 FCN=   5718.046     FROM HESSE     STATUS=OK           308 CALLS     1802 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3461        1.7996        .94165E-03   -1.5685    
   2  Prefactor     .83267E-09    16.165        .17011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    10.387        .16581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36434        5.2043        .93290E-03   -1.5696    
   5  Prefactor     .29921E-07    14.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.937        12.291        .28972E-03   -1.5639    
   7  Prefactor     10.817        23.223        .30526E-03   -1.5642    
   8  Prefactor     .10636E-05    14.826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.555        22.198        .13923E-03   -1.5564    
  10  Prefactor     .83417E-06    16.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8564        4.5445        .45648E-03   -1.5664    
  12  norm          .55511E-10    2.6087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .52736E-08    175.19        .55162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1160        1.5795        .11391E-02   -1.5687    
  15  Prefactor     108.86        38.279        .94820E-04   -1.5499    
  16  norm           .0000        5.6282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          22.088        17.037        .21190E-03   -1.5614    
  18  Normalizat    .77618        .24298        .79988E-01   -1.0096    
  19  Prefactor     1.0520        .13893        .39761E-01   -.91016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31954e-07
Minuit parameter uncertainties:
  1  1.79956
  2  0.000229342
  3  9.95041e-05
  4  2.75402
  5  0.00131646
  6  12.2914
  7  23.2229
  8  0.00794218
  9  22.1977
  10  0.00734914
  11  4.54455
  12  1.83756e-05
  13  0.00192316
  14  1.57945
  15  38.2794
  16  1.6304e-05
  17  17.0374
  18  0.243321
  19  0.138975
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  8.342e-07  7.349e-03  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.052e+00  1.390e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  7.762e-01  2.433e-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: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/121940/likelihoodResults_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.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): 102
logL (Free Index) = 5718.04610542
delta logL = -8.17018872112e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5718.04602559
delta logL = -1.8677310436e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98170E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.7372       1.0000          .0000       10.000    
     3 'Normalizat'    .77585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0522       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=   5718.046     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      246 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68279E-08    24.289       -.95461E-06** at limit **
   2  Index         3.1216        3.6639        .10701E-03   -.39185E-09
   3  Normalizat    .77618        .26188       -.81943E-04    .34678E-03
   4  Prefactor     1.0520        .15920        .33491E-04    .36536E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82787e-09
  Index      = 3.12159
  Normalizat = 0.776181
  Prefactor  = 1.052
 **********
 **   18 **HESSE 
 **********

 FCN=   5718.046     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      283 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68279E-08    1.2780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1216        6.4700        .50000       -.38513    
   3  Normalizat    .77618        .13181E-02    .79988E-01   -1.0096    
   4  Prefactor     1.0520        .80012E-03    .39784E-01   -.91016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.92903e-11
Minuit parameter uncertainties:
  1  0.000186934
  2  6353.75
  3  0.00131813
  4  0.000800124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121940': 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) = 5718.04602369
delta logL = 2.53212419921e-08

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  6.828e-09  1.869e-04  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  3.122e+00  6.354e+03  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.052e+00  8.001e-04  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  7.762e-01  1.318e-03  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/121940/cmap_HighResolution_696038401_696297601_4FGL_J2219.2-0342_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.45e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2023-01-25 01:52:33.628502', job_id='121940', GAL2='1.05', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1674640353.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1762' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:52:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 121940: <4FGL_J2219.2-0342_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 01:40:17 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:42:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:42:02 2023
Terminated at Wed Jan 25 01:52:34 2023
Results reported at Wed Jan 25 01:52:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1762 334.823 -3.7102 696038401 696297601 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 :                                   512.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            737 sec.

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

