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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1779
RA = 334.823, Dec = -3.7102
tmin = 700444801, tmax = 700704001
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='39095', job_status='RUN', time_executed='2023-03-17 02:33:41.455519', time_epoch_executed='1679045621.46' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/39095

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/39095/ft1_4FGL_J2219.2-0342_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/39095/ft1_4FGL_J2219.2-0342_daily_bin1779.fits outfile=/scratch/kocevski/39095/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1779.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=700444801.0 tmax=700704001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.30
user 5.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/39095/ltcube_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.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/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits
.....................!
real 12.49
user 12.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/39095/ltcube_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.fits outfile=/scratch/kocevski/39095/expmap_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.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/39095/ltcube_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.fits
.....................!
real 190.75
user 185.50
sys 4.73

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/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits scfile=/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits outfile=/scratch/kocevski/39095/cmap_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits scfile=/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits outfile=/scratch/kocevski/39095/cmap_HighResolution_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/39095/ft2_4FGL_J2219.2-0342_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/39095/Model_4FGL_J2219.2-0342_daily_bin1779.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/39095/ft1_filtered_4FGL_J2219.2-0342_daily_bin1779.fits.....................!
real 56.13
user 54.73
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16276E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .43982E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98311E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.4037       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4790       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13710E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .46130E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97560E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.295       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42665E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    19.762       1.0000          .0000       .10000E+07
    12 'norm      '    .22473       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47036E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .30199       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54748E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.5379       1.0000          .0000       .10000E+07
    17 'norm      '    19.568       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1540       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83824       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=   5504.032     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1404 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1895       -.10507E-06** at limit **
   2  Prefactor     .11210E-05    17.085        .54825E-06** at limit **
   3  Prefactor     .13979E-05    14.294        .89575E-06** at limit **
   4  Prefactor     5.4237        6.0255       -.22930E-07   -.46979E-03
   5  Prefactor     4.5209        8.0132        .21629E-06    .81003E-02
   6  Prefactor      .0000        2.9308       -.12427E-06** at limit **
   7  Prefactor     .38858E-09    8.4938        .80544E-07** at limit **
   8  Prefactor     .22032E-06    34.989        .33759E-06** at limit **
   9  Prefactor     16.259        1.7466        .93847E-08   -.21693E-02
  10  Prefactor     .55511E-10    3.8969       -.40437E-06** at limit **
  11  Prefactor     19.528        7.0785        .11022E-07    .40645E-02
  12  norm          .24794        20.574        .14229E-05** at limit **
  13  Prefactor     .59952E-08    1.6918        .11438E-06** at limit **
  14  norm          .30156        .93491       -.93706E-07   -.16738E-02
  15  Prefactor     .23648E-07    8.4661        .78039E-06** at limit **
  16  norm          1.5400        1.7234       -.20687E-07   -.73008E-03
  17  norm          19.579        8.4780       -.52596E-07   -.14132    
  18  Normalizat    1.1548        .28056       -.14809E-05   -.62211E-04
  19  Prefactor     .83812        .15930       -.93252E-06   -.58537E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.12105e-06
  Prefactor  = 1.39788e-06
  Prefactor  = 5.42368
  Prefactor  = 4.52091
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 2.20324e-07
  Prefactor  = 16.2591
  Prefactor  = 5.55112e-11
  Prefactor  = 19.5278
  norm       = 0.24794
  Prefactor  = 5.9952e-09
  norm       = 0.301559
  Prefactor  = 2.36478e-08
  norm       = 1.53999
  norm       = 19.5791
  Normalizat = 1.15481
  Prefactor  = 0.838123
 **********
 **   18 **HESSE 
 **********

 FCN=   5504.032     FROM HESSE     STATUS=OK           312 CALLS     1716 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11210E-05    22.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13979E-05    24.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4237        6.0299        .43206E-03   -1.5661    
   5  Prefactor     4.5209        8.1666        .47552E-03   -1.5665    
   6  Prefactor      .0000        2.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38858E-09    8.4952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22032E-06    35.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.259        17.178        .24784E-03   -1.5627    
  10  Prefactor     .55511E-10    3.8926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.528        7.1107        .22503E-03   -1.5620    
  12  norm          .24794        2.5721        .74121E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .59952E-08    41.180        .15661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .30156        .90254        .28509E-02   -1.5697    
  15  Prefactor     .23648E-07    23.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5400        1.7517        .85965E-03   -1.5683    
  17  norm          19.579        14.385        .22614E-03   -1.5619    
  18  Normalizat    1.1548        .23806        .67259E-01   -.88011    
  19  Prefactor     .83812        .13305        .44213E-01   -.98338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25339e-07
Minuit parameter uncertainties:
  1  1.46003e-06
  2  0.010132
  3  0.0117911
  4  6.02989
  5  8.16665
  6  4.09822e-06
  7  0.000111174
  8  0.00560695
  9  17.1785
  10  2.80673e-05
  11  7.11073
  12  1.59716
  13  0.000992769
  14  0.902539
  15  0.00150468
  16  1.75166
  17  14.3855
  18  0.23828
  19  0.133103
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.551e-11  2.807e-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:  8.381e-01  1.331e-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.155e+00  2.383e-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.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/39095/likelihoodResults_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.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) = 5504.0337499
delta logL = -0.00195499147412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5504.03179739
delta logL = -2.47985190072e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47765E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2364       1.0000          .0000       10.000    
     3 'Normalizat'    1.1550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83793       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=   5504.032     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      274 TOTAL
                     EDM=   .46E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .44907E-02    .42118E-03** at limit **
   2  Index         4.5726        7.7015        .50000        .11369E-09
   3  Normalizat    1.1548        .35197E-03    .67259E-01   -.12607E-03
   4  Prefactor     .83812        .20538E-03    .44209E-01   -.10724E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 4.57257
  Normalizat = 1.15481
  Prefactor  = 0.838124
 **********
 **   18 **HESSE 
 **********

 FCN=   5504.032     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .40698E-01    .80566E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5726        6.3588        .50000       -.85591E-01
   3  Normalizat    1.1548        .10520E-02    .29757E-03   -.88011    
   4  Prefactor     .83812        .61438E-03    .19940E-03   -.98338    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.21063e-13
Minuit parameter uncertainties:
  1  3.07452e-06
  2  25553.4
  3  0.00105204
  4  0.000614381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/39095': 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) = 5504.03179491
delta logL = -3.27418092638e-11

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.551e-11  3.075e-06  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  4.573e+00  2.555e+04  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:  8.381e-01  6.144e-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:  1.155e+00  1.052e-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/39095/cmap_HighResolution_700444801_700704001_4FGL_J2219.2-0342_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.02e-08', time_completed='2023-03-17 02:41:56.791712', job_id='39095', GAL2='0.84', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1679046116.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-3.27e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1779' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:41:56 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 39095: <4FGL_J2219.2-0342_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:30:16 2023
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:30:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:30:17 2023
Terminated at Fri Mar 17 02:41:58 2023
Results reported at Fri Mar 17 02:41:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1779 334.823 -3.7102 700444801 700704001 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 :                                   497.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             265.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            702 sec.

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

