/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 7 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1370
RA = 220.993, Dec = 25.0291
tmin = 594432001, tmax = 594691201
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='724600', job_status='RUN', time_executed='2021-09-10 06:21:38.125616', time_epoch_executed='1631280098.13' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1370'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724600/ft1_4FGL_J1443.9+2501_daily_bin1370.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724600/ft1_4FGL_J1443.9+2501_daily_bin1370.fits outfile=/scratch/kocevski/724600/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1370.fits ra=220.993 dec=25.0291 rad=12.0 tmin=594432001.0 tmax=594691201.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.36
user 4.12
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.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/724600/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1370.fits evtable="EVENTS" outfile="/scratch/kocevski/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits" evtable="EVENTS" scfile=/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits sctable="SC_DATA" outfile=/scratch/kocevski/724600/ltcube_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.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/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits
.....................!
real 15.48
user 15.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits evtable="EVENTS" scfile=/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits sctable="SC_DATA" expcube=/scratch/kocevski/724600/ltcube_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits outfile=/scratch/kocevski/724600/expmap_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.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/724600/ltcube_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits
.....................!
real 191.80
user 185.66
sys 5.65

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/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits scfile=/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits outfile=/scratch/kocevski/724600/cmap_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits scfile=/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits outfile=/scratch/kocevski/724600/cmap_HighResolution_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits', '/scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits', expMap='/scratch/kocevski/724600/expmap_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits', expCube='/scratch/kocevski/724600/ltcube_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724600/Model_4FGL_J1443.9+2501_daily_bin1370.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  1.000e-04  1.000e+04 ( 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  0.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/724600/ft1_filtered_4FGL_J1443.9+2501_daily_bin1370.fits
Spacecraft file(s): /scratch/kocevski/724600/ft2_4FGL_J1443.9+2501_daily_bin1370.fits
Exposure map: /scratch/kocevski/724600/expmap_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits
Exposure cube: /scratch/kocevski/724600/ltcube_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724600/Model_4FGL_J1443.9+2501_daily_bin1370.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) = 8238.58785564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.777       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13586E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .18036E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10840E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .97516       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .85759E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.517       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12280E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8200       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14694E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19118E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .39064E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.538       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12434E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1689       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27911E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    50.626       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0409       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2013       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.

 FCN=   8238.584     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2346 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.791        6.4112        .80664E-06   -.67369E-04
   2  Prefactor     .10000E-03    3.1188        .36419E-06** at limit **
   3  norm          .10000E-03    1.1137       -.45478E-06** at limit **
   4  Prefactor     .10000E-03    2.8921        .13827E-06** at limit **
   5  norm          .97585        2.0533       -.24867E-06   -.11181E-02
   6  norm          .10000E-03    1.1896       -.10256E-06** at limit **
   7  Prefactor     .10000E-03    25.060        .15301E-04** at limit **
   8  Prefactor     29.646        28.842       -.10863E-04    .93878E-04
   9  norm          3.4292        4.2470        .20028E-07    .64472E-04
  10  Prefactor     .10000E-03    12.511       -.22327E-05** at limit **
  11  Prefactor     8.8234        10.027       -.12286E-05   -.73812E-04
  12  Prefactor     .10000E-03    17.654       -.81431E-05** at limit **
  13  Prefactor     .10000E-03    12.382        .43051E-05** at limit **
  14  Prefactor     .10000E-03    4.3531        .97218E-07** at limit **
  15  norm          .10000E-03    28.789        .30035E-04** at limit **
  16  Prefactor     10.487        37.520       -.46579E-04    .69164E-05
  17  Prefactor     .10000E-03    3.4435       -.84152E-07** at limit **
  18  norm          1.1688        .99684        .44493E-06    .30183E-04
  19  Prefactor     .10000E-03    4.5106       -.13479E-06** at limit **
  20  Prefactor     50.555        40.493       -.38517E-04   -.11837E-04
  21  Normalizat    1.0408        .17939        .32580E-06    .18920E-03
  22  Prefactor     1.2014        .14433        .39259E-05   -.17795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.7907
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.97585
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.6463
  norm       = 3.42919
  Prefactor  = 0.0001
  Prefactor  = 8.8234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.4866
  Prefactor  = 0.0001
  norm       = 1.16883
  Prefactor  = 0.000100001
  Prefactor  = 50.555
  Normalizat = 1.04077
  Prefactor  = 1.20136
 **********
 **   18 **HESSE 
 **********

 FCN=   8238.584     FROM HESSE     STATUS=OK           342 CALLS     2688 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.791        6.4463        .65209E-04   -1.4478    
   2  Prefactor     .10000E-03    3.1271        .15654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.9747        .18613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9111        .15071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .97585        1.7194        .18007E-02   -1.5510    
   6  norm          .10000E-03    1.1935        .96672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.184        .20860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.646        28.736        .73744E-04   -1.4618    
   9  norm          3.4292        4.2431        .20277E-03   -1.5338    
  10  Prefactor     .10000E-03    12.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8234        10.030        .13496E-03   -1.5114    
  12  Prefactor     .10000E-03    17.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.3693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    28.828        .21274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.487        37.596        .12342E-03   -1.5060    
  17  Prefactor     .10000E-03    3.4586        .16447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1688        .97624        .80038E-04   -1.5492    
  19  Prefactor     .10000E-03    4.5567        .18793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     50.555        40.514        .28182E-03   -1.4285    
  21  Normalizat    1.0408        .21395        .29633E-03   -.91677    
  22  Prefactor     1.2014        .17251        .22594E-03   -.86290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13548e-09
Minuit parameter uncertainties:
  1  6.44643
  2  4.50401e-06
  3  1.05698e-06
  4  7.29422e-07
  5  1.71952
  6  3.80309e-06
  7  0.000156181
  8  28.7495
  9  4.24348
  10  8.06084e-05
  11  10.0321
  12  0.000184669
  13  2.23057e-05
  14  1.56234e-07
  15  3.81112e-05
  16  37.6809
  17  5.41465e-06
  18  0.976251
  19  0.000153679
  20  40.5358
  21  0.214124
  22  0.172593
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  3.803e-06  1.000e-04  1.000e+04 ( 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  0.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:  1.201e+00  1.726e-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.041e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/724600/likelihoodResults_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.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) = 8238.58791247
delta logL = -0.00389443996028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8238.58401535
delta logL = 2.67797986453e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10690E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3576       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2014       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8238.579     FROM MIGRAD    STATUS=FAILED       150 CALLS      329 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67719E-02    1.5523        .66748E-02    .64510E-02
   2  alpha         4.9407        2.6123        .16495       -.27265E-04
   3  Normalizat    1.0352        .28405E-01    .29633E-03   -.11126E-04
   4  Prefactor     1.2038        .22646E-01    .22594E-03   -.19624E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8238.579     FROM SIMPLEX   STATUS=UNCHANGED     71 CALLS      400 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67719E-02    1.5523        .45389E-04    .64510E-02
   2  alpha         4.9407        2.6123        .33041E-01   -.27265E-04
   3  Normalizat    1.0352        .28405E-01    .87911E-04   -.11126E-04
   4  Prefactor     1.2038        .22646E-01    .36433E-04   -.19624E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8238.579     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      475 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67719E-02    2.4079        .76143E-04    .10103E-02
   2  alpha         4.9407        2.7558        .13196E-02   -.68924E-08
   3  Normalizat    1.0352        .21618        .23706E-05   -.11509E-04
   4  Prefactor     1.2038        .17110        .18075E-05   -.20127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00677188
  alpha      = 4.94075
  Normalizat = 1.03517
  Prefactor  = 1.20378
 **********
 **   18 **HESSE 
 **********

 FCN=   8238.579     FROM HESSE     STATUS=OK            25 CALLS      500 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67719E-02    .76861        .15229E-04   -1.5692    
   2  alpha         4.9407        2.6634        .26391E-03    1.3526    
   3  Normalizat    1.0352        .22365        .47413E-06   -.91861    
   4  Prefactor     1.2038        .17844        .36151E-06   -.86215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71057e-13
Minuit parameter uncertainties:
  1  0.143223
  2  9.77594
  3  0.223851
  4  0.178526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724600': 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) = 8238.57912336
delta logL = 0.00489467322041

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.772e-03  1.432e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  4.941e+00  9.776e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00  0.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:  1.204e+00  1.785e-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.035e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.993 25.029

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/724600/cmap_HighResolution_594432001_594691201_4FGL_J1443.9+2501_daily_bin1370.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='3.51e-08', time_completed='2021-09-10 06:33:25.399237', job_id='724600', GAL2='1.20', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631280805.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='4.89e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1370' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:33:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 724600: <4FGL_J1443.9+2501_daily_bin1370> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1370> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:21 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:21:23 2021
Terminated at Fri Sep 10 06:33:26 2021
Results reported at Fri Sep 10 06:33:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1370 220.993 25.0291 594432001 594691201 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 :                                   702.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            725 sec.

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

