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 210 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.7+1719_daily_bin1746
RA = 221.688, Dec = 17.3237
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='729935', job_status='RUN', time_executed='2022-12-08 01:09:05.945368', time_epoch_executed='1670490545.95' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/729935

Creating custom pfile directory:
/scratch/kocevski/729935/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/729935/ft1_4FGL_J1446.7+1719_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/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/729935/ft1_4FGL_J1446.7+1719_daily_bin1746.fits outfile=/scratch/kocevski/729935/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1746.fits ra=221.688 dec=17.3237 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.70
user 4.43
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_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/729935/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_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.51
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/729935/ltcube_691891201_692150401_4FGL_J1446.7+1719_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/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits
.....................!
real 11.75
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/729935/ltcube_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits outfile=/scratch/kocevski/729935/expmap_691891201_692150401_4FGL_J1446.7+1719_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/729935/ltcube_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits
.....................!
real 191.12
user 185.62
sys 5.15

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

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits outfile=/scratch/kocevski/729935/cmap_691891201_692150401_4FGL_J1446.7+1719_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.688 yref=17.3237 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/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits outfile=/scratch/kocevski/729935/cmap_HighResolution_691891201_692150401_4FGL_J1446.7+1719_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.688 yref=17.3237 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/729935/Model_4FGL_J1446.7+1719_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/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits.....................!
real 52.64
user 51.38
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits', '/scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits', expMap='/scratch/kocevski/729935/expmap_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits', expCube='/scratch/kocevski/729935/ltcube_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/729935/Model_4FGL_J1446.7+1719_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/729935/ft1_filtered_4FGL_J1446.7+1719_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/729935/ft2_4FGL_J1446.7+1719_daily_bin1746.fits
Exposure map: /scratch/kocevski/729935/expmap_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits
Exposure cube: /scratch/kocevski/729935/ltcube_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/729935/Model_4FGL_J1446.7+1719_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) = 7203.22702887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17298E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    67.062       1.0000          .0000       .10000E+07
     3 'Prefactor '    .50404E-07   1.0000          .0000       .10000E+07
     4 'norm      '    6.5303       1.0000          .0000       .10000E+07
     5 'norm      '    .42877E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.301       1.0000          .0000       .10000E+07
     7 'norm      '    .31139E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .43000E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.289       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.4208       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25252E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .36249E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .60391       1.0000          .0000       .10000E+07
    14 'norm      '    3.8406       1.0000          .0000       .10000E+07
    15 'norm      '    .55947E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.057       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3053       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67326       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7203.225     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1362 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69433E-06    16.208       -.26372E-06** at limit **
   2  Prefactor     67.247        5.3998       -.17327E-06   -.15678E-01
   3  Prefactor     .22204E-09    1.5298        .67430E-07** at limit **
   4  norm          6.5315        2.9466       -.24777E-08    .23150E-02
   5  norm           .0000        .74800        .11899E-06** at limit **
   6  Prefactor     27.532        21.750       -.63089E-06   -.25735E-01
   7  norm          .13056E-06    14.893        .67648E-06** at limit **
   8  norm          .23898E-03    26.634        .39045E-05** at limit **
   9  Prefactor     12.321        15.643       -.11030E-05   -.50316E-01
  10  Prefactor     6.4289        12.073       -.77053E-06   -.11239    
  11  Prefactor     .21271E-05    192.38        .13852E-04** at limit **
  12  Prefactor     .15377E-07    4.5558        .21638E-06** at limit **
  13  norm          .60391        .18500        .63056E-08    .86072E-02
  14  norm          3.8412        4.2495       -.59049E-08    .22263E-03
  15  norm          .79881E-07    14.984       -.48446E-06** at limit **
  16  Prefactor     22.911        19.460        .12432E-05    .19377E-01
  17  Normalizat    1.3051        .21589        .10004E-04    .54400E-04
  18  Prefactor     .67329        .14326       -.53782E-05    .58862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.94333e-07
  Prefactor  = 67.2469
  Prefactor  = 2.22045e-10
  norm       = 6.53147
  norm       = 0
  Prefactor  = 27.532
  norm       = 1.30562e-07
  norm       = 0.000238983
  Prefactor  = 12.3214
  Prefactor  = 6.42885
  Prefactor  = 2.12713e-06
  Prefactor  = 1.53766e-08
  norm       = 0.603913
  norm       = 3.84122
  norm       = 7.98805e-08
  Prefactor  = 22.9112
  Normalizat = 1.30515
  Prefactor  = 0.673293
 **********
 **   18 **HESSE 
 **********

 FCN=   7203.225     FROM HESSE     STATUS=OK           288 CALLS     1650 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69433E-06    19.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     67.247        29.360        .12212E-03   -1.5544    
   3  Prefactor     .22204E-09    1.5381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5315        2.9582        .39248E-03   -1.5657    
   5  norm           .0000        .74675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.532        23.669        .19142E-03   -1.5603    
   7  norm          .13056E-06    20.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23898E-03    3.0316        .51553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.321        22.989        .28550E-03   -1.5638    
  10  Prefactor     6.4289        16.925        .39585E-03   -1.5657    
  11  Prefactor     .21271E-05    194.30        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15377E-07    4.5543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .60391        .18629        .43763E-03   -1.5692    
  14  norm          3.8412        4.2499        .51473E-03   -1.5669    
  15  norm          .79881E-07    15.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.911        30.761        .20831E-03   -1.5612    
  17  Normalizat    1.3051        .18256        .55967E-01   -.83413    
  18  Prefactor     .67329        .11968        .42044E-01   -1.0458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22474e-07
Minuit parameter uncertainties:
  1  0.0073005
  2  29.3599
  3  3.6889e-05
  4  2.95817
  5  3.32217e-06
  6  23.6689
  7  0.00330635
  8  0.0538331
  9  22.9891
  10  16.9251
  11  0.0406609
  12  0.000529645
  13  0.186291
  14  4.24988
  15  0.00220233
  16  30.7616
  17  0.182653
  18  0.119724
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.232e+01  2.299e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  6.733e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.305e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/729935/likelihoodResults_691891201_692150401_4FGL_J1446.7+1719_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) = 7203.2226136
delta logL = 0.0022635852747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7203.21977152
delta logL = 0.00510566689445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.015       1.0000          .0000       .10000E+07
     2 'Index     '    2.7275       1.0000          .0000       10.000    
     3 'Normalizat'    1.3008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67526       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   7203.220     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      281 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.028        61.996        .12655E-04    .29645E-03
   2  Index         2.7265        3.2128        .11914E-01    .28794E-04
   3  Normalizat    1.2996        .22814        .24793E-03   -.32281E-04
   4  Prefactor     .67599        .14870        .22101E-03    .56331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0281
  Index      = 2.72646
  Normalizat = 1.29958
  Prefactor  = 0.675992
 **********
 **   18 **HESSE 
 **********

 FCN=   7203.220     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.028        31.191        .50622E-06   -1.5645    
   2  Index         2.7265        2.1461        .47656E-03   -.47204    
   3  Normalizat    1.2996        .22179        .99173E-05   -.83579    
   4  Prefactor     .67599        .14510        .44203E-04   -1.0448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30697e-09
Minuit parameter uncertainties:
  1  31.1914
  2  2.23923
  3  0.22195
  4  0.145182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/729935': 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) = 7203.21975562
delta logL = 0.00512156423156

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.003e+01  3.119e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.726e+00  2.239e+00  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  6.760e-01  1.452e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.300e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 221.688 17.324

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/729935/cmap_HighResolution_691891201_692150401_4FGL_J1446.7+1719_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.45e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-12-08 01:17:56.157550', job_id='729935', GAL2='0.68', fit_tolerance='1e-08', EG2='1.30', EG='1.31', time_epoch_completed='1670491076.16', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='5.12e-03', ts2='0.35', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1746' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:17:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 729935: <4FGL_J1446.7+1719_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1746> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Dec  8 01:05:25 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:05:26 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:05:26 2022
Terminated at Thu Dec  8 01:17:57 2022
Results reported at Thu Dec  8 01:17:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1746 221.688 17.3237 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.7+1719 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   532.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

