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


Performing analysis on: 4FGL_J1443.9-3908_daily_bin1197
RA = 220.991, Dec = -39.1481
tmin = 549590401, tmax = 549849601
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='739409', job_status='RUN', time_executed='2021-09-10 07:11:36.203579', time_epoch_executed='1631283096.2' WHERE source_name='4FGL J1443.9-3908' and cadence='daily' and bin_id='1197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/739409

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/739409/ft1_4FGL_J1443.9-3908_daily_bin1197.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/739409/ft1_4FGL_J1443.9-3908_daily_bin1197.fits outfile=/scratch/kocevski/739409/ft1_filteredMKT_4FGL_J1443.9-3908_daily_bin1197.fits ra=220.991 dec=-39.1481 rad=12.0 tmin=549590401.0 tmax=549849601.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 2.71
user 2.52
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits" evtable="EVENTS" scfile=/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits sctable="SC_DATA" outfile=/scratch/kocevski/739409/ltcube_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.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/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits
.....................!
real 12.81
user 12.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits evtable="EVENTS" scfile=/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits sctable="SC_DATA" expcube=/scratch/kocevski/739409/ltcube_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits outfile=/scratch/kocevski/739409/expmap_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.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/739409/ltcube_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits
.....................!
real 196.39
user 191.74
sys 4.24

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/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits scfile=/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits outfile=/scratch/kocevski/739409/cmap_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits scfile=/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits outfile=/scratch/kocevski/739409/cmap_HighResolution_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.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 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits evtable="EVENTS" scfile=/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/739409/Model_4FGL_J1443.9-3908_daily_bin1197.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/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits......................!
real 106.61
user 105.03
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits', '/scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits', expMap='/scratch/kocevski/739409/expmap_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits', expCube='/scratch/kocevski/739409/ltcube_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/739409/Model_4FGL_J1443.9-3908_daily_bin1197.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/739409/ft1_filtered_4FGL_J1443.9-3908_daily_bin1197.fits
Spacecraft file(s): /scratch/kocevski/739409/ft2_4FGL_J1443.9-3908_daily_bin1197.fits
Exposure map: /scratch/kocevski/739409/expmap_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits
Exposure cube: /scratch/kocevski/739409/ltcube_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/739409/Model_4FGL_J1443.9-3908_daily_bin1197.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) = 2121.51807882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.546       1.0000         .10000E-03   10000.    
     2 'Prefactor '    138.36       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51654E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    88.682       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.6333       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7960       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42650E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.110       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12874E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    266.60       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.846       1.0000         .10000E-03   10000.    
    19 'norm      '    2467.2       1.0000         .10000E-03   10000.    
    20 'Prefactor '    99.538       1.0000         .10000E-03   10000.    
    21 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10417E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .28023       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0870       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2121.082     FROM MIGRAD    STATUS=CONVERGED    968 CALLS     3829 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.550        58.351        .11790E-03   -.46285E-05
   2  Prefactor     138.45        123.75        .17122E-03   -.16201E-04
   3  Prefactor     .10000E-03    64.777        .18142E-02** at limit **
   4  Prefactor     .10000E-03    8888.0        .18556E-02** at limit **
   5  Prefactor     88.695        207.91        .42666E-04   -.67147E-05
   6  Prefactor     .10000E-03    18.371        .18142E-02** at limit **
   7  norm          2.6341        13.066        .25128E-03    .97271E-06
   8  Prefactor     .10000E-03    80.352        .18142E-02** at limit **
   9  norm          1.7961        .64782        .20306E-04   -.16320E-03
  10  Prefactor     .10000E-03    661.43        .21234E-02** at limit **
  11  Prefactor     .10000E-03    74.116        .18142E-02** at limit **
  12  Prefactor     71.133        119.06        .47605E-04   -.12800E-04
  13  norm          .10000E-03    18.731        .18142E-02** at limit **
  14  Prefactor     .10000E-03    1010.7        .18142E-02** at limit **
  15  Prefactor     .10000E-03    576.51        .18142E-02** at limit **
  16  Prefactor     266.59        320.91        .24831E-04    .77833E-06
  17  norm          .10000E-03    10.303        .28353E-03** at limit **
  18  Prefactor     59.851        119.07        .51864E-04   -.44498E-05
  19  norm          2467.4        1309.7        .46393E-04    .75966E-06
  20  Prefactor     99.535        162.89        .40294E-04   -.25957E-05
  21  norm          .10000E-03    48.359        .18142E-02** at limit **
  22  norm          .10000E-03    486.49        .18142E-02** at limit **
  23  norm          .10000E-03    374.36        .18142E-02** at limit **
  24  Normalizat    .28012        .83518        .10874E-02   -.33665E-05
  25  Prefactor     1.0870        .24076        .16553E-03   -.14767E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.5497
  Prefactor  = 138.448
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 88.695
  Prefactor  = 0.0001
  norm       = 2.63408
  Prefactor  = 0.0001
  norm       = 1.79615
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.1325
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 266.585
  norm       = 0.0001
  Prefactor  = 59.8514
  norm       = 2467.39
  Prefactor  = 99.5355
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.280121
  Prefactor  = 1.08699
 **********
 **   18 **HESSE 
 **********

 FCN=   2121.082     FROM HESSE     STATUS=OK           401 CALLS     4230 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.550        58.341        .47160E-05   -1.5028    
   2  Prefactor     138.45        123.70        .68487E-05   -1.3349    
   3  Prefactor     .10000E-03    64.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8886.9        .37113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     88.695        207.89        .85332E-05   -1.3822    
   6  Prefactor     .10000E-03    18.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6341        13.057        .10051E-04   -1.5383    
   8  Prefactor     .10000E-03    80.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7961        .64781        .81226E-06   -1.5440    
  10  Prefactor     .10000E-03    661.45        .42468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    74.117        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.133        118.99        .95210E-05   -1.4019    
  13  norm          .10000E-03    18.731        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1010.7        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    576.63        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     266.59        321.20        .49662E-05   -1.2428    
  17  norm          .10000E-03    10.303        .56705E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     59.851        119.07        .10373E-04   -1.4159    
  19  norm          2467.4        1309.7        .92786E-05   -.53115    
  20  Prefactor     99.535        162.88        .80588E-05   -1.3709    
  21  norm          .10000E-03    48.359        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    486.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    374.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .28012        .83227        .43495E-04   -1.2404    
  25  Prefactor     1.0870        .24015        .66210E-05   -.89884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15947e-11
Minuit parameter uncertainties:
  1  51.9969
  2  123.936
  3  5.41621e-05
  4  0.0284903
  5  209.631
  6  1.73104e-05
  7  11.7328
  8  1.74664e-06
  9  0.647811
  10  3.77871e-06
  11  1.50552e-05
  12  119.387
  13  7.8029e-07
  14  0.00252996
  15  0.000306504
  16  323.37
  17  1.71026e-05
  18  119.549
  19  1330.73
  20  163.621
  21  1.6255e-06
  22  4.9262e-06
  23  0.000539449
  24  0.874044
  25  0.240388
Done.

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

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  1.000e-04  7.803e-07  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:  1.087e+00  2.404e-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:  2.801e-01  8.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.991 -39.148
Photon Flux Upper Limit: 2.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/739409/likelihoodResults_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.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) = 2121.08192599
delta logL = -0.000234430130604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2121.08169509
delta logL = -3.53386394636e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10402E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7230       1.0000          .0000       5.0000    
     3 'Normalizat'    .28012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0870       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2121.082     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      281 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    826.50        .13240E-01** at limit **
   2  alpha         1.4585        4.0295        .16544        .20615E-09
   3  Normalizat    .28012        .12303        .10876E-02   -.95053E-04
   4  Prefactor     1.0870        .35198E-01    .16552E-03   -.63735E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100008
  alpha      = 1.45854
  Normalizat = 0.280116
  Prefactor  = 1.08698
 **********
 **   18 **HESSE 
 **********

 FCN=   2121.082     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    19.871        .20012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4585        3.2233        .66177E-02   -.42968    
   3  Normalizat    .28012        .77763        .43504E-04   -1.2404    
   4  Prefactor     1.0870        .23161        .33105E-04   -.89884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.72627e-10
Minuit parameter uncertainties:
  1  0.000774441
  2  502.618
  3  0.811081
  4  0.231822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/739409': 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) = 2121.08169142
delta logL = 1.41262262332e-07

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  1.000e-04  7.744e-04  1.000e-04  1.000e+04 ( 1.000e-13)
394        alpha:  1.459e+00  5.026e+02  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:  1.087e+00  2.318e-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:  2.801e-01  8.111e-01  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/739409/cmap_HighResolution_549590401_549849601_4FGL_J1443.9-3908_daily_bin1197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-04', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2021-09-10 07:24:06.289443', job_id='739409', GAL2='1.09', fit_tolerance='1e-08', EG2='0.28', EG='0.28', time_epoch_completed='1631283846.29', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1197' AND source_name='4FGL J1443.9-3908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 07:24:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 739409: <4FGL_J1443.9-3908_daily_bin1197> in cluster <slac> Done

Job <4FGL_J1443.9-3908_daily_bin1197> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 07:11:05 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 07:11:06 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:11:06 2021
Terminated at Fri Sep 10 07:24:07 2021
Results reported at Fri Sep 10 07:24:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9-3908_daily_bin1197 220.991 -39.1481 549590401 549849601 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 :                                   742.00 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             357.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

