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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1750
RA = 334.823, Dec = -3.7102
tmin = 692928001, tmax = 693187201
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='27224', job_status='RUN', time_executed='2022-12-20 01:50:36.400863', time_epoch_executed='1671529836.4' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27224/ft1_4FGL_J2219.2-0342_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27224/ft1_4FGL_J2219.2-0342_daily_bin1750.fits outfile=/scratch/kocevski/27224/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1750.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=692928001.0 tmax=693187201.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.54
user 3.33
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.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/27224/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/27224/ltcube_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.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/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits
.....................!
real 11.56
user 11.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/27224/ltcube_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.fits outfile=/scratch/kocevski/27224/expmap_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.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/27224/ltcube_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.fits
.....................!
real 189.89
user 185.37
sys 4.21

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/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits outfile=/scratch/kocevski/27224/cmap_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits outfile=/scratch/kocevski/27224/cmap_HighResolution_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27224/ft2_4FGL_J2219.2-0342_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27224/Model_4FGL_J2219.2-0342_daily_bin1750.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/27224/ft1_filtered_4FGL_J2219.2-0342_daily_bin1750.fits.....................!
real 62.96
user 61.62
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78668E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.621       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16819E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.650       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.6344       1.0000          .0000       .10000E+07
     6 'Prefactor '    .82312E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.905       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15812E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.571       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25282E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0736       1.0000          .0000       .10000E+07
    12 'norm      '    13.821       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57872E-01   1.0000          .0000       .10000E+07
    14 'norm      '    4.8445       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.721       1.0000          .0000       .10000E+07
    16 'norm      '    .21458E-05   1.0000          .0000       .10000E+07
    17 'norm      '    7.0842       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0369       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91932       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=   6377.327     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1430 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    4.2648       -.44553E-08** at limit **
   2  Prefactor     17.351        30.642        .48245E-05   -.13177E-01
   3  Prefactor     .69750E-06    17.051       -.36367E-06** at limit **
   4  Prefactor     17.716        9.5783        .10580E-05   -.26411E-01
   5  Prefactor     6.5152        7.4322       -.63552E-07    .23836E-03
   6  Prefactor     .17208E-08    3.3753        .44298E-06** at limit **
   7  Prefactor     21.763        21.617       -.20272E-05   -.57857E-02
   8  Prefactor     .54290E-06    18.508        .95367E-06** at limit **
   9  Prefactor     21.117        16.393        .13071E-05   -.18333E-02
  10  Prefactor     .66613E-09    3.3390       -.24962E-07** at limit **
  11  Prefactor     6.0727        3.7294        .26766E-06   -.63071E-02
  12  norm          13.801        5.7022        .48235E-07    .61880E-03
  13  Prefactor     .13626E-05    9.3175       -.46786E-05** at limit **
  14  norm          4.8474        1.6824       -.41437E-07   -.37393E-02
  15  Prefactor     28.519        4.7713        .49040E-06    .14960E-01
  16  norm          .55511E-10    2.6140       -.10744E-06** at limit **
  17  norm          6.8761        14.147       -.13295E-05    .19493E-02
  18  Normalizat    1.0393        .27873       -.45550E-05    .17466E-03
  19  Prefactor     .91876        .15711        .82185E-06    .30610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 17.351
  Prefactor  = 6.97498e-07
  Prefactor  = 17.7162
  Prefactor  = 6.51521
  Prefactor  = 1.72085e-09
  Prefactor  = 21.7634
  Prefactor  = 5.42899e-07
  Prefactor  = 21.1172
  Prefactor  = 6.66134e-10
  Prefactor  = 6.07272
  norm       = 13.8008
  Prefactor  = 1.36263e-06
  norm       = 4.84743
  Prefactor  = 28.5194
  norm       = 5.55112e-11
  norm       = 6.87608
  Normalizat = 1.03933
  Prefactor  = 0.918757
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.327     FROM HESSE     STATUS=OK           310 CALLS     1740 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.1958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.351        33.017        .24540E-03   -1.5625    
   3  Prefactor     .69750E-06    30.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.716        10.316        .23813E-03   -1.5624    
   5  Prefactor     6.5152        7.4340        .38935E-03   -1.5657    
   6  Prefactor     .17208E-08    3.4160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.763        22.428        .21372E-03   -1.5615    
   8  Prefactor     .54290E-06    30.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.117        16.488        .21537E-03   -1.5616    
  10  Prefactor     .66613E-09    3.3581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0727        3.7319        .40716E-03   -1.5659    
  12  norm          13.801        5.6828        .26917E-03   -1.5634    
  13  Prefactor     .13626E-05    45.517        .15240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8474        1.7071        .45680E-03   -1.5664    
  15  Prefactor     28.519        24.621        .18663E-03   -1.5601    
  16  norm          .55511E-10    2.5969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.8761        14.185        .37666E-03   -1.5656    
  18  Normalizat    1.0393        .23777        .74348E-01   -.91724    
  19  Prefactor     .91876        .13261        .45251E-01   -.95489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17984e-08
Minuit parameter uncertainties:
  1  4.87242e-05
  2  33.0178
  3  0.00928683
  4  10.3161
  5  7.43403
  6  0.000153967
  7  22.4277
  8  0.00807196
  9  16.488
  10  9.48612e-05
  11  3.73193
  12  5.68276
  13  0.015751
  14  1.70712
  15  24.6212
  16  2.83757e-05
  17  14.1854
  18  0.238016
  19  0.132659
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  6.661e-10  9.486e-05  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:  9.188e-01  1.327e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.039e+00  2.380e-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: 7.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/27224/likelihoodResults_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.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) = 6377.32666511
delta logL = -9.14071179068e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6377.3265739
delta logL = -1.98147972696e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44953E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.4015       1.0000          .0000       10.000    
     3 'Normalizat'    1.0393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91880       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=   6377.327     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      275 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .40393E-01    .42118E-03** at limit **
   2  Index         3.6745        5.2218        .50000        .34788E-08
   3  Normalizat    1.0393        .95987E-03    .74348E-01    .41595E-03
   4  Prefactor     .91876        .56767E-03    .45244E-01    .10031E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 3.67455
  Normalizat = 1.03933
  Prefactor  = 0.91876
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.327     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    .20911        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6745        8.1623        .50000       -.26830    
   3  Normalizat    1.0393        .21783E-02    .32902E-03   -.91724    
   4  Prefactor     .91876        .12900E-02    .20459E-03   -.95489    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.62927e-10
Minuit parameter uncertainties:
  1  3.97523e-05
  2  7261.11
  3  0.00217834
  4  0.00128997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27224': 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) = 6377.3265737
delta logL = -9.43146005739e-10

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.887e-09  3.975e-05  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  3.675e+00  7.261e+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:  9.188e-01  1.290e-03  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.039e+00  2.178e-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/27224/cmap_HighResolution_692928001_693187201_4FGL_J2219.2-0342_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2022-12-20 01:59:30.104149', job_id='27224', GAL2='0.92', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671530370.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-9.43e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1750' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:59:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 27224: <4FGL_J2219.2-0342_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 01:50:16 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:50:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:50:17 2022
Terminated at Tue Dec 20 01:59:31 2022
Results reported at Tue Dec 20 01:59:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1750 334.823 -3.7102 692928001 693187201 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 :                                   535.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             385.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            555 sec.

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

