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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1749
RA = 221.591, Dec = 31.1955
tmin = 692668801, tmax = 692928001
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='955535', job_status='RUN', time_executed='2022-12-17 00:56:39.024729', time_epoch_executed='1671267399.02' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955535

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955535/ft1_4FGL_J1446.3+3111_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955535/ft1_4FGL_J1446.3+3111_daily_bin1749.fits outfile=/scratch/kocevski/955535/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1749.fits ra=221.591 dec=31.1955 rad=12.0 tmin=692668801.0 tmax=692928001.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.68
user 3.45
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.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/955535/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.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.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 694

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/955535/ltcube_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.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/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits
.....................!
real 12.48
user 12.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/955535/ltcube_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits outfile=/scratch/kocevski/955535/expmap_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.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/955535/ltcube_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits
.....................!
real 190.94
user 185.80
sys 4.82

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

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits outfile=/scratch/kocevski/955535/cmap_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.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.591 yref=31.1955 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits outfile=/scratch/kocevski/955535/cmap_HighResolution_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.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.591 yref=31.1955 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955535/Model_4FGL_J1446.3+3111_daily_bin1749.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/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits.....................!
real 55.03
user 53.63
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits', '/scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits', expMap='/scratch/kocevski/955535/expmap_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits', expCube='/scratch/kocevski/955535/ltcube_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955535/Model_4FGL_J1446.3+3111_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955535/ft1_filtered_4FGL_J1446.3+3111_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/955535/ft2_4FGL_J1446.3+3111_daily_bin1749.fits
Exposure map: /scratch/kocevski/955535/expmap_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits
Exposure cube: /scratch/kocevski/955535/ltcube_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955535/Model_4FGL_J1446.3+3111_daily_bin1749.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) = 7435.74777316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14888E-06   1.0000          .0000       .10000E+07
     2 'norm      '    7.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11235E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78383E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    23.009       1.0000          .0000       .10000E+07
     6 'norm      '    10.082       1.0000          .0000       .10000E+07
     7 'norm      '    5.1767       1.0000          .0000       .10000E+07
     8 'norm      '    9.6780       1.0000          .0000       .10000E+07
     9 'norm      '    2.4303       1.0000          .0000       .10000E+07
    10 'norm      '    2.6018       1.0000          .0000       .10000E+07
    11 'Prefactor '    142.03       1.0000          .0000       .10000E+07
    12 'norm      '    .23181E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39689E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20429E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.6241       1.0000          .0000       .10000E+07
    16 'norm      '    8.5982       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.200       1.0000          .0000       .10000E+07
    18 'norm      '    .17629       1.0000          .0000       .10000E+07
    19 'Prefactor '    .40523E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    35.486       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1175       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7427.693     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1143 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8515       -.14129E-07** at limit **
   2  norm          7.6825        4.1819       -.62214E-07   -.44213E-02
   3  Prefactor     .34972E-08    3.3461       -.23232E-06** at limit **
   4  Prefactor     .27756E-09    4.1367       -.21974E-07** at limit **
   5  Prefactor     23.008        5.2390        .90818E-08    .19932E-02
   6  norm          10.034        3.8673       -.34519E-07    .11764    
   7  norm          5.1761        2.5121       -.67922E-07    .81714E-03
   8  norm          9.6781        4.1912        .86004E-07    .32301E-03
   9  norm          2.3809        6.8899        .71554E-07   -.39717E-03
  10  norm          2.6011        3.4155       -.68149E-07    .22719E-03
  11  Prefactor     142.30        17.697        .66034E-08    .96705E-01
  12  norm          .27200E-08    6.1285        .80969E-07** at limit **
  13  Prefactor     .62172E-08    8.2214       -.46859E-07** at limit **
  14  Prefactor     .54956E-08    8.8950       -.23787E-06** at limit **
  15  Prefactor     8.6098        7.8641        .48208E-07    .46770E-01
  16  norm          8.5950        2.1835        .15744E-07   -.52351E-04
  17  Prefactor     24.782        47.377        .59118E-07   -.19216E-01
  18  norm          .17678        .54337        .73222E-07** at limit **
  19  Prefactor     .49960E-09    3.1388       -.42994E-06** at limit **
  20  Prefactor     34.963        30.748        .18961E-07   -.16227E-03
  21  Normalizat    1.1176        .20039        .28233E-05   -.18646E-04
  22  Prefactor     .78842        .17747       -.22433E-06   -.12387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 7.68255
  Prefactor  = 3.4972e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 23.0082
  norm       = 10.0345
  norm       = 5.17606
  norm       = 9.6781
  norm       = 2.38089
  norm       = 2.60115
  Prefactor  = 142.3
  norm       = 2.72005e-09
  Prefactor  = 6.21725e-09
  Prefactor  = 5.4956e-09
  Prefactor  = 8.60982
  norm       = 8.59498
  Prefactor  = 24.7823
  norm       = 0.176784
  Prefactor  = 4.996e-10
  Prefactor  = 34.9629
  Normalizat = 1.11763
  Prefactor  = 0.788421
 **********
 **   18 **HESSE 
 **********

 FCN=   7427.693     FROM HESSE     STATUS=OK           392 CALLS     1535 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.6825        4.2060        .36167E-03   -1.5653    
   3  Prefactor     .34972E-08    3.3700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27756E-09    4.1362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.008        5.2190        .20852E-03   -1.5612    
   6  norm          10.034        10.113        .31534E-03   -1.5645    
   7  norm          5.1761        2.5128        .44160E-03   -1.5662    
   8  norm          9.6781        4.1909        .32188E-03   -1.5646    
   9  norm          2.3809        6.8843        .65616E-03   -1.5677    
  10  norm          2.6011        3.4274        .63222E-03   -1.5676    
  11  Prefactor     142.30        43.755        .83915E-04   -1.5469    
  12  norm          .27200E-08    6.1183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62172E-08    8.2397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .54956E-08    8.8970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6098        8.3094        .34110E-03   -1.5649    
  16  norm          8.5950        2.1798        .34162E-03   -1.5649    
  17  Prefactor     24.782        51.353        .20332E-03   -1.5608    
  18  norm          .17678        .49105        .25372E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    3.1361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     34.963        30.860        .16789E-03   -1.5590    
  21  Normalizat    1.1176        .17241        .56945E-01   -.89188    
  22  Prefactor     .78842        .15272        .43566E-01   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.38356e-07
Minuit parameter uncertainties:
  1  7.98703e-06
  2  4.206
  3  0.00021668
  4  6.82459e-05
  5  5.21899
  6  10.113
  7  2.51281
  8  4.19086
  9  6.88432
  10  3.42745
  11  43.7548
  12  0.000258799
  13  0.000452744
  14  0.000442187
  15  8.30938
  16  2.17978
  17  51.3534
  18  0.491046
  19  7.9845e-05
  20  30.8605
  21  0.172495
  22  0.152802
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.423e+02  4.375e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.884e-01  1.528e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.118e+00  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.96
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 4.75e-08
Energy Flux (Fixed Index): 4.22e-05 +/- 1.30e-05

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) = 7426.99143074
delta logL = 0.701633813009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7426.99115994
delta logL = 0.701904607878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    186.07       1.0000          .0000       .10000E+07
     2 'Index     '    2.1939       1.0000          .0000       10.000    
     3 'Normalizat'    1.1579       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76018       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   7426.991     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      301 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     186.09        63.702        .14663E-04    .14731E-03
   2  Index         2.1940        .28651        .47845E-02    .26703E-04
   3  Normalizat    1.1578        .19172        .24809E-03    .10040E-03
   4  Prefactor     .76022        .17335        .27462E-03    .16352E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 186.091
  Index      = 2.19404
  Normalizat = 1.15784
  Prefactor  = 0.760218
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.991     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     186.09        63.078        .58654E-06   -1.5435    
   2  Index         2.1940        .28354        .19138E-03   -.59582    
   3  Normalizat    1.1578        .19185        .99236E-05   -.87916    
   4  Prefactor     .76022        .17346        .10985E-04   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51714e-11
Minuit parameter uncertainties:
  1  63.0783
  2  0.283765
  3  0.191962
  4  0.173581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955535': 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) = 7426.99115967
delta logL = 0.701904881173

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.861e+02  6.308e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.194e+00  2.838e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.602e-01  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.158e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.05
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.19 +/- 0.28
Photon Flux (Free Index): 1.27e-07 +/- 4.77e-08
Energy Flux (Free Index): 5.78e-05 +/- 2.61e-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/955535/cmap_HighResolution_692668801_692928001_4FGL_J1446.3+3111_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='5.78e-05', photon_flux_error='4.75e-08', dlogl='7.02e-01', energy_flux='4.22e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2022-12-17 01:05:16.369915', photon_index_error2='0.28', photon_index2='2.19', ts='22.96', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='2.61e-05', EG='1.12', time_epoch_completed='1671267916.37', return_code='0', job_id='955535', GAL2='0.76', EG2='1.16', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.77e-08', ts2='24.05', photon_index='2.56' WHERE bin_id='1749' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:05:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 955535: <4FGL_J1446.3+3111_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 00:55:15 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:55:17 2022
Terminated at Sat Dec 17 01:05:16 2022
Results reported at Sat Dec 17 01:05:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1749 221.591 31.1955 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

