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


Performing analysis on: 4FGL_J1446.0-3039_daily_bin1744
RA = 221.523, Dec = -30.6618
tmin = 691372801, tmax = 691632001
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='583768', job_status='RUN', time_executed='2022-12-02 01:12:55.649574', time_epoch_executed='1669972375.65' WHERE source_name='4FGL J1446.0-3039' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583768/ft1_4FGL_J1446.0-3039_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583768/ft1_4FGL_J1446.0-3039_daily_bin1744.fits outfile=/scratch/kocevski/583768/ft1_filteredMKT_4FGL_J1446.0-3039_daily_bin1744.fits ra=221.523 dec=-30.6618 rad=12.0 tmin=691372801.0 tmax=691632001.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.52
user 2.33
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.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/583768/ft1_filteredMKT_4FGL_J1446.0-3039_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 369

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/583768/ltcube_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.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/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits
.....................!
real 12.48
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/583768/ltcube_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits outfile=/scratch/kocevski/583768/expmap_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.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/583768/ltcube_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits
.....................!
real 191.00
user 185.75
sys 4.92

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 214 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1446.0-3039 @ 221.523 -30.6618

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits outfile=/scratch/kocevski/583768/cmap_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.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=221.523 yref=-30.6618 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/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits outfile=/scratch/kocevski/583768/cmap_HighResolution_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.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=221.523 yref=-30.6618 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/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/583768/Model_4FGL_J1446.0-3039_daily_bin1744.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits.....................!
real 75.71
user 73.23
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits', '/scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits', expMap='/scratch/kocevski/583768/expmap_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits', expCube='/scratch/kocevski/583768/ltcube_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/583768/Model_4FGL_J1446.0-3039_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.0-3039'

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  9.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  2.335e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/583768/ft1_filtered_4FGL_J1446.0-3039_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/583768/ft2_4FGL_J1446.0-3039_daily_bin1744.fits
Exposure map: /scratch/kocevski/583768/expmap_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits
Exposure cube: /scratch/kocevski/583768/ltcube_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/583768/Model_4FGL_J1446.0-3039_daily_bin1744.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) = 3868.73818747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5056       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.976       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19519E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .71198E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17706E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .34250E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8208       1.0000          .0000       .10000E+07
     8 'Prefactor '    .67851E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13507E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4963       1.0000          .0000       .10000E+07
    11 'Prefactor '    .41848       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20011E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    93.182       1.0000          .0000       .10000E+07
    14 'norm      '    1.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38498E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10525E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .28513E-02   1.0000          .0000       .10000E+07
    18 'norm      '    250.95       1.0000          .0000       .10000E+07
    19 'norm      '    5.0288       1.0000          .0000       .10000E+07
    20 'Prefactor '    .85632E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .22783E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.6224       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92835       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3868.732     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     1968 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5346        16.016       -.20614E-07   -.26337E-03
   2  Prefactor     26.152        2.5164       -.57891E-07    .36095E-02
   3  Prefactor     .11102E-09    138.87        .58965E-06** at limit **
   4  Prefactor     .44409E-09    32.812       -.18852E-05** at limit **
   5  Prefactor      .0000        15.664       -.16199E-06** at limit **
   6  norm           .0000        2.8924        .70048E-09** at limit **
   7  Prefactor     4.8299        56.666        .81275E-05   -.73068E-03
   8  Prefactor     .46962E-07    19.970       -.24715E-06** at limit **
   9  Prefactor     .11102E-09    84.823       -.21458E-06** at limit **
  10  norm          1.9330        25.543        .80061E-07   -.52732E-02
  11  Prefactor     .11586E-04    697.77       -.27439E-05** at limit **
  12  Prefactor      .0000        11.341       -.18722E-06** at limit **
  13  Prefactor     91.494        67.585       -.39543E-06    .61784E-02
  14  norm          1.2807        2.1328        .47262E-08    .56020E-04
  15  Prefactor     .55511E-10    31.229        .69711E-06** at limit **
  16  Prefactor     .24203E-07    21.128        .29554E-06** at limit **
  17  norm           .0000        18.479        .16278E-06** at limit **
  18  norm          254.34        250.28        .43084E-06    .19403E-03
  19  norm          5.0292        2.7106       -.16536E-07    .46153E-03
  20  Prefactor     .10214E-07    23.175       -.27177E-06** at limit **
  21  norm           .0000        6.8577        .14624E-06** at limit **
  22  Normalizat    1.6236        .51022       -.32908E-06   -.18732E-04
  23  Prefactor     .92788        .18505        .66908E-07   -.56214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.53459
  Prefactor  = 26.152
  Prefactor  = 1.11022e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.82993
  Prefactor  = 4.69624e-08
  Prefactor  = 1.11022e-10
  norm       = 1.933
  Prefactor  = 1.15856e-05
  Prefactor  = 0
  Prefactor  = 91.4941
  norm       = 1.28073
  Prefactor  = 5.55112e-11
  Prefactor  = 2.42029e-08
  norm       = 0
  norm       = 254.344
  norm       = 5.02924
  Prefactor  = 1.02141e-08
  norm       = 0
  Normalizat = 1.62362
  Prefactor  = 0.927881
 **********
 **   18 **HESSE 
 **********

 FCN=   3868.732     FROM HESSE     STATUS=OK           410 CALLS     2378 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5346        16.044        .39324E-03   -1.5657    
   2  Prefactor     26.152        57.162        .19624E-03   -1.5606    
   3  Prefactor     .11102E-09    138.79        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44409E-09    32.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        15.667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.8956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8299        56.543        .45795E-03   -1.5664    
   8  Prefactor     .46962E-07    23.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    84.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9330        97.653        .87547E-03   -1.5680    
  11  Prefactor     .11586E-04    1576.8        .87376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        11.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     91.494        91.421        .10360E-03   -1.5517    
  14  norm          1.2807        2.2273        .98508E-03   -1.5685    
  15  Prefactor     .55511E-10    31.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24203E-07    22.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        18.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          254.34        250.21        .63134E-04   -1.5389    
  19  norm          5.0292        2.7118        .44817E-03   -1.5663    
  20  Prefactor     .10214E-07    23.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        6.8543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.6236        .42484        .92861E-01   -.74361    
  23  Prefactor     .92788        .15422        .45365E-01   -.95174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08675e-08
Minuit parameter uncertainties:
  1  16.0443
  2  57.1627
  3  0.000245392
  4  0.000238953
  5  2.7859e-05
  6  1.4277e-07
  7  33.0518
  8  0.00209264
  9  0.000175596
  10  27.4787
  11  0.270394
  12  2.79264e-05
  13  91.4224
  14  2.22732
  15  6.12433e-05
  16  0.00148407
  17  4.8343e-06
  18  250.225
  19  2.71185
  20  0.00099052
  21  1.4709e-05
  22  0.425792
  23  0.154293
Done.

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

Extracting fit parameters...

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  1.159e-05  2.704e-01  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  2.335e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
720    Prefactor:  9.279e-01  1.543e-01  0.000e+00  1.000e+01 ( 1.000e+00)
721        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
722        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
719   Normalization:  1.624e+00  4.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.523 -30.662
Photon Flux Upper Limit: 2.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.92e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583768/likelihoodResults_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.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) = 3868.73260963
delta logL = -0.0003072940126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3866.68202914
delta logL = 2.0502731894

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3868.732     FROM MIGRAD    STATUS=CONVERGED    171 CALLS      607 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24647E-07    11.718        .42118E-03** at limit **
   2  Index         1.2823        5.4325        .50000        .45475E-09
   3  Normalizat    1.6236        .34743E-02    .92866E-01   -.76579E-04
   4  Prefactor     .92789        .12419E-02    .46073E-01    .43457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.4647e-08
  Index      = 1.28227
  Normalizat = 1.6236
  Prefactor  = 0.927888
 **********
 **   18 **HESSE 
 **********

 FCN=   3868.732     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      638 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24647E-07    58.896        .84235E-04   -290.60    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2823        8.4493        .50000       -37833.    
   3  Normalizat    1.6236        .77748E-02    .41122E-03   -13.310    
   4  Prefactor     .92789        .27835E-02    .18626E-03   -289.98    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65026e-10
Minuit parameter uncertainties:
  1  0.00241017
  2  45906.2
  3  0.00777479
  4  0.00278349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583768': 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) = 3868.73230233
delta logL = 2.85172063741e-09

Extracting fit parameters...

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  2.465e-08  2.410e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.282e+00  4.591e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
720    Prefactor:  9.279e-01  2.783e-03  0.000e+00  1.000e+01 ( 1.000e+00)
721        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
722        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
719   Normalization:  1.624e+00  7.775e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.523 -30.662

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/583768/cmap_HighResolution_691372801_691632001_4FGL_J1446.0-3039_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-02', job_status='DONE', photon_flux_upper_limit='2.49e-07', time_completed='2022-12-02 01:23:13.802172', job_id='583768', GAL2='0.93', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1669972993.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1744' AND source_name='4FGL J1446.0-3039' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:23:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 583768: <4FGL_J1446.0-3039_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1446.0-3039_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:10:17 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:10:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:10:18 2022
Terminated at Fri Dec  2 01:23:14 2022
Results reported at Fri Dec  2 01:23:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.0-3039_daily_bin1744 221.523 -30.6618 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.0-3039 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.00 sec.
    Max Memory :                                 1030 MB
    Average Memory :                             294.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            777 sec.

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

