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


Performing analysis on: 4FGL_J1443.9-3908_daily_bin1204
RA = 220.991, Dec = -39.1481
tmin = 551404801, tmax = 551664001
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='739419', job_status='RUN', time_executed='2021-09-10 07:14:12.963002', time_epoch_executed='1631283252.96' WHERE source_name='4FGL J1443.9-3908' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/739419

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/739419/ft1_4FGL_J1443.9-3908_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/739419/ft1_4FGL_J1443.9-3908_daily_bin1204.fits outfile=/scratch/kocevski/739419/ft1_filteredMKT_4FGL_J1443.9-3908_daily_bin1204.fits ra=220.991 dec=-39.1481 rad=12.0 tmin=551404801.0 tmax=551664001.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.77
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/739419/ft1_filtered_4FGL_J1443.9-3908_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/739419/ltcube_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.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/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits
.....................!
real 11.89
user 11.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/739419/ft1_filtered_4FGL_J1443.9-3908_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/739419/ltcube_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.fits outfile=/scratch/kocevski/739419/expmap_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.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/739419/ltcube_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.fits
.....................!
real 192.70
user 185.26
sys 4.95

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/739419/ft1_filtered_4FGL_J1443.9-3908_daily_bin1204.fits scfile=/scratch/kocevski/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits outfile=/scratch/kocevski/739419/cmap_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.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.58
user 0.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/739419/ft1_filtered_4FGL_J1443.9-3908_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/739419/ft2_4FGL_J1443.9-3908_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/739419/Model_4FGL_J1443.9-3908_daily_bin1204.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/739419/ft1_filtered_4FGL_J1443.9-3908_daily_bin1204.fits......................!
real 96.45
user 93.96
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10432E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    182.91       1.0000         .10000E-03   10000.    
     3 'Prefactor '    129.51       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1833.7       1.0000         .10000E-03   10000.    
     5 'Prefactor '    68.917       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.802       1.0000         .10000E-03   10000.    
     7 'norm      '    8.9575       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2941       1.0000         .10000E-03   10000.    
     9 'norm      '    .79767       1.0000         .10000E-03   10000.    
    10 'Prefactor '    433.08       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.924       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    69.198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    511.69       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    41.231       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .19183       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93401       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=   2257.279     FROM MIGRAD    STATUS=CONVERGED    984 CALLS     3727 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    236.24        .18142E-02** at limit **
   2  Prefactor     183.00        211.73        .14925E-03    .13071E-04
   3  Prefactor     129.67        273.53        .17689E-03    .88049E-05
   4  Prefactor     1833.2        2651.1        .51683E-04    .39594E-05
   5  Prefactor     69.206        815.60        .24176E-03    .65835E-06
   6  Prefactor     33.848        60.171        .68924E-04    .16330E-04
   7  norm          8.9597        14.630        .13392E-03    .12097E-04
   8  Prefactor     7.3010        543.36        .14851E-03   -.22965E-05
   9  norm          .79793        .72259        .36307E-04    .69357E-04
  10  Prefactor     433.09        604.68        .98256E-04   -.48596E-06
  11  Prefactor     19.930        79.918        .89732E-04   -.39276E-05
  12  Prefactor     .10000E-03    32.523        .18142E-02** at limit **
  13  norm          69.206        52.625        .24127E-03    .89293E-05
  14  Prefactor     511.95        379.26        .90768E-04    .16032E-05
  15  Prefactor     .10000E-03    52.858        .18142E-02** at limit **
  16  Prefactor     .10000E-03    54.522        .18142E-02** at limit **
  17  norm          .10000E-03    1.4322        .10949E-03** at limit **
  18  Prefactor     .10000E-03    31.392        .18142E-02** at limit **
  19  norm          .10000E-03    118.49        .18142E-02** at limit **
  20  Prefactor     .10000E-03    125.97        .35335E-02** at limit **
  21  norm          41.240        19.919        .62428E-04    .49534E-04
  22  norm          .10000E-03    30.836        .18142E-02** at limit **
  23  norm          .10000E-03    77.216        .18142E-02** at limit **
  24  Normalizat    .19148        1.2329        .12065E-01    .11984E-04
  25  Prefactor     .93402        .20584        .14788E-03    .57803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 182.996
  Prefactor  = 129.669
  Prefactor  = 1833.18
  Prefactor  = 69.2064
  Prefactor  = 33.8478
  norm       = 8.95969
  Prefactor  = 7.30101
  norm       = 0.797927
  Prefactor  = 433.094
  Prefactor  = 19.9301
  Prefactor  = 0.0001
  norm       = 69.2056
  Prefactor  = 511.946
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 41.2401
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.191477
  Prefactor  = 0.934025
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.279     FROM HESSE     STATUS=OK           403 CALLS     4130 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    236.25        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     183.00        211.66        .29851E-04   -1.2994    
   3  Prefactor     129.67        269.39        .70756E-05   -1.3426    
   4  Prefactor     1833.2        2651.9        .10337E-04   -.68589    
   5  Prefactor     69.206        814.93        .96703E-05   -1.4042    
   6  Prefactor     33.848        59.675        .27570E-05   -1.4544    
   7  norm          8.9597        14.618        .53568E-05   -1.5109    
   8  Prefactor     7.3010        542.22        .59405E-05   -1.5167    
   9  norm          .79793        .72252        .14523E-05   -1.5529    
  10  Prefactor     433.09        604.73        .19651E-04   -1.1515    
  11  Prefactor     19.930        79.922        .35893E-05   -1.4815    
  12  Prefactor     .10000E-03    32.523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          69.206        52.618        .96508E-05   -1.4042    
  14  Prefactor     511.95        374.07        .18154E-04   -1.1143    
  15  Prefactor     .10000E-03    52.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    54.522        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4322        .21897E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    31.396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    118.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    128.03        .70671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          41.240        19.873        .24971E-05   -1.4423    
  22  norm          .10000E-03    30.837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    77.225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .19148        1.0386        .48259E-03   -1.3004    
  25  Prefactor     .93402        .19189        .29577E-04   -.94962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89005e-11
Minuit parameter uncertainties:
  1  0.00040365
  2  212.551
  3  272.004
  4  2921.72
  5  483.451
  6  59.781
  7  14.6236
  8  127.05
  9  0.722526
  10  613.998
  11  80.0082
  12  7.1056e-06
  13  52.653
  14  375.891
  15  4.05858e-05
  16  6.80981e-06
  17  7.16041e-06
  18  9.4052e-05
  19  5.02879e-05
  20  7.91709e-05
  21  19.8764
  22  1.38633e-05
  23  1.26628e-06
  24  0.893035
  25  0.192029
Done.

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

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  6.921e+01  5.265e+01  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:  9.340e-01  1.920e-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:  1.915e-01  8.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.43
Ra Dec: 220.991 -39.148
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 1.00e-07
Energy Flux (Fixed Index): 1.84e-04 +/- 1.40e-04

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) = 2257.2051634
delta logL = 0.0735838602395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2257.1982771
delta logL = 0.080470160498

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    64.033       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9865       1.0000          .0000       5.0000    
     3 'Normalizat'    .17068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93349       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=   2257.198     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      277 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          64.048        51.334        .25075E-03    .97615E-05
   2  alpha         1.9862        .62271        .90360E-02    .67596E-04
   3  Normalizat    .16978        .89889        .12518E-01    .12680E-03
   4  Prefactor     .93365        .19272        .14779E-03    .10731E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 64.048
  alpha      = 1.98622
  Normalizat = 0.169781
  Prefactor  = 0.933652
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.198     FROM HESSE     STATUS=OK            27 CALLS      304 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          64.048        50.720        .50150E-04   -1.4106    
   2  alpha         1.9862        .61482        .18072E-02   -.20699    
   3  Normalizat    .16978        .81557        .25036E-02   -1.3172    
   4  Prefactor     .93365        .18344        .59118E-05   -.94975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0242e-12
Minuit parameter uncertainties:
  1  50.7544
  2  0.621481
  3  0.738558
  4  0.183561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/739419': 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) = 2257.19827616
delta logL = 0.0804710981465

Extracting fit parameters...

4FGL J1443.9-3908
   Spectrum: LogParabola
393         norm:  6.405e+01  5.075e+01  1.000e-04  1.000e+04 ( 1.000e-13)
394        alpha:  1.986e+00  6.215e-01  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:  9.337e-01  1.836e-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:  1.698e-01  7.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.57
Ra Dec: 220.991 -39.148
Photon Index (Free Index): 1.99 +/- 0.62
Photon Flux (Free Index): 1.87e-07 +/- 2.02e-07
Energy Flux (Free Index): 1.41e-04 +/- 1.27e-04

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/739419/cmap_HighResolution_551404801_551664001_4FGL_J1443.9-3908_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='1.41e-04', photon_flux_error='1.00e-07', dlogl='8.05e-02', energy_flux='1.84e-04', photon_flux2='1.87e-07', job_status='DONE', time_completed='2021-09-10 07:25:14.767619', photon_index_error2='0.62', photon_index2='1.99', ts='9.43', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.27e-04', EG='0.19', time_epoch_completed='1631283914.77', return_code='0', job_id='739419', GAL2='0.93', EG2='0.17', return_code2='0', energy_flux_error='1.40e-04', photon_flux_error2='2.02e-07', ts2='9.57', photon_index='1.74' WHERE bin_id='1204' AND source_name='4FGL J1443.9-3908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 07:25:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 739419: <4FGL_J1443.9-3908_daily_bin1204> in cluster <slac> Done

Job <4FGL_J1443.9-3908_daily_bin1204> 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) <bullet0275>, 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:25:15 2021
Results reported at Fri Sep 10 07:25:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9-3908_daily_bin1204 220.991 -39.1481 551404801 551664001 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 :                                   652.00 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             288.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            850 sec.

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

