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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin809
RA = 220.993, Dec = 25.0291
tmin = 449020801, tmax = 449280001
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='722797', job_status='RUN', time_executed='2021-09-10 06:18:55.823874', time_epoch_executed='1631279935.82' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='809'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722797

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722797/ft1_4FGL_J1443.9+2501_daily_bin809.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722797/ft2_4FGL_J1443.9+2501_daily_bin809.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722797/ft1_4FGL_J1443.9+2501_daily_bin809.fits outfile=/scratch/kocevski/722797/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin809.fits ra=220.993 dec=25.0291 rad=12.0 tmin=449020801.0 tmax=449280001.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.53
user 5.26
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722797/ft2_4FGL_J1443.9+2501_daily_bin809.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/722797/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin809.fits evtable="EVENTS" outfile="/scratch/kocevski/722797/ft1_filtered_4FGL_J1443.9+2501_daily_bin809.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.50
user 0.32
sys 0.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722797/ft1_filtered_4FGL_J1443.9+2501_daily_bin809.fits evtable="EVENTS" scfile=/scratch/kocevski/722797/ft2_4FGL_J1443.9+2501_daily_bin809.fits sctable="SC_DATA" expcube=/scratch/kocevski/722797/ltcube_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.fits outfile=/scratch/kocevski/722797/expmap_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.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/722797/ltcube_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.fits
.....................!
real 191.51
user 185.68
sys 5.31

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/722797/ft1_filtered_4FGL_J1443.9+2501_daily_bin809.fits scfile=/scratch/kocevski/722797/ft2_4FGL_J1443.9+2501_daily_bin809.fits outfile=/scratch/kocevski/722797/cmap_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722797/ft1_filtered_4FGL_J1443.9+2501_daily_bin809.fits scfile=/scratch/kocevski/722797/ft2_4FGL_J1443.9+2501_daily_bin809.fits outfile=/scratch/kocevski/722797/cmap_HighResolution_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.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.58
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.3878       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9058       1.0000         .10000E-03   10000.    
     5 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    48.055       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.6731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.093       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.762       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.862       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7960       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.306       1.0000         .10000E-03   10000.    
    18 'norm      '    9.3977       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4721       1.0000         .10000E-03   10000.    
    20 'Prefactor '    57.008       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97934       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95025       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=   7364.721     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2362 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3268        5.8189        .49530E-07   -.12786E-04
   2  Prefactor     .10000E-03    4.7162        .31145E-06** at limit **
   3  norm          5.3880        3.0940        .18109E-07   -.29497E-05
   4  Prefactor     2.9026        5.8719        .20493E-05   -.46562E-04
   5  norm          .10000E-03    1.8255        .53286E-07** at limit **
   6  norm          48.056        9.3175        .21215E-07   -.68379E-05
   7  Prefactor     .10000E-03    20.770        .83453E-07** at limit **
   8  Prefactor     .10000E-03    39.752       -.57853E-06** at limit **
   9  norm          7.6731        7.8528       -.16904E-06    .25953E-05
  10  Prefactor     20.090        18.845       -.93581E-07    .50080E-05
  11  Prefactor     .10000E-03    17.956       -.24069E-07** at limit **
  12  Prefactor     30.744        27.857        .52232E-06   -.33947E-04
  13  Prefactor     19.864        28.131       -.79945E-07    .28449E-05
  14  Prefactor     4.7960        5.3033        .48566E-08    .65411E-05
  15  norm          .10000E-03    12.724        .40020E-07** at limit **
  16  Prefactor     .10000E-03    15.721       -.25635E-06** at limit **
  17  Prefactor     20.308        12.668        .42969E-07   -.36039E-04
  18  norm          9.4006        2.8701       -.31306E-06   -.28264E-03
  19  Prefactor     4.4323        27.063        .65586E-05    .38864E-04
  20  Prefactor     57.110        75.535       -.68071E-05    .36348E-04
  21  Normalizat    .97928        .20560       -.42030E-07   -.33306E-04
  22  Prefactor     .95029        .14812       -.36062E-06   -.43437E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.32677
  Prefactor  = 0.0001
  norm       = 5.38798
  Prefactor  = 2.90263
  norm       = 0.0001
  norm       = 48.0556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.67308
  Prefactor  = 20.0902
  Prefactor  = 0.0001
  Prefactor  = 30.7435
  Prefactor  = 19.8635
  Prefactor  = 4.79595
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3084
  norm       = 9.40064
  Prefactor  = 4.43233
  Prefactor  = 57.1103
  Normalizat = 0.979276
  Prefactor  = 0.950287
 **********
 **   18 **HESSE 
 **********

 FCN=   7364.721     FROM HESSE     STATUS=OK           350 CALLS     2712 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3268        5.8410        .13123E-03   -1.5097    
   2  Prefactor     .10000E-03    4.7618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.3880        3.0940        .11049E-03   -1.5244    
   4  Prefactor     2.9026        5.8797        .11918E-02   -1.5367    
   5  norm          .10000E-03    1.9114        .22621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          48.056        9.3199        .57844E-04   -1.4320    
   7  Prefactor     .10000E-03    20.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.6731        7.8550        .72384E-03   -1.5154    
  10  Prefactor     20.090        18.824        .89353E-04   -1.4811    
  11  Prefactor     .10000E-03    18.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.744        27.804        .72241E-04   -1.4598    
  13  Prefactor     19.864        28.119        .89870E-04   -1.4816    
  14  Prefactor     4.7960        5.3019        .18371E-03   -1.5270    
  15  norm          .10000E-03    12.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.308        12.672        .88884E-04   -1.4806    
  18  norm          9.4006        2.8704        .59992E-04   -1.5095    
  19  Prefactor     4.4323        27.268        .19040E-03   -1.5287    
  20  Prefactor     57.110        75.644        .26566E-03   -1.4195    
  21  Normalizat    .97928        .24413        .31753E-03   -.93728    
  22  Prefactor     .95029        .17573        .23495E-03   -.94405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9604e-11
Minuit parameter uncertainties:
  1  5.84139
  2  3.32513e-06
  3  3.09412
  4  5.88091
  5  8.38987e-07
  6  9.32021
  7  1.92962e-05
  8  4.41894e-05
  9  7.85606
  10  18.8292
  11  1.65499e-05
  12  27.8161
  13  28.1378
  14  5.30247
  15  5.53358e-06
  16  1.54705e-05
  17  12.6735
  18  2.8704
  19  22.0018
  20  75.7711
  21  0.244406
  22  0.175831
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.806e+01  9.320e+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:  9.503e-01  1.758e-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.793e-01  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 119.89
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.70e-07 +/- 5.24e-08
Energy Flux (Fixed Index): 1.62e-04 +/- 3.14e-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) = 7361.77595823
delta logL = 2.94524751423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7361.7508197
delta logL = 2.97038603804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.775       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5268       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93021       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=   7361.751     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.773        10.359       -.22278E-05   -.49962E-03
   2  alpha         1.5267        .17013       -.17853E-05    .57000E-03
   3  Normalizat    1.0508        .20021        .41207E-06    .60046E-05
   4  Prefactor     .93021        .14619        .43908E-06    .83862E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 45.7731
  alpha      = 1.5267
  Normalizat = 1.05079
  Prefactor  = 0.930208
 **********
 **   18 **HESSE 
 **********

 FCN=   7361.751     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.773        10.330        .59261E-04   -1.4354    
   2  alpha         1.5267        .17900        .57916E-03   -.39989    
   3  Normalizat    1.0508        .23813        .30850E-03   -.91348    
   4  Prefactor     .93021        .17420        .23771E-03   -.95093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74424e-09
Minuit parameter uncertainties:
  1  10.3307
  2  0.179182
  3  0.238377
  4  0.174301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722797': 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) = 7361.75081963
delta logL = 2.9703861085

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.577e+01  1.033e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.527e+00  1.792e-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:  9.302e-01  1.743e-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.051e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 125.45
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.53 +/- 0.18
Photon Flux (Free Index): 1.80e-07 +/- 5.01e-08
Energy Flux (Free Index): 2.71e-04 +/- 8.75e-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/722797/cmap_HighResolution_449020801_449280001_4FGL_J1443.9+2501_daily_bin809.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.70e-07', energy_flux2='2.71e-04', photon_flux_error='5.24e-08', dlogl='2.97e+00', energy_flux='1.62e-04', photon_flux2='1.80e-07', job_status='DONE', time_completed='2021-09-10 06:28:45.778072', photon_index_error2='0.18', photon_index2='1.53', ts='119.89', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='8.75e-05', EG='0.98', time_epoch_completed='1631280525.78', return_code='0', job_id='722797', GAL2='0.93', EG2='1.05', return_code2='0', energy_flux_error='3.14e-05', photon_flux_error2='5.01e-08', ts2='125.45', photon_index='1.97' WHERE bin_id='809' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:28:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 722797: <4FGL_J1443.9+2501_daily_bin809> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin809 220.993 25.0291 449020801 449280001 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 :                                   586.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

