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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1157
RA = 220.993, Dec = 25.0291
tmin = 539222401, tmax = 539481601
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='724307', job_status='RUN', time_executed='2021-09-10 06:22:57.177687', time_epoch_executed='1631280177.18' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724307

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724307/ft1_4FGL_J1443.9+2501_daily_bin1157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724307/ft1_4FGL_J1443.9+2501_daily_bin1157.fits outfile=/scratch/kocevski/724307/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1157.fits ra=220.993 dec=25.0291 rad=12.0 tmin=539222401.0 tmax=539481601.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 5.59
user 5.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724307/ft1_filtered_4FGL_J1443.9+2501_daily_bin1157.fits" evtable="EVENTS" scfile=/scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits sctable="SC_DATA" outfile=/scratch/kocevski/724307/ltcube_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.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/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits
.....................!
real 11.82
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724307/ft1_filtered_4FGL_J1443.9+2501_daily_bin1157.fits evtable="EVENTS" scfile=/scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits sctable="SC_DATA" expcube=/scratch/kocevski/724307/ltcube_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits outfile=/scratch/kocevski/724307/expmap_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.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/724307/ltcube_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits
.....................!
real 193.49
user 187.55
sys 5.47

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/724307/ft1_filtered_4FGL_J1443.9+2501_daily_bin1157.fits scfile=/scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits outfile=/scratch/kocevski/724307/cmap_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.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.53
user 0.38
sys 0.13

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724307/ft1_filtered_4FGL_J1443.9+2501_daily_bin1157.fits', '/scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits', expMap='/scratch/kocevski/724307/expmap_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits', expCube='/scratch/kocevski/724307/ltcube_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724307/Model_4FGL_J1443.9+2501_daily_bin1157.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/724307/ft1_filtered_4FGL_J1443.9+2501_daily_bin1157.fits
Spacecraft file(s): /scratch/kocevski/724307/ft2_4FGL_J1443.9+2501_daily_bin1157.fits
Exposure map: /scratch/kocevski/724307/expmap_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits
Exposure cube: /scratch/kocevski/724307/ltcube_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724307/Model_4FGL_J1443.9+2501_daily_bin1157.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) = 2434.53124008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8582       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.611       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4522       1.0000         .10000E-03   10000.    
     6 'norm      '    14.395       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13862E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.100       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.227       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.594       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    126.14       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6408       1.0000         .10000E-03   10000.    
    18 'norm      '    8.1746       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99891       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2104       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=   2434.524     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2323 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8573        7.2172        .13292E-05    .36071E-04
   2  Prefactor     10.613        17.707        .75883E-06   -.13950E-04
   3  norm          .10000E-03    2.0662       -.15237E-07** at limit **
   4  Prefactor     .10000E-03    8.5210        .18815E-06** at limit **
   5  norm          2.4539        6.7897        .13556E-05    .81211E-05
   6  norm          14.393        10.262        .13008E-06   -.92565E-05
   7  Prefactor     .10000E-03    317.24       -.14885E-04** at limit **
   8  Prefactor     17.154        53.974        .99202E-06    .16091E-04
   9  norm          .10000E-03    7.4341       -.22895E-07** at limit **
  10  Prefactor     .10000E-03    34.992        .43438E-06** at limit **
  11  Prefactor     44.221        36.257       -.57924E-06   -.31978E-05
  12  Prefactor     27.596        46.538        .79713E-06    .98360E-06
  13  Prefactor     .10000E-03    20.597        .93729E-07** at limit **
  14  Prefactor     .10000E-03    10.459        .34926E-07** at limit **
  15  norm          .10000E-03    61.645        .13299E-06** at limit **
  16  Prefactor     126.14        123.31        .16992E-05   -.83721E-05
  17  Prefactor     1.6432        13.997        .22654E-05    .95180E-05
  18  norm          8.1743        3.2690        .43898E-07   -.32539E-04
  19  Prefactor     .10000E-03    11.699        .82437E-09** at limit **
  20  Prefactor     .10000E-03    40.856        .23232E-07** at limit **
  21  Normalizat    .99913        .34721       -.69791E-06   -.40408E-04
  22  Prefactor     1.2101        .28494       -.27607E-05   -.62088E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.85734
  Prefactor  = 10.6135
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.45391
  norm       = 14.3933
  Prefactor  = 0.000100001
  Prefactor  = 17.1536
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.2215
  Prefactor  = 27.5958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 126.142
  Prefactor  = 1.6432
  norm       = 8.17428
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.999133
  Prefactor  = 1.21009
 **********
 **   18 **HESSE 
 **********

 FCN=   2434.524     FROM HESSE     STATUS=OK           342 CALLS     2665 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8573        7.3116        .70793E-03   -1.5224    
   2  Prefactor     10.613        17.721        .12300E-03   -1.5056    
   3  norm          .10000E-03    2.0714        .69264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.5334        .14058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4539        6.7888        .20100E-03   -1.5395    
   6  norm          14.393        10.264        .52784E-03   -1.4949    
   7  Prefactor     .10000E-03    322.09        .41064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.154        54.089        .96854E-04   -1.4879    
   9  norm          .10000E-03    7.4344        .13140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     44.221        36.381        .60285E-04   -1.4377    
  12  Prefactor     27.596        46.520        .76265E-04   -1.4657    
  13  Prefactor     .10000E-03    20.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.478        .15588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    61.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     126.14        123.51        .35842E-04   -1.3457    
  17  Prefactor     1.6432        14.036        .32987E-03   -1.5452    
  18  norm          8.1743        3.2732        .53882E-04   -1.5136    
  19  Prefactor     .10000E-03    11.713        .16477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99913        .41006        .32080E-03   -.93059    
  22  Prefactor     1.2101        .33273        .23446E-03   -.86021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96364e-11
Minuit parameter uncertainties:
  1  7.31269
  2  17.7295
  3  1.12131e-06
  4  1.94215e-06
  5  6.79097
  6  10.2652
  7  0.00114365
  8  54.2445
  9  2.57263e-06
  10  1.68853e-06
  11  36.3995
  12  46.5816
  13  1.19264e-05
  14  1.5367e-05
  15  0.000127017
  16  123.768
  17  9.60758
  18  3.27323
  19  1.12256e-06
  20  2.29083e-05
  21  0.411361
  22  0.333306
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.439e+01  1.027e+01  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.210e+00  3.333e-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:  9.991e-01  4.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.16
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 8.10e-08 +/- 5.77e-08
Energy Flux (Fixed Index): 4.84e-05 +/- 3.45e-05

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) = 2434.27453363
delta logL = 0.249806319415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2434.26475315
delta logL = 0.259586793367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.938       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4924       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2057       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=   2434.265     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.933        11.224       -.38283E-05   -.42938E-03
   2  alpha         1.4917        .65115       -.60677E-04    .31800E-04
   3  Normalizat    1.0227        .33376        .21549E-05    .12413E-03
   4  Prefactor     1.2055        .26620        .11473E-06    .14521E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9326
  alpha      = 1.49166
  Normalizat = 1.02268
  Prefactor  = 1.20551
 **********
 **   18 **HESSE 
 **********

 FCN=   2434.265     FROM HESSE     STATUS=OK            27 CALLS      238 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.933        11.108        .11136E-03   -1.4989    
   2  alpha         1.4917        .64334        .11158E-01   -.41516    
   3  Normalizat    1.0227        .38867        .31760E-03   -.92274    
   4  Prefactor     1.2055        .31066        .23489E-03   -.86162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18154e-10
Minuit parameter uncertainties:
  1  11.1102
  2  0.652137
  3  0.389753
  4  0.311136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724307': 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) = 2434.2647524
delta logL = 0.259587545169

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.293e+01  1.111e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.492e+00  6.521e-01  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.206e+00  3.111e-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.023e+00  3.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.67
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.49 +/- 0.65
Photon Flux (Free Index): 4.99e-08 +/- 5.22e-08
Energy Flux (Free Index): 8.20e-05 +/- 9.52e-05

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/724307/cmap_HighResolution_539222401_539481601_4FGL_J1443.9+2501_daily_bin1157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='8.20e-05', photon_flux_error='5.77e-08', dlogl='2.60e-01', energy_flux='4.84e-05', photon_flux2='4.99e-08', job_status='DONE', time_completed='2021-09-10 06:29:54.372443', photon_index_error2='0.65', photon_index2='1.49', ts='5.16', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='9.52e-05', EG='1.00', time_epoch_completed='1631280594.37', return_code='0', job_id='724307', GAL2='1.21', EG2='1.02', return_code2='0', energy_flux_error='3.45e-05', photon_flux_error2='5.22e-08', ts2='5.67', photon_index='1.97' WHERE bin_id='1157' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:29:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 724307: <4FGL_J1443.9+2501_daily_bin1157> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1157> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:20:59 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:01 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:01 2021
Terminated at Fri Sep 10 06:29:55 2021
Results reported at Fri Sep 10 06:29:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1157 220.993 25.0291 539222401 539481601 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 :                                   412.03 sec.
    Max Memory :                                 1182 MB
    Average Memory :                             297.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            536 sec.

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

