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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1771
RA = 222.422, Dec = -21.6271
tmin = 698371201, tmax = 698630401
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='551443', job_status='RUN', time_executed='2023-02-21 01:05:57.985132', time_epoch_executed='1676970357.99' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551443

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551443/ft1_4FGL_J1449.6-2137_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551443/ft1_4FGL_J1449.6-2137_daily_bin1771.fits outfile=/scratch/kocevski/551443/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1771.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=698371201.0 tmax=698630401.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.17
user 2.84
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.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/551443/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.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.14

Number of photons that the gtmktime cut: 972

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/551443/ltcube_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.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/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits
.....................!
real 13.34
user 12.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/551443/ltcube_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits outfile=/scratch/kocevski/551443/expmap_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.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/551443/ltcube_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits
.....................!
real 193.20
user 186.05
sys 5.85

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1449.6-2137 @ 222.422 -21.6271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits outfile=/scratch/kocevski/551443/cmap_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.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=222.422 yref=-21.6271 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits outfile=/scratch/kocevski/551443/cmap_HighResolution_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.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=222.422 yref=-21.6271 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551443/Model_4FGL_J1449.6-2137_daily_bin1771.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/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits.....................!
real 95.36
user 93.57
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits', '/scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits', expMap='/scratch/kocevski/551443/expmap_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits', expCube='/scratch/kocevski/551443/ltcube_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551443/Model_4FGL_J1449.6-2137_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1449.6-2137'

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/551443/ft1_filtered_4FGL_J1449.6-2137_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/551443/ft2_4FGL_J1449.6-2137_daily_bin1771.fits
Exposure map: /scratch/kocevski/551443/expmap_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits
Exposure cube: /scratch/kocevski/551443/ltcube_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551443/Model_4FGL_J1449.6-2137_daily_bin1771.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) = 10400.7856592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.199       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49325E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28441E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19819E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2916       1.0000          .0000       .10000E+07
     6 'norm      '    20.958       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.424       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25430E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25024E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11225E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    177.42       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.6787       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.7980       1.0000          .0000       .10000E+07
    14 'norm      '    1.1380       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.769       1.0000          .0000       .10000E+07
    16 'norm      '    4.2888       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0063       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98706       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10400.78     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1387 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.420        67.583       -.90286E-06    .13699E-01
   2  Prefactor      .0000        11.564        .24506E-07** at limit **
   3  Prefactor      .0000        35.270        .39312E-07** at limit **
   4  Prefactor     .28144E-07    22.425        .11194E-07** at limit **
   5  Prefactor     9.2663        16.926       -.56358E-06   -.68179E-01
   6  norm          20.927        15.450        .46172E-07   -.67814E-02
   7  Prefactor     30.364        18.613        .23888E-06   -.11474    
   8  Prefactor      .0000        2.3241        .88134E-08** at limit **
   9  Prefactor     .15710E-07    19.046        .59674E-07** at limit **
  10  Prefactor     .61062E-09    12.905       -.73021E-07** at limit **
  11  Prefactor     178.60        121.31       -.80454E-07   -.19032E-01
  12  Prefactor     9.6962        12.035        .60559E-08   -.24197E-02
  13  Prefactor     6.9488        8.3181       -.31057E-07   -.46857E-03
  14  norm          1.1386        .60727       -.99477E-08   -.15352E-02
  15  Prefactor     11.701        7.8979        .47618E-07   -.21915E-03
  16  norm          4.2925        2.8763       -.24551E-07   -.54719E-03
  17  Normalizat    1.0061        .28022       -.75588E-06    .15201E-05
  18  Prefactor     .98690        .96294E-01    .57429E-06    .39397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.4199
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.81442e-08
  Prefactor  = 9.26635
  norm       = 20.9272
  Prefactor  = 30.3641
  Prefactor  = 0
  Prefactor  = 1.57097e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 178.605
  Prefactor  = 9.69625
  Prefactor  = 6.94881
  norm       = 1.13859
  Prefactor  = 11.701
  norm       = 4.29254
  Normalizat = 1.00611
  Prefactor  = 0.986904
 **********
 **   18 **HESSE 
 **********

 FCN=   10400.78     FROM HESSE     STATUS=OK           286 CALLS     1673 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.420        68.765        .15216E-03   -1.5576    
   2  Prefactor      .0000        11.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.840        .16534E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28144E-07    22.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.2663        24.112        .32854E-03   -1.5647    
   6  norm          20.927        15.684        .21850E-03   -1.5616    
   7  Prefactor     30.364        21.363        .18133E-03   -1.5598    
   8  Prefactor      .0000        2.3185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15710E-07    19.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61062E-09    12.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     178.60        122.26        .75082E-04   -1.5441    
  12  Prefactor     9.6962        12.039        .32187E-03   -1.5646    
  13  Prefactor     6.9488        8.3352        .38459E-03   -1.5655    
  14  norm          1.1386        .61334        .10907E-02   -1.5687    
  15  Prefactor     11.701        7.9084        .29176E-03   -1.5640    
  16  norm          4.2925        2.8789        .48624E-03   -1.5667    
  17  Normalizat    1.0061        .24157        .10153       -.92826    
  18  Prefactor     .98690        .81860E-01    .46105E-01   -.93167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45624e-07
Minuit parameter uncertainties:
  1  68.7662
  2  7.38742e-06
  3  6.54841e-06
  4  0.00159034
  5  24.1126
  6  15.6835
  7  21.3631
  8  9.00884e-07
  9  0.00109467
  10  0.000173977
  11  122.262
  12  12.0395
  13  8.33521
  14  0.613337
  15  7.9084
  16  2.87885
  17  0.241836
  18  0.0818706
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  9.696e+00  1.204e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  9.869e-01  8.187e-02  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.006e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551443/likelihoodResults_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.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) = 10400.70681
delta logL = 0.0772168506046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10400.6857033
delta logL = 0.0983234669602

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4281       1.0000          .0000       .10000E+07
     2 'Index     '    3.0402       1.0000          .0000       10.000    
     3 'Normalizat'    .97589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10400.69     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4227        192.98        .19549E-04   -.49897E-03
   2  Index         3.0411        6.2974        .77246E-02    .86847E-03
   3  Normalizat    .97625        .26094        .22799E-02    .25653E-03
   4  Prefactor     .99465        .87940E-01    .15691E-03   -.90643E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10400.69     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      400 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4227        192.98        .33117E-04   -.49897E-03
   2  Index         3.0411        6.2974        .23361E-02    .86847E-03
   3  Normalizat    .97625        .26094        .26112E-03    .25653E-03
   4  Prefactor     .99465        .87940E-01    .78228E-04   -.90643E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10400.69     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      434 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4226        35.523        .78196E-06   -.14362E-03
   2  Index         3.0411        2.9145        .15449E-02    .32255E-04
   3  Normalizat    .97623        .28984        .91197E-04    .15209E-04
   4  Prefactor     .99466        .99411E-01    .31383E-04    .47239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.42264
  Index      = 3.04109
  Normalizat = 0.976235
  Prefactor  = 0.994656
 **********
 **   18 **HESSE 
 **********

 FCN=   10400.69     FROM HESSE     STATUS=OK            25 CALLS      459 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4226        16.632        .37362E-06   -1.5671    
   2  Index         3.0411        2.0801        .30899E-03   -.40257    
   3  Normalizat    .97623        .28314        .36479E-05   -.93831    
   4  Prefactor     .99466        .97126E-01    .62765E-05   -.92908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76634e-13
Minuit parameter uncertainties:
  1  15.0898
  2  2.15846
  3  0.283577
  4  0.0971431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551443': 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): 0
logL (Free Index) = 10400.6857022
delta logL = 0.0983246361993

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  3.423e+00  1.509e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  3.041e+00  2.158e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  9.947e-01  9.714e-02  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.762e-01  2.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 3.04 +/- 2.16
Photon Flux (Free Index): 5.43e-08 +/- 6.39e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.33e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/551443/cmap_HighResolution_698371201_698630401_4FGL_J1449.6-2137_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='9.83e-02', photon_flux2='5.43e-08', job_status='DONE', time_completed='2023-02-21 01:18:45.587275', photon_index_error2='2.16', photon_index2='3.04', ts='0.82', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.33e-05', EG='1.01', time_epoch_completed='1676971125.59', return_code='0', job_id='551443', GAL2='0.99', EG2='0.98', return_code2='0', photon_flux_error2='6.39e-08', ts2='1.04', photon_index='2.36' WHERE bin_id='1771' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:18:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 551443: <4FGL_J1449.6-2137_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 01:05:18 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:05:19 2023
Terminated at Tue Feb 21 01:18:46 2023
Results reported at Tue Feb 21 01:18:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1771 222.422 -21.6271 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1449.6-2137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   763.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

