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


Performing analysis on: 4FGL_J1443.9+2501_weekly_bin761
RA = 220.993, Dec = 25.0291
tmin = 699235201, tmax = 699840001
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='490801', job_status='RUN', time_executed='2023-03-07 01:22:33.067193', time_epoch_executed='1678180953.07' WHERE source_name='4FGL J1443.9+2501' and cadence='weekly' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490801

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490801/ft1_4FGL_J1443.9+2501_weekly_bin761.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490801/ft1_4FGL_J1443.9+2501_weekly_bin761.fits outfile=/scratch/kocevski/490801/ft1_filteredMKT_4FGL_J1443.9+2501_weekly_bin761.fits ra=220.993 dec=25.0291 rad=12.0 tmin=699235201.0 tmax=699840001.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 8.71
user 8.37
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.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/490801/ft1_filteredMKT_4FGL_J1443.9+2501_weekly_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.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.55
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1437

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/490801/ltcube_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.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/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits
.....................!
real 29.29
user 28.87
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/490801/ltcube_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits outfile=/scratch/kocevski/490801/expmap_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.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/490801/ltcube_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits
.....................!
real 190.80
user 185.65
sys 4.80

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

Setting source of interest to:
4FGL J1443.9+2501 @ 220.993 25.0291

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits outfile=/scratch/kocevski/490801/cmap_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.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=220.993 yref=25.0291 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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits outfile=/scratch/kocevski/490801/cmap_HighResolution_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.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=220.993 yref=25.0291 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.57
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490801/Model_4FGL_J1443.9+2501_weekly_bin761.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/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits.....................!
real 103.66
user 102.21
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits', '/scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits', expMap='/scratch/kocevski/490801/expmap_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits', expCube='/scratch/kocevski/490801/ltcube_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/490801/Model_4FGL_J1443.9+2501_weekly_bin761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1443.9+2501'

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.435e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/490801/ft1_filtered_4FGL_J1443.9+2501_weekly_bin761.fits
Spacecraft file(s): /scratch/kocevski/490801/ft2_4FGL_J1443.9+2501_weekly_bin761.fits
Exposure map: /scratch/kocevski/490801/expmap_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits
Exposure cube: /scratch/kocevski/490801/ltcube_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/490801/Model_4FGL_J1443.9+2501_weekly_bin761.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) = 15872.5780161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.692       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.7157       1.0000          .0000       .10000E+07
     3 'norm      '    3.1098       1.0000          .0000       .10000E+07
     4 'norm      '    .18874E-07   1.0000          .0000       .10000E+07
     5 'norm      '    3.7082       1.0000          .0000       .10000E+07
     6 'Prefactor '    184.27       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.173       1.0000          .0000       .10000E+07
     8 'norm      '    .62291E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.736       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48462E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4724       1.0000          .0000       .10000E+07
    12 'norm      '    .23555E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    56.519       1.0000          .0000       .10000E+07
    14 'norm      '    1.8719       1.0000          .0000       .10000E+07
    15 'Prefactor '    .18205E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .43011E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0588       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15870.55     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      847 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.677        3.6496       -.20536E-06    .73410E-03
   2  Prefactor     3.7228        3.9612       -.15213E-06   -.34068E-03
   3  norm          3.1107        1.4247        .50406E-07    .18009E-03
   4  norm           .0000        1.0552       -.88135E-07** at limit **
   5  norm          3.7072        2.5783        .40442E-07    .44618E-03
   6  Prefactor     187.24        34.957       -.10456E-06   -.99161E-02
   7  Prefactor     16.062        3.2240        .94042E-07    .12747    
   8  norm          .22760E-08    16.738       -.38297E-05** at limit **
   9  Prefactor     23.558        10.886        .78507E-06    .24170E-01
  10  Prefactor     .55511E-10    18.890        .43799E-06** at limit **
  11  Prefactor     8.4389        5.6129        .30181E-06    .22765E-02
  12  norm          .11102E-09    7.0046       -.23098E-05** at limit **
  13  Prefactor     56.083        28.402        .12660E-05   -.20517E-01
  14  norm          1.8719        .69742        .41979E-07    .25622E-03
  15  Prefactor     .55511E-10    3.6743        .92972E-07** at limit **
  16  Prefactor     .22204E-09    5.4919        .19267E-05** at limit **
  17  Normalizat    1.0565        .14739        .54754E-05    .99287E-05
  18  Prefactor     .83994        .10968       -.49604E-06   -.23550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6767
  Prefactor  = 3.72282
  norm       = 3.11072
  norm       = 0
  norm       = 3.70723
  Prefactor  = 187.242
  Prefactor  = 16.0623
  norm       = 2.27596e-09
  Prefactor  = 23.5582
  Prefactor  = 5.55112e-11
  Prefactor  = 8.43886
  norm       = 1.11022e-10
  Prefactor  = 56.0831
  norm       = 1.87187
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Normalizat = 1.05653
  Prefactor  = 0.839939
 **********
 **   18 **HESSE 
 **********

 FCN=   15870.55     FROM HESSE     STATUS=OK           288 CALLS     1135 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.677        3.6407        .22543E-03   -1.5619    
   2  Prefactor     3.7228        3.9616        .52363E-03   -1.5669    
   3  norm          3.1107        1.4255        .57475E-03   -1.5673    
   4  norm           .0000        1.0438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.7072        2.5843        .52418E-03   -1.5669    
   6  Prefactor     187.24        34.751        .73674E-04   -1.5434    
   7  Prefactor     16.062        12.812        .24878E-03   -1.5628    
   8  norm          .22760E-08    16.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.558        11.003        .20531E-03   -1.5611    
  10  Prefactor     .55511E-10    18.254        .15602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.4389        5.6101        .34416E-03   -1.5650    
  12  norm          .11102E-09    7.0125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.083        28.792        .13302E-03   -1.5558    
  14  norm          1.8719        .70130        .76092E-03   -1.5681    
  15  Prefactor     .55511E-10    3.6503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22204E-09    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0565        .12391        .61368E-01   -.91160    
  18  Prefactor     .83994        .92200E-01    .44219E-01   -.98273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52203e-07
Minuit parameter uncertainties:
  1  3.64069
  2  3.96161
  3  1.42551
  4  1.74899e-06
  5  2.58427
  6  34.7509
  7  12.8124
  8  0.000383831
  9  11.0027
  10  5.58204e-05
  11  5.61014
  12  5.80605e-05
  13  28.7922
  14  0.701303
  15  3.29605e-05
  16  7.36749e-05
  17  0.123945
  18  0.0922173
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.707e+00  2.584e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.399e-01  9.222e-02  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.057e+00  1.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.96
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.45e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 8.70e-06

TS (Fixed Index): 3.96
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 5.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490801/likelihoodResults_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.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) = 15870.0065317
delta logL = 0.543366035849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15869.9896967
delta logL = 0.560201045553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6806       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5623       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0339       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   15869.99     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      248 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6805        2.5549        .13047E-04    .56429E-02
   2  alpha         2.5624        .55555        .15842E-01    .46329E-04
   3  Normalizat    1.0339        .14074        .27395E-03   -.31515E-03
   4  Prefactor     .84676        .10680        .22910E-03   -.41554E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6805
  alpha      = 2.56238
  Normalizat = 1.03393
  Prefactor  = 0.846761
 **********
 **   18 **HESSE 
 **********

 FCN=   15869.99     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6805        2.4409        .52189E-06   -1.5670    
   2  alpha         2.5624        .53062        .63367E-03    .24956E-01
   3  Normalizat    1.0339        .14072        .10958E-04   -.91902    
   4  Prefactor     .84676        .10681        .91641E-05   -.98027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31917e-10
Minuit parameter uncertainties:
  1  2.44087
  2  0.534688
  3  0.140775
  4  0.106839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490801': 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) = 15869.9896966
delta logL = 0.560201160084

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.680e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  2.562e+00  5.347e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.468e-01  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.034e+00  1.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.07
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.56 +/- 0.53
Photon Flux (Free Index): 4.39e-08 +/- 3.08e-08
Energy Flux (Free Index): 1.25e-05 +/- 7.10e-06

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/490801/cmap_HighResolution_699235201_699840001_4FGL_J1443.9+2501_weekly_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.25e-05', photon_flux_error='1.45e-08', dlogl='5.60e-01', energy_flux='1.25e-05', photon_flux2='4.39e-08', job_status='DONE', time_completed='2023-03-07 01:35:17.258061', photon_index_error2='0.53', photon_index2='2.56', ts='3.96', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='5.31e-08', energy_flux_error2='7.10e-06', EG='1.06', time_epoch_completed='1678181717.26', return_code='0', job_id='490801', GAL2='0.85', EG2='1.03', return_code2='0', energy_flux_error='8.70e-06', photon_flux_error2='3.08e-08', ts2='5.07', photon_index='1.97' WHERE bin_id='761' AND source_name='4FGL J1443.9+2501' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar  7 01:35:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 490801: <4FGL_J1443.9+2501_weekly_bin761> in cluster <slac> Done

Job <4FGL_J1443.9+2501_weekly_bin761> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Mar  7 01:20:28 2023
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar  7 01:20:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar  7 01:20:28 2023
Terminated at Tue Mar  7 01:35:18 2023
Results reported at Tue Mar  7 01:35:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_weekly_bin761 220.993 25.0291 699235201 699840001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1443.9+2501 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   763.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            890 sec.

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

