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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1768
RA = 334.823, Dec = -3.7102
tmin = 697593601, tmax = 697852801
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='283248', job_status='RUN', time_executed='2023-02-12 01:42:32.333095', time_epoch_executed='1676194952.33' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283248

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283248/ft1_4FGL_J2219.2-0342_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283248/ft1_4FGL_J2219.2-0342_daily_bin1768.fits outfile=/scratch/kocevski/283248/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1768.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=697593601.0 tmax=697852801.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.66
user 3.41
sys 0.22

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

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

Number of photons that the gtmktime cut: 589

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/283248/ltcube_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.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/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits
.....................!
real 16.24
user 15.85
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283248/ltcube_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.fits outfile=/scratch/kocevski/283248/expmap_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.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/283248/ltcube_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.fits
.....................!
real 192.84
user 186.78
sys 5.64

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/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits scfile=/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits outfile=/scratch/kocevski/283248/cmap_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits scfile=/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits outfile=/scratch/kocevski/283248/cmap_HighResolution_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283248/ft2_4FGL_J2219.2-0342_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283248/Model_4FGL_J2219.2-0342_daily_bin1768.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/283248/ft1_filtered_4FGL_J2219.2-0342_daily_bin1768.fits.....................!
real 65.21
user 63.71
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3729       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17822E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20065E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22656E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13738E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30466E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.3299       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.120       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.610       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.6751       1.0000          .0000       .10000E+07
    12 'norm      '    2.9517       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98676E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .67447       1.0000          .0000       .10000E+07
    15 'Prefactor '    26.739       1.0000          .0000       .10000E+07
    16 'norm      '    .23483E-05   1.0000          .0000       .10000E+07
    17 'norm      '    16.286       1.0000          .0000       .10000E+07
    18 'Normalizat'    .67261       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2101       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=   6746.251     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     1777 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3833        1.9925       -.18740E-08   -.57855E-04
   2  Prefactor     1.3515        253.88        .26709E-08   -.47208E-04
   3  Prefactor      .0000        25.479       -.15173E-07** at limit **
   4  Prefactor      .0000        3.5672       -.43117E-08** at limit **
   5  Prefactor     .40744E-05    4.1103        .88331E-07** at limit **
   6  Prefactor      .0000        5.8479       -.31629E-08** at limit **
   7  Prefactor      .0000        6.5984        .92238E-09** at limit **
   8  Prefactor     9.4117        19.169        .10480E-07    .57712E-05
   9  Prefactor     17.771        15.672        .19596E-07   -.21500E-02
  10  Prefactor     10.563        14.543        .44371E-08   -.40865E-03
  11  Prefactor     8.7063        5.8633        .41018E-08   -.14786E-02
  12  norm          2.9437        3.9675        .22905E-07   -.27139E-02
  13  Prefactor     .55511E-10    27.770        .11487E-07** at limit **
  14  norm          .67477        .92698        .10277E-07   -.54027E-02
  15  Prefactor     26.677        22.462       -.23845E-06   -.44230E-02
  16  norm          .22204E-09    1.2828        .81262E-07** at limit **
  17  norm          16.569        16.268        .19857E-07    .10238E-02
  18  Normalizat    .67426        .25092       -.10818E-06   -.29152E-03
  19  Prefactor     1.2097        .14014        .25105E-07   -.52498E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38333
  Prefactor  = 1.3515
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.07435e-06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.41172
  Prefactor  = 17.7712
  Prefactor  = 10.5625
  Prefactor  = 8.70629
  norm       = 2.94372
  Prefactor  = 5.55112e-11
  norm       = 0.674767
  Prefactor  = 26.6772
  norm       = 2.22045e-10
  norm       = 16.5688
  Normalizat = 0.674264
  Prefactor  = 1.20971
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.251     FROM HESSE     STATUS=OK           274 CALLS     2051 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3833        1.9452        .13157E-04   -1.5684    
   2  Prefactor     1.3515        251.15        .25422E-04   -1.5685    
   3  Prefactor      .0000        25.475        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.5709        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .40744E-05    108.24        .28746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.8522        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        6.5994        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.4117        19.121        .13114E-04   -1.5647    
   9  Prefactor     17.771        15.557        .94005E-05   -1.5624    
  10  Prefactor     10.563        14.490        .12294E-04   -1.5643    
  11  Prefactor     8.7063        5.8361        .13603E-04   -1.5649    
  12  norm          2.9437        3.9201        .17698E-04   -1.5674    
  13  Prefactor     .55511E-10    27.774        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .67477        .90701        .88153E-05   -1.5692    
  15  Prefactor     26.677        23.606        .77370E-05   -1.5605    
  16  norm          .22204E-09    4.5546        .15468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.569        16.234        .99166E-05   -1.5627    
  18  Normalizat    .67426        .27550        .39080E-03   -1.0492    
  19  Prefactor     1.2097        .15804        .18342E-03   -.86033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57862e-08
Minuit parameter uncertainties:
  1  1.94522
  2  36.8484
  3  3.85448e-05
  4  2.97542e-06
  5  0.0420015
  6  2.93467e-06
  7  1.41914e-06
  8  19.121
  9  15.5572
  10  14.4902
  11  5.83613
  12  3.92013
  13  6.70516e-05
  14  0.90701
  15  23.6062
  16  6.31281e-05
  17  16.2345
  18  0.276062
  19  0.158101
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.056e+01  1.449e+01  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.210e+00  1.581e-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:  6.743e-01  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/283248/likelihoodResults_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.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) = 6745.04116834
delta logL = 1.20970274624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6744.96184072
delta logL = 1.28903036142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51005E-01   1.0000          .0000       .10000E+07
     2 'Index     '    7.3194       1.0000          .0000       10.000    
     3 'Normalizat'    .57486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2601       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=   6744.962     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      304 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50464E-01    .51889        .26555E-03** at limit **
   2  Index         7.3264        3.3273        .17610       -.22267E-03
   3  Normalizat    .57512        .59297E-01    .94933E-01   -.18259E-03
   4  Prefactor     1.2599        .36456E-01    .33344E-01   -.26862E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0504642
  Index      = 7.32642
  Normalizat = 0.575124
  Prefactor  = 1.25994
 **********
 **   18 **HESSE 
 **********

 FCN=   6744.962     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50464E-01    1.1112        .11999E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3264        8.1659        .70852E-02    .48395    
   3  Normalizat    .57512        .20257        .42066E-03   -1.0905    
   4  Prefactor     1.2599        .12285        .18018E-03   -.84506    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16456e-09
Minuit parameter uncertainties:
  1  0.473606
  2  6.25381
  3  0.20283
  4  0.122875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283248': 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) = 6744.96183877
delta logL = 1.28903230951

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.046e-02  4.736e-01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  7.326e+00  6.254e+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:  1.260e+00  1.229e-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:  5.751e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 7.33 +/- 6.25
Photon Flux (Free Index): 1.17e-07 +/- 7.72e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.03e-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/283248/cmap_HighResolution_697593601_697852801_4FGL_J2219.2-0342_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-02', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='1.29e+00', photon_flux2='1.17e-07', job_status='DONE', time_completed='2023-02-12 01:52:02.102737', photon_index_error2='6.25', photon_index2='7.33', ts='0.73', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.03e-05', EG='0.67', time_epoch_completed='1676195522.1', return_code='0', job_id='283248', GAL2='1.26', EG2='0.58', return_code2='102', photon_flux_error2='7.72e-08', ts2='3.56', photon_index='2.68' WHERE bin_id='1768' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:52:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 283248: <4FGL_J2219.2-0342_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:17 2023
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:51 2023
Terminated at Sun Feb 12 01:52:02 2023
Results reported at Sun Feb 12 01:52:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1768 334.823 -3.7102 697593601 697852801 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 :                                   572.15 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             293.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            705 sec.

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

