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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1002
RA = 220.993, Dec = 25.0291
tmin = 499046401, tmax = 499305601
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='723084', job_status='RUN', time_executed='2021-09-10 06:16:43.123735', time_epoch_executed='1631279803.12' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1002'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723084/ft1_4FGL_J1443.9+2501_daily_bin1002.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723084/ft1_4FGL_J1443.9+2501_daily_bin1002.fits outfile=/scratch/kocevski/723084/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1002.fits ra=220.993 dec=25.0291 rad=12.0 tmin=499046401.0 tmax=499305601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.43
user 4.07
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.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/723084/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1002.fits evtable="EVENTS" outfile="/scratch/kocevski/723084/ft1_filtered_4FGL_J1443.9+2501_daily_bin1002.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723084/ft1_filtered_4FGL_J1443.9+2501_daily_bin1002.fits" evtable="EVENTS" scfile=/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits sctable="SC_DATA" outfile=/scratch/kocevski/723084/ltcube_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.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/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits
.....................!
real 12.01
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723084/ft1_filtered_4FGL_J1443.9+2501_daily_bin1002.fits evtable="EVENTS" scfile=/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits sctable="SC_DATA" expcube=/scratch/kocevski/723084/ltcube_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.fits outfile=/scratch/kocevski/723084/expmap_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.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/723084/ltcube_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.fits
.....................!
real 189.48
user 184.98
sys 4.12

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/723084/ft1_filtered_4FGL_J1443.9+2501_daily_bin1002.fits scfile=/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits outfile=/scratch/kocevski/723084/cmap_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723084/ft1_filtered_4FGL_J1443.9+2501_daily_bin1002.fits scfile=/scratch/kocevski/723084/ft2_4FGL_J1443.9+2501_daily_bin1002.fits outfile=/scratch/kocevski/723084/cmap_HighResolution_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72179       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1416       1.0000         .10000E-03   10000.    
     3 'norm      '    5.3821       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.849       1.0000         .10000E-03   10000.    
     5 'norm      '    6.2866       1.0000         .10000E-03   10000.    
     6 'norm      '    8.6063       1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.331       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.223       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.469       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21076E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.231       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7563       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    71.842       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3356       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1359       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.576       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0239       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=   9719.324     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2392 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72266        2.5474        .18866E-05   -.67865E-06
   2  Prefactor     6.1412        6.5267       -.10263E-06   -.76276E-04
   3  norm          5.3822        2.3558        .32205E-07   -.14771E-04
   4  Prefactor     10.849        7.4498        .78506E-07   -.33055E-04
   5  norm          6.2869        3.1102        .68264E-07   -.35602E-04
   6  norm          8.6067        4.2768        .86907E-07   -.33319E-04
   7  Prefactor     42.345        34.277        .22727E-06   -.38893E-04
   8  Prefactor     13.189        23.834        .33062E-06    .11649E-03
   9  norm          .10000E-03    2.4235        .97436E-07** at limit **
  10  Prefactor     .10000E-03    7.8392        .28233E-06** at limit **
  11  Prefactor     38.474        15.963        .99151E-06    .22228E-03
  12  Prefactor     .10084E-03    16.877        .33338E-06** at limit **
  13  Prefactor     53.173        35.855       -.20434E-05   -.56083E-05
  14  Prefactor     3.7561        4.1786        .17442E-06    .16239E-04
  15  norm          .10000E-03    10.423        .87275E-08** at limit **
  16  Prefactor     71.840        34.735        .65015E-07   -.17714E-04
  17  Prefactor     6.3367        7.0689        .72139E-07   -.11908E-03
  18  norm          2.1361        .85122        .33495E-07   -.37033E-04
  19  Prefactor     .10000E-03    2.4004       -.34791E-07** at limit **
  20  Prefactor     30.576        24.189        .22137E-08   -.10693E-04
  21  Normalizat    .99056        .17243       -.18972E-05   -.64413E-04
  22  Prefactor     1.0240        .12645        .21336E-06   -.22002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.722656
  Prefactor  = 6.14123
  norm       = 5.38221
  Prefactor  = 10.8495
  norm       = 6.28686
  norm       = 8.60673
  Prefactor  = 42.3447
  Prefactor  = 13.1886
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.4744
  Prefactor  = 0.000100837
  Prefactor  = 53.1732
  Prefactor  = 3.75612
  norm       = 0.0001
  Prefactor  = 71.8399
  Prefactor  = 6.33671
  norm       = 2.13607
  Prefactor  = 0.0001
  Prefactor  = 30.5764
  Normalizat = 0.990559
  Prefactor  = 1.02404
 **********
 **   18 **HESSE 
 **********

 FCN=   9719.324     FROM HESSE     STATUS=OK           354 CALLS     2746 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72266        2.5250        .28177E-03   -1.5538    
   2  Prefactor     6.1412        6.5232        .16200E-03   -1.5212    
   3  norm          5.3822        2.3569        .96989E-04   -1.5244    
   4  Prefactor     10.849        7.4408        .12164E-03   -1.5049    
   5  norm          6.2869        3.1072        .11513E-03   -1.5206    
   6  norm          8.6067        4.2778        .13664E-03   -1.5121    
   7  Prefactor     42.345        34.631        .61614E-04   -1.4406    
   8  Prefactor     13.189        24.393        .11015E-03   -1.4981    
   9  norm          .10000E-03    2.4277        .14986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.8785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.474        16.101        .64622E-04   -1.4467    
  12  Prefactor     .10084E-03    19.887        .11123       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     53.173        36.714        .54974E-04   -1.4248    
  14  Prefactor     3.7561        4.1762        .20640E-03   -1.5320    
  15  norm          .10000E-03    10.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     71.840        34.758        .47364E-04   -1.4011    
  17  Prefactor     6.3367        7.0865        .15947E-03   -1.5204    
  18  norm          2.1361        .85028        .55434E-04   -1.5416    
  19  Prefactor     .10000E-03    2.4174        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.576        24.188        .72459E-04   -1.4601    
  21  Normalizat    .99056        .19816        .29486E-03   -.93347    
  22  Prefactor     1.0240        .14723        .22671E-03   -.91933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65139e-10
Minuit parameter uncertainties:
  1  2.52533
  2  6.52399
  3  2.35691
  4  7.4414
  5  3.10729
  6  4.27798
  7  34.647
  8  24.4112
  9  1.22057e-06
  10  1.66128e-05
  11  16.1031
  12  0.00816183
  13  36.7291
  14  4.17655
  15  2.03661e-06
  16  34.7681
  17  7.08748
  18  0.850286
  19  1.99964e-06
  20  24.1956
  21  0.198311
  22  0.147284
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.607e+00  4.278e+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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.024e+00  1.473e-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.906e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.10
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.84e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.44e-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) = 9719.19488573
delta logL = 0.12949548952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9719.19083909
delta logL = 0.133542129435

Fit tolerance = 1e-08

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

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

 FCN=   9719.191     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5341        82.434        .34303E-02    .25766E-03
   2  alpha         2.2138        3.3610        .30008        .65695E-04
   3  Normalizat    .97581        .16811        .67096E-01   -.44169E-03
   4  Prefactor     1.0284        .74861E-01    .41375E-01   -.86933E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.53406
  alpha      = 2.21377
  Normalizat = 0.975813
  Prefactor  = 1.02842
 **********
 **   18 **HESSE 
 **********

 FCN=   9719.191     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5341        4.1598        .12966E-03   -1.5124    
   2  alpha         2.2138        .47689        .14670E-01   -.11474    
   3  Normalizat    .97581        .18452        .29679E-03   -.93845    
   4  Prefactor     1.0284        .14288        .22622E-03   -.91788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4295e-10
Minuit parameter uncertainties:
  1  4.15991
  2  0.479868
  3  0.184638
  4  0.142928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723084': 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) = 9719.1908374
delta logL = 0.133543825368

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.534e+00  4.160e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.214e+00  4.799e-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.028e+00  1.429e-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.758e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.32
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.21 +/- 0.48
Photon Flux (Free Index): 6.38e-08 +/- 4.20e-08
Energy Flux (Free Index): 2.63e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/723084/cmap_HighResolution_499046401_499305601_4FGL_J1443.9+2501_daily_bin1002.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.84e-08', energy_flux2='2.63e-05', photon_flux_error='2.41e-08', dlogl='1.34e-01', energy_flux='2.90e-05', photon_flux2='6.38e-08', job_status='DONE', time_completed='2021-09-10 06:27:56.276099', photon_index_error2='0.48', photon_index2='2.21', ts='11.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.99', time_epoch_completed='1631280476.28', return_code='0', job_id='723084', GAL2='1.03', EG2='0.98', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.20e-08', ts2='11.32', photon_index='1.97' WHERE bin_id='1002' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:27:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 723084: <4FGL_J1443.9+2501_daily_bin1002> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1002> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:24 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:26 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:16:26 2021
Terminated at Fri Sep 10 06:27:57 2021
Results reported at Fri Sep 10 06:27:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1002 220.993 25.0291 499046401 499305601 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            693 sec.

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

