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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1746
RA = 221.591, Dec = 31.1955
tmin = 691891201, tmax = 692150401
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='732517', job_status='RUN', time_executed='2022-12-08 01:16:28.358806', time_epoch_executed='1670490988.36' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/732517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/732517/ft1_4FGL_J1446.3+3111_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/732517/ft1_4FGL_J1446.3+3111_daily_bin1746.fits outfile=/scratch/kocevski/732517/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1746.fits ra=221.591 dec=31.1955 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.75
user 4.45
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.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/732517/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.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.35
sys 0.14

Number of photons that the gtmktime cut: 792

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/732517/ltcube_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits outfile=/scratch/kocevski/732517/expmap_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.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/732517/ltcube_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits
.....................!
real 191.44
user 185.20
sys 4.95

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/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.fits scfile=/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits outfile=/scratch/kocevski/732517/cmap_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.fits scfile=/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits outfile=/scratch/kocevski/732517/cmap_HighResolution_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.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.64
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.fits', '/scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits', expMap='/scratch/kocevski/732517/expmap_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits', expCube='/scratch/kocevski/732517/ltcube_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/732517/Model_4FGL_J1446.3+3111_daily_bin1746.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/732517/ft1_filtered_4FGL_J1446.3+3111_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/732517/ft2_4FGL_J1446.3+3111_daily_bin1746.fits
Exposure map: /scratch/kocevski/732517/expmap_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits
Exposure cube: /scratch/kocevski/732517/ltcube_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/732517/Model_4FGL_J1446.3+3111_daily_bin1746.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) = 8407.16165924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18269E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .84462E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28657E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.632       1.0000          .0000       .10000E+07
     5 'Prefactor '    109.00       1.0000          .0000       .10000E+07
     6 'norm      '    .52475E-06   1.0000          .0000       .10000E+07
     7 'norm      '    5.8437       1.0000          .0000       .10000E+07
     8 'norm      '    .10567E-03   1.0000          .0000       .10000E+07
     9 'norm      '    2.4651       1.0000          .0000       .10000E+07
    10 'norm      '    .53918E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    35.159       1.0000          .0000       .10000E+07
    12 'norm      '    .58968E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22571E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43702       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56336E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .78474E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.799       1.0000          .0000       .10000E+07
    18 'norm      '    .72566       1.0000          .0000       .10000E+07
    19 'Prefactor '    .78647E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3268       1.0000          .0000       .10000E+07
    21 'Normalizat'    .96022       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99318       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=   8407.097     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1789 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.5083       -.37090E-06** at limit **
   2  norm          .55511E-10    1.0081       -.31360E-06** at limit **
   3  Prefactor     .28594E-06    7.2452        .34433E-05** at limit **
   4  Prefactor     11.602        17.202        .23587E-05   -.49164E-02
   5  Prefactor     109.04        1.5433        .30701E-07    .34918    
   6  norm          .74940E-08    4.9677        .31581E-05** at limit **
   7  norm          5.8488        2.8502        .11901E-06   -.30329E-03
   8  norm          .55511E-10    1.0892       -.37360E-06** at limit **
   9  norm          2.4706        5.2507       -.21574E-05    .12315E-02
  10  norm          .24647E-07    6.1751       -.35066E-06** at limit **
  11  Prefactor     34.745        27.466        .70306E-05   -.88902E-02
  12  norm          .16653E-09    2.5259        .32481E-05** at limit **
  13  Prefactor      .0000        18.451        .97277E-06** at limit **
  14  Prefactor     .42534        5.7587       -.18657E-05   -.41038E-01
  15  Prefactor     .66613E-09    3.9002       -.93121E-06** at limit **
  16  norm          .11102E-09    1.8247        .58088E-06** at limit **
  17  Prefactor     19.760        53.658       -.14652E-04   -.37062E-02
  18  norm          .72497        .70333       -.41722E-06    .57990E-02
  19  Prefactor     .55511E-10    3.1427        .11727E-05** at limit **
  20  Prefactor     8.3145        1.6168        .32242E-06    .36362E-01
  21  Normalizat    .95941        .20348        .20154E-04    .11764E-03
  22  Prefactor     .99290        .18179       -.31229E-04    .16629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 2.85938e-07
  Prefactor  = 11.602
  Prefactor  = 109.041
  norm       = 7.49401e-09
  norm       = 5.84881
  norm       = 5.55112e-11
  norm       = 2.4706
  norm       = 2.4647e-08
  Prefactor  = 34.745
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0.425338
  Prefactor  = 6.66134e-10
  norm       = 1.11022e-10
  Prefactor  = 19.7595
  norm       = 0.724965
  Prefactor  = 5.55112e-11
  Prefactor  = 8.31454
  Normalizat = 0.959415
  Prefactor  = 0.992902
 **********
 **   18 **HESSE 
 **********

 FCN=   8407.097     FROM HESSE     STATUS=OK           392 CALLS     2181 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.4969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    1.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28594E-06    8.5553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.602        17.173        .29348E-03   -1.5640    
   5  Prefactor     109.04        9.6252        .95790E-04   -1.5499    
   6  norm          .74940E-08    5.1001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8488        2.8491        .41521E-03   -1.5660    
   8  norm          .55511E-10    1.0856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4706        5.2657        .65106E-03   -1.5677    
  10  norm          .24647E-07    6.1652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.745        27.571        .16867E-03   -1.5590    
  12  norm          .16653E-09    2.5231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        8.6785        .81114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .42534        4.2799        .85317E-02   -1.5695    
  15  Prefactor     .66613E-09    3.8863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    1.7704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.760        53.668        .25172E-03   -1.5619    
  18  norm          .72497        .71035        .58649E-03   -1.5691    
  19  Prefactor     .55511E-10    3.1358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.3145        14.345        .34718E-03   -1.5650    
  21  Normalizat    .95941        .17811        .45667E-01   -.94403    
  22  Prefactor     .99290        .15510        .46182E-01   -.92966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01154e-07
Minuit parameter uncertainties:
  1  2.83471e-05
  2  1.15089e-05
  3  0.00312819
  4  17.1726
  5  9.62518
  6  0.000391702
  7  2.84911
  8  1.13867e-05
  9  5.26567
  10  0.000779596
  11  27.571
  12  4.31632e-05
  13  1.00214e-05
  14  2.69845
  15  0.000101623
  16  2.88083e-05
  17  53.6689
  18  0.710351
  19  2.27561e-05
  20  14.3448
  21  0.178217
  22  0.155174
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  3.475e+01  2.757e+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:  9.929e-01  1.552e-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:  9.594e-01  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 8.18e-06

TS (Fixed Index): 3.37
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/732517/likelihoodResults_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.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) = 8406.95389537
delta logL = 0.143274265287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8406.93138731
delta logL = 0.165782325623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.377       1.0000          .0000       .10000E+07
     2 'Index     '    2.1855       1.0000          .0000       10.000    
     3 'Normalizat'    .97060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98639       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=   8406.931     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      233 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.380        33.831        .62190E-05   -.61635E-02
   2  Index         2.1854        .62869        .10058E-01   -.29553E-03
   3  Normalizat    .97057        .19361        .28035E-03    .22450E-03
   4  Prefactor     .98640        .17876        .25734E-03    .24802E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.3802
  Index      = 2.18543
  Normalizat = 0.970575
  Prefactor  = 0.986405
 **********
 **   18 **HESSE 
 **********

 FCN=   8406.931     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.380        33.702        .12438E-05   -1.5579    
   2  Index         2.1854        .62627        .40233E-03   -.59791    
   3  Normalizat    .97057        .19379        .11214E-04   -.94023    
   4  Prefactor     .98640        .17893        .51467E-04   -.93184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02922e-09
Minuit parameter uncertainties:
  1  33.7022
  2  0.628697
  3  0.193934
  4  0.179035
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/732517': 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) = 8406.9313873
delta logL = 0.165782336842

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.138e+01  3.370e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.185e+00  6.287e-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:  9.864e-01  1.790e-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:  9.706e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.69
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.19 +/- 0.63
Photon Flux (Free Index): 2.80e-08 +/- 2.93e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.25e-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/732517/cmap_HighResolution_691891201_692150401_4FGL_J1446.3+3111_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='1.29e-05', photon_flux_error='2.99e-08', dlogl='1.66e-01', energy_flux='1.03e-05', photon_flux2='2.80e-08', job_status='DONE', time_completed='2022-12-08 01:27:19.534212', photon_index_error2='0.63', photon_index2='2.19', ts='3.37', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.25e-05', EG='0.96', time_epoch_completed='1670491639.53', return_code='0', job_id='732517', GAL2='0.99', EG2='0.97', return_code2='0', energy_flux_error='8.18e-06', photon_flux_error2='2.93e-08', ts2='3.69', photon_index='2.56' WHERE bin_id='1746' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:27:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 732517: <4FGL_J1446.3+3111_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1746> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Dec  8 01:15:23 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:15:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:15:23 2022
Terminated at Thu Dec  8 01:27:20 2022
Results reported at Thu Dec  8 01:27:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1746 221.591 31.1955 691891201 692150401 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 :                                   650.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            717 sec.

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

