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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1773
RA = 222.422, Dec = -21.6271
tmin = 698889601, tmax = 699148801
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='794133', job_status='RUN', time_executed='2023-02-27 09:57:24.815544', time_epoch_executed='1677520644.82' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794133

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794133/ft1_4FGL_J1449.6-2137_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794133/ft1_4FGL_J1449.6-2137_daily_bin1773.fits outfile=/scratch/kocevski/794133/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1773.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.94
user 2.75
sys 0.17

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

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

Number of photons that the gtmktime cut: 1156

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/794133/ltcube_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.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/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits
.....................!
real 15.11
user 14.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/794133/ltcube_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits outfile=/scratch/kocevski/794133/expmap_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.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/794133/ltcube_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits
.....................!
real 193.48
user 185.30
sys 6.00

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/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits scfile=/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits outfile=/scratch/kocevski/794133/cmap_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits scfile=/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits outfile=/scratch/kocevski/794133/cmap_HighResolution_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.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.55
user 0.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794133/Model_4FGL_J1449.6-2137_daily_bin1773.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/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits.....................!
real 105.75
user 103.24
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits', '/scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits', expMap='/scratch/kocevski/794133/expmap_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits', expCube='/scratch/kocevski/794133/ltcube_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794133/Model_4FGL_J1449.6-2137_daily_bin1773.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/794133/ft1_filtered_4FGL_J1449.6-2137_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/794133/ft2_4FGL_J1449.6-2137_daily_bin1773.fits
Exposure map: /scratch/kocevski/794133/expmap_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits
Exposure cube: /scratch/kocevski/794133/ltcube_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794133/Model_4FGL_J1449.6-2137_daily_bin1773.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) = 12300.3704477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31005E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .87624E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12563E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.225       1.0000          .0000       .10000E+07
     5 'Prefactor '    29.318       1.0000          .0000       .10000E+07
     6 'norm      '    5.0959       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.9291       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14649E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .78230E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .55819E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .70435       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7695       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9968       1.0000          .0000       .10000E+07
    14 'norm      '    1.5676       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65648E-04   1.0000          .0000       .10000E+07
    16 'norm      '    6.2402       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88219       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=   12300.30     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1314 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16354E-06    11.732       -.78821E-06** at limit **
   2  Prefactor      .0000        9.0199       -.32734E-08** at limit **
   3  Prefactor      .0000        4.5290        .10440E-07** at limit **
   4  Prefactor     17.511        1.4470        .21743E-07    .16358E-01
   5  Prefactor     28.951        6.9854        .36439E-07   -.49377E-01
   6  norm          5.1432        6.9318       -.14999E-06    .34388E-03
   7  Prefactor     10.407        13.881        .26136E-06    .14222E-01
   8  Prefactor      .0000        1.9645       -.84293E-07** at limit **
   9  Prefactor     .36637E-07    22.601       -.89701E-06** at limit **
  10  Prefactor      .0000        24.494       -.51414E-06** at limit **
  11  Prefactor     .10708E-06    96.541       -.15749E-06** at limit **
  12  Prefactor     6.8387        8.1006        .13460E-06    .50866E-04
  13  Prefactor     2.9645        8.0498       -.25988E-06   -.16462E-03
  14  norm          1.5675        .57422       -.25879E-07   -.12567E-03
  15  Prefactor     .14766E-06    9.6427       -.75003E-06** at limit **
  16  norm          6.2432        3.0456       -.63366E-07   -.14152E-02
  17  Normalizat    1.0019        .23115        .54510E-05   -.40808E-05
  18  Prefactor     .88230        .81295E-01   -.15643E-05    .38691E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.63536e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 17.5114
  Prefactor  = 28.9513
  norm       = 5.14323
  Prefactor  = 10.4068
  Prefactor  = 0
  Prefactor  = 3.66374e-08
  Prefactor  = 0
  Prefactor  = 1.07081e-07
  Prefactor  = 6.83867
  Prefactor  = 2.96447
  norm       = 1.56747
  Prefactor  = 1.4766e-07
  norm       = 6.24318
  Normalizat = 1.00193
  Prefactor  = 0.882298
 **********
 **   18 **HESSE 
 **********

 FCN=   12300.30     FROM HESSE     STATUS=OK           282 CALLS     1596 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16354E-06    19.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.0348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.5293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.511        21.599        .24105E-03   -1.5624    
   5  Prefactor     28.951        27.266        .18471E-03   -1.5600    
   6  norm          5.1432        6.9391        .44515E-03   -1.5663    
   7  Prefactor     10.407        15.111        .31776E-03   -1.5643    
   8  Prefactor      .0000        1.9588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36637E-07    22.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        24.202        .15316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10708E-06    97.665        .60356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8387        8.1057        .38541E-03   -1.5656    
  13  Prefactor     2.9645        8.0925        .58612E-03   -1.5674    
  14  norm          1.5675        .57719        .84899E-03   -1.5683    
  15  Prefactor     .14766E-06    22.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.2432        3.0499        .40162E-03   -1.5658    
  17  Normalizat    1.0019        .20031        .91498E-01   -.92966    
  18  Prefactor     .88230        .69736E-01    .33762E-01   -.96762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68565e-07
Minuit parameter uncertainties:
  1  0.00360159
  2  1.18422e-05
  3  1.69769e-05
  4  21.5995
  5  27.2665
  6  6.93913
  7  15.1106
  8  7.27027e-07
  9  0.00183545
  10  1.3715e-05
  11  0.0064683
  12  8.10576
  13  8.09254
  14  0.57719
  15  0.00363809
  16  3.04991
  17  0.200458
  18  0.0697433
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  6.839e+00  8.106e+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

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.823e-01  6.974e-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.002e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.00
Ra Dec: 222.422 -21.627
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.68e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 9.23e-06 +/- 1.09e-05

TS (Fixed Index): 1.00
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794133/likelihoodResults_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.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) = 12300.3002793
delta logL = 0.00106343126026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12300.2997432
delta logL = 0.0015995231588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5369       1.0000          .0000       .10000E+07
     2 'Index     '    2.4035       1.0000          .0000       10.000    
     3 'Normalizat'    1.0008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88253       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.

 FCN=   12300.30     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      247 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5364        10.173        .15691E-04   -.28981E-05
   2  Index         2.4039        .78475        .82129E-02    .38317E-03
   3  Normalizat    1.0007        .22910        .40544E-03   -.59642E-03
   4  Prefactor     .88255        .79757E-01    .14916E-03   -.69996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.5364
  Index      = 2.40388
  Normalizat = 1.00069
  Prefactor  = 0.882547
 **********
 **   18 **HESSE 
 **********

 FCN=   12300.30     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5364        9.6016        .62765E-06   -1.5657    
   2  Index         2.4039        .74092        .16426E-02   -.54594    
   3  Normalizat    1.0007        .22915        .16218E-04   -.93007    
   4  Prefactor     .88255        .79781E-01    .29832E-04   -.96754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13323e-10
Minuit parameter uncertainties:
  1  9.60167
  2  0.74468
  3  0.229373
  4  0.079791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794133': 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) = 12300.299743
delta logL = 0.00159967757463

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  6.536e+00  9.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        Index:  2.404e+00  7.447e-01  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:  8.825e-01  7.979e-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.001e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 2.40 +/- 0.74
Photon Flux (Free Index): 2.77e-08 +/- 3.62e-08
Energy Flux (Free Index): 9.03e-06 +/- 1.13e-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/794133/cmap_HighResolution_698889601_699148801_4FGL_J1449.6-2137_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', comment='SUCCESS', photon_flux='2.68e-08', energy_flux2='9.03e-06', photon_flux_error='3.17e-08', dlogl='1.60e-03', energy_flux='9.23e-06', photon_flux2='2.77e-08', job_status='DONE', time_completed='2023-02-27 10:11:01.754944', photon_index_error2='0.74', photon_index2='2.40', ts='1.00', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='9.96e-08', energy_flux_error2='1.13e-05', EG='1.00', time_epoch_completed='1677521461.76', return_code='0', job_id='794133', GAL2='0.88', EG2='1.00', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.62e-08', ts2='1.01', photon_index='2.36' WHERE bin_id='1773' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:11:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 794133: <4FGL_J1449.6-2137_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:55:13 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:55:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:55:15 2023
Terminated at Mon Feb 27 10:11:02 2023
Results reported at Mon Feb 27 10:11:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1773 222.422 -21.6271 698889601 699148801 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 :                                   811.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            949 sec.

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

