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


Performing analysis on: 4FGL_J1443.9-3908_daily_bin1426
RA = 220.991, Dec = -39.1481
tmin = 608947201, tmax = 609206401
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='740906', job_status='RUN', time_executed='2021-09-10 07:19:10.138428', time_epoch_executed='1631283550.14' WHERE source_name='4FGL J1443.9-3908' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740906

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740906/ft1_4FGL_J1443.9-3908_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740906/ft1_4FGL_J1443.9-3908_daily_bin1426.fits outfile=/scratch/kocevski/740906/ft1_filteredMKT_4FGL_J1443.9-3908_daily_bin1426.fits ra=220.991 dec=-39.1481 rad=12.0 tmin=608947201.0 tmax=609206401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.30
user 2.90
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.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/740906/ft1_filteredMKT_4FGL_J1443.9-3908_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.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.70
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/740906/ltcube_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.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/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits
.....................!
real 12.84
user 12.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/740906/ltcube_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits outfile=/scratch/kocevski/740906/expmap_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.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/740906/ltcube_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits
.....................!
real 201.12
user 185.44
sys 4.98

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Added 305 point sources and 12 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1443.9-3908 @ 220.991 -39.1481

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits outfile=/scratch/kocevski/740906/cmap_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.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.991 yref=-39.1481 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.85
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits outfile=/scratch/kocevski/740906/cmap_HighResolution_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.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.991 yref=-39.1481 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 1.10
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740906/Model_4FGL_J1443.9-3908_daily_bin1426.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 CenA Lobes
adding source EG_v02
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1420-607
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
Working on...
/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits.......................!
real 43.18
user 37.11
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits', '/scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits', expMap='/scratch/kocevski/740906/expmap_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits', expCube='/scratch/kocevski/740906/ltcube_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740906/Model_4FGL_J1443.9-3908_daily_bin1426.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1443.9-3908'

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  9.612e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
394        alpha:  1.735e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
395         beta:  5.621e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
396           Eb:  1.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/740906/ft1_filtered_4FGL_J1443.9-3908_daily_bin1426.fits
Spacecraft file(s): /scratch/kocevski/740906/ft2_4FGL_J1443.9-3908_daily_bin1426.fits
Exposure map: /scratch/kocevski/740906/expmap_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits
Exposure cube: /scratch/kocevski/740906/ltcube_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740906/Model_4FGL_J1443.9-3908_daily_bin1426.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 533.766387103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 518.103460038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6437       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7979       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8427       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2228       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9515       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1830       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1914       1.0000         .10000E-03   10000.    
     9 'norm      '    5761.8       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9237       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1390       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0674       1.0000         .10000E-03   10000.    
    13 'norm      '    5.6759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7690       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .75648       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93892       1.0000         .10000E-03   10000.    
    17 'norm      '    12.908       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .26144E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .86342E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .30491E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    52.646       1.0000         .10000E-03   10000.    
    22 'norm      '    38.148       1.0000         .10000E-03   10000.    
    23 'norm      '    .10626E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .89172       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .37538       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1109E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   518.0900     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      512 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5401        2295.0        .36515E-02   -.14572E-05
   2  Prefactor     9.6482        2294.1        .32261E-02   -.69111E-05
   3  Prefactor     5.7979        1.0038         .0000         .0000    
   4  Prefactor     8.8437        1.0017        .45184E-08   -.13911E-05
   5  Prefactor     9.2671        1.0039        .20817E-06   -.66901E-04
   6  Prefactor     4.0059        1.0151        .39083E-06   -.53098E-04
   7  norm          3.4787        1.0589        .23985E-05   -.25934E-03
   8  Prefactor     5.2137        1.0069        .13956E-06   -.25081E-04
   9  norm          5760.7        1.0000       -.39999E-06    .27160E-01
  10  Prefactor     11.382        1.0722        .67687E-05   -.23264E-02
  11  Prefactor     6.1665        1.0056        .15636E-06   -.33683E-04
  12  Prefactor     .10000E-03    .34714       -.27734E-02** at limit **
  13  norm          .10021E-03    .44419E-01   -.51403E-03** at limit **
  14  Prefactor     .77597E-03    .28628E-01    .22947E-04** at limit **
  15  Prefactor     .10000E-03    .37679        .81697E-04** at limit **
  16  Prefactor     .10000E-03    .41912       -.15453E-03** at limit **
  17  norm          12.883        .99976       -.27909E-04   -.59143E-04
  18  Prefactor     .10000E-03    .28748       -.79655E-04** at limit **
  19  norm          .10000E-03    .22306        .30750E-03** at limit **
  20  Prefactor     .10000E-03    .21042       -.43413E-05** at limit **
  21  norm          52.367        .99741       -.34751E-04   -.11301E-03
  22  norm          54.934        1.1991       -.17982E-03   -.18285E-03
  23  norm          .10000E-03    .20571        .69828E-04** at limit **
  24  Normalizat    .90143        1.2335        .11724E-02   -.27429E-04
  25  Prefactor     .37222        .70035       -.14916E-03   -.65045E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.54013
  Prefactor  = 9.64821
  Prefactor  = 5.79789
  Prefactor  = 8.84366
  Prefactor  = 9.26714
  Prefactor  = 4.00586
  norm       = 3.47868
  Prefactor  = 5.21368
  norm       = 5760.71
  Prefactor  = 11.382
  Prefactor  = 6.16652
  Prefactor  = 0.0001
  norm       = 0.00010021
  Prefactor  = 0.000775972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.8826
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 52.3666
  norm       = 54.9341
  norm       = 0.0001
  Normalizat = 0.901431
  Prefactor  = 0.372224
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   518.0900     FROM HESSE     STATUS=FAILED        15 CALLS      527 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5401        2295.0        .36515E-02   -1.5159    
   2  Prefactor     9.6482        2294.1        .32261E-02   -1.5087    
   3  Prefactor     523.83        517.98         .0000       -1.5226    
   4  Prefactor     8.8437        1.0017        .45184E-08   -1.5113    
   5  Prefactor     9.2671        1.0039        .20817E-06   -1.5099    
   6  Prefactor     4.0059        1.0151        .39083E-06   -1.5308    
   7  norm          3.4787        1.0589        .23985E-05   -1.5335    
   8  Prefactor     5.2137        1.0069        .13956E-06   -1.5251    
   9  norm          5760.7        1.0000       -.39999E-06    .15273    
  10  Prefactor     11.382        1.0722        .67687E-05   -1.5033    
  11  Prefactor     6.1665        1.0056        .15636E-06   -1.5211    
  12  Prefactor     .10000E-03    .34714       -.27734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10021E-03    .44419E-01   -.51403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77597E-03    .28628E-01    .22947E-04   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .37679        .81697E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .41912       -.15453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.883        .99976       -.27909E-04   -1.4990    
  18  Prefactor     .10000E-03    .28748       -.79655E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .22306        .30750E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .21042       -.43413E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          52.367        .99741       -.34751E-04   -1.4259    
  22  norm          54.934        1.1991       -.17982E-03   -1.4224    
  23  norm          .10000E-03    .20571        .69828E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .90143        1.2335        .11724E-02   -.96410    
  25  Prefactor     .37222        .70035       -.14916E-03   -1.1825    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.65915e-10
Minuit parameter uncertainties:
  1  274.488
  2  310.464
  3  1.00377
  4  1.00166
  5  1.00388
  6  1.01515
  7  1.05888
  8  1.00687
  9  1.00003
  10  1.07225
  11  1.0056
  12  2.52175e-05
  13  0.000193013
  14  0.00879813
  15  3.99587e-06
  16  1.19808e-05
  17  0.999763
  18  3.82579e-06
  19  3.02435e-05
  20  4.75395e-07
  21  0.997406
  22  1.19911
  23  7.69085e-06
  24  1.27575
  25  0.717394
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 518.089972385

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  1.002e-04  1.930e-04  1.000e-04  1.000e+04 ( 1.000e-13)
394        alpha:  1.735e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
395         beta:  5.621e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
396           Eb:  1.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1082    Prefactor:  3.722e-01  7.174e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1083        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1084        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1066   Normalization:  9.014e-01  1.276e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.991 -39.148
Photon Flux Upper Limit: 8.77e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740906/likelihoodResults_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.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): 102
logL (Free Index) = 518.089978341
delta logL = -5.95574636009e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 517.842156258
delta logL = 0.247816127358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5820       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .41473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40832       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1109E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   517.8422     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      269 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5819        5.5876        .63494E-02    .23419E-04
   2  alpha         5.0000        3.6365        .46267    ** at limit **
   3  Normalizat    .41464        6.5279        .22070       -.15836E-04
   4  Prefactor     .40833        .38348        .27003E-01   -.25269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.5819
  alpha      = 5
  Normalizat = 0.414641
  Prefactor  = 0.408332
 **********
 **   18 **HESSE 
 **********

 FCN=   517.8422     FROM HESSE     STATUS=OK            29 CALLS      298 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5819        4.3807        .57114E-04   -1.5387    
   2  alpha         5.0000        3.7101        .25078E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .41464        5.3118        .97520E-03   -1.1655    
   4  Prefactor     .40833        .24952        .11931E-03   -1.1638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66935e-10
Minuit parameter uncertainties:
  1  4.38127
  2  2.09793e-06
  3  2.09101
  4  0.250188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740906': 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) = 517.842156257
delta logL = 0.247816128261

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  2.582e+00  4.381e+00  1.000e-04  1.000e+04 ( 1.000e-13)
394        alpha:  5.000e+00  2.098e-06  0.000e+00  5.000e+00 ( 1.000e+00)
395         beta:  5.621e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
396           Eb:  1.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1082    Prefactor:  4.083e-01  2.502e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1083        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1084        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1066   Normalization:  4.146e-01  2.091e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.991 -39.148

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/740906/cmap_HighResolution_608947201_609206401_4FGL_J1443.9-3908_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='8.77e-06', time_completed='2021-09-10 07:26:37.330269', job_id='740906', GAL2='0.41', fit_tolerance='1e-08', EG2='0.41', EG='0.90', time_epoch_completed='1631283997.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.37', dlogl='2.48e-01', ts2='0.59', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1426' AND source_name='4FGL J1443.9-3908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 07:26:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 740906: <4FGL_J1443.9-3908_daily_bin1426> in cluster <slac> Done

Job <4FGL_J1443.9-3908_daily_bin1426> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 07:16:19 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 07:16:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 07:16:21 2021
Terminated at Fri Sep 10 07:26:37 2021
Results reported at Fri Sep 10 07:26:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9-3908_daily_bin1426 220.991 -39.1481 608947201 609206401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1443.9-3908 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   391.41 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             321.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            618 sec.

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

