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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1399
RA = 220.993, Dec = 25.0291
tmin = 601948801, tmax = 602208001
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='724641', job_status='RUN', time_executed='2021-09-10 06:22:52.541255', time_epoch_executed='1631280172.54' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724641

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724641/ft1_4FGL_J1443.9+2501_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724641/ft2_4FGL_J1443.9+2501_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724641/ft1_4FGL_J1443.9+2501_daily_bin1399.fits outfile=/scratch/kocevski/724641/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1399.fits ra=220.993 dec=25.0291 rad=12.0 tmin=601948801.0 tmax=602208001.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.82
user 3.59
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724641/ft1_filtered_4FGL_J1443.9+2501_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/724641/ft2_4FGL_J1443.9+2501_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/724641/ltcube_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.fits outfile=/scratch/kocevski/724641/expmap_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.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/724641/ltcube_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.fits
.....................!
real 190.33
user 185.25
sys 4.65

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/724641/ft1_filtered_4FGL_J1443.9+2501_daily_bin1399.fits scfile=/scratch/kocevski/724641/ft2_4FGL_J1443.9+2501_daily_bin1399.fits outfile=/scratch/kocevski/724641/cmap_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.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 1.54
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724641/ft1_filtered_4FGL_J1443.9+2501_daily_bin1399.fits scfile=/scratch/kocevski/724641/ft2_4FGL_J1443.9+2501_daily_bin1399.fits outfile=/scratch/kocevski/724641/cmap_HighResolution_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    206.08       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.9321       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8304       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8733       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.806       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6035       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.289       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.262       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .50270E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6595       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.269       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79528       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0876       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8464.898     FROM MIGRAD    STATUS=CONVERGED    835 CALLS     3023 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     206.08        13.681        .28155E-04   -.31495E-04
   2  Prefactor     .10000E-03    3.9936        .17892E-02** at limit **
   3  norm          8.9326        3.3516        .99685E-04   -.35810E-04
   4  Prefactor     .10000E-03    2.4504        .14023E-02** at limit **
   5  norm          3.8300        2.4191        .10984E-03   -.87771E-04
   6  norm          3.8740        3.1321        .14235E-03   -.40253E-04
   7  Prefactor     15.819        27.913        .10074E-03   -.13316E-04
   8  Prefactor     9.6099        15.028        .12931E-03   -.52749E-05
   9  norm          .10000E-03    2.4644        .14105E-02** at limit **
  10  Prefactor     10.288        14.519        .12491E-03   -.28396E-04
  11  Prefactor     15.256        11.321        .10252E-03   -.15746E-04
  12  Prefactor     .10000E-03    20.596        .18142E-02** at limit **
  13  Prefactor     .10000E-03    31.769        .18142E-02** at limit **
  14  Prefactor     .10000E-03    11.465        .18142E-02** at limit **
  15  norm          .10000E-03    21.452        .18142E-02** at limit **
  16  Prefactor     .10000E-03    32.731        .14971    ** at limit **
  17  Prefactor     .10000E-03    2.9850        .15497E-02** at limit **
  18  norm          1.6597        .97364        .66817E-04   -.47947E-03
  19  Prefactor     .10000E-03    7.3042        .18142E-02** at limit **
  20  Prefactor     20.272        46.523        .88965E-04   -.26580E-04
  21  Normalizat    .79528        .22786        .35423E-03   -.11682E-03
  22  Prefactor     1.0875        .17817        .24407E-03   -.13218E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 206.081
  Prefactor  = 0.0001
  norm       = 8.93262
  Prefactor  = 0.0001
  norm       = 3.82999
  norm       = 3.874
  Prefactor  = 15.8188
  Prefactor  = 9.60988
  norm       = 0.0001
  Prefactor  = 10.2885
  Prefactor  = 15.256
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.6597
  Prefactor  = 0.0001
  Prefactor  = 20.2724
  Normalizat = 0.795278
  Prefactor  = 1.08747
 **********
 **   18 **HESSE 
 **********

 FCN=   8464.898     FROM HESSE     STATUS=OK           330 CALLS     3353 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     206.08        13.679        .11262E-05   -1.2827    
   2  Prefactor     .10000E-03    3.9947        .35784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9326        3.3515        .39874E-05   -1.5110    
   4  Prefactor     .10000E-03    2.4507        .28045E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8300        2.4191        .43935E-05   -1.5317    
   6  norm          3.8740        3.1320        .56939E-05   -1.5314    
   7  Prefactor     15.819        27.900        .40297E-05   -1.4912    
   8  Prefactor     9.6099        15.027        .51726E-05   -1.5088    
   9  norm          .10000E-03    2.4644        .28210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.288        14.518        .49965E-05   -1.5066    
  11  Prefactor     15.256        11.321        .41009E-05   -1.4927    
  12  Prefactor     .10000E-03    20.600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.474        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    21.453        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.994        .14886       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.9852        .30995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6597        .97356        .26727E-05   -1.5450    
  19  Prefactor     .10000E-03    7.3059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.272        46.512        .35586E-05   -1.4807    
  21  Normalizat    .79528        .22807        .14169E-04   -1.0024    
  22  Prefactor     1.0875        .17835        .48813E-04   -.89868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10511e-11
Minuit parameter uncertainties:
  1  13.6797
  2  8.41795e-08
  3  3.3516
  4  7.89771e-07
  5  2.41917
  6  3.13215
  7  27.9233
  8  15.0324
  9  5.78494e-07
  10  14.5234
  11  11.3223
  12  6.64123e-06
  13  1.94042e-05
  14  2.09151e-05
  15  1.08335e-06
  16  0.000173324
  17  2.24029e-06
  18  0.973571
  19  5.45461e-05
  20  46.5956
  21  0.228343
  22  0.178445
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.874e+00  3.132e+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.087e+00  1.784e-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:  7.953e-01  2.283e-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): 2.18e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.05e-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) = 8464.55683633
delta logL = 0.341305989239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8464.54170579
delta logL = 0.356436526377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2453       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4003       1.0000          .0000       5.0000    
     3 'Normalizat'    .80222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0871       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=   8464.542     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2429        2.9347        .56208E-02   -.72447E-04
   2  alpha         1.4000        .47391        .47859       -.33708E-04
   3  Normalizat    .80232        .18299        .79696E-01    .68020E-04
   4  Prefactor     1.0870        .14606        .55235E-01    .78286E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24294
  alpha      = 1.40004
  Normalizat = 0.802316
  Prefactor  = 1.08697
 **********
 **   18 **HESSE 
 **********

 FCN=   8464.542     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2429        3.4741        .14318E-03   -1.5348    
   2  alpha         1.4000        .65641        .18682E-01   -.45558    
   3  Normalizat    .80232        .21944        .35286E-03   -.99983    
   4  Prefactor     1.0870        .17570        .24420E-03   -.89884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74008e-09
Minuit parameter uncertainties:
  1  3.47427
  2  0.666138
  3  0.219678
  4  0.175797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724641': 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) = 8464.54170546
delta logL = 0.356436861148

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.243e+00  3.474e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.400e+00  6.661e-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.087e+00  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:  8.023e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.86
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.40 +/- 0.67
Photon Flux (Free Index): 1.21e-08 +/- 1.45e-08
Energy Flux (Free Index): 2.50e-05 +/- 3.14e-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/724641/cmap_HighResolution_601948801_602208001_4FGL_J1443.9+2501_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='2.50e-05', photon_flux_error='1.76e-08', dlogl='3.56e-01', energy_flux='1.30e-05', photon_flux2='1.21e-08', job_status='DONE', time_completed='2021-09-10 06:36:24.630201', photon_index_error2='0.67', photon_index2='1.40', ts='5.16', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='3.14e-05', EG='0.80', time_epoch_completed='1631280984.63', return_code='0', job_id='724641', GAL2='1.09', EG2='0.80', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='1.45e-08', ts2='5.86', photon_index='1.97' WHERE bin_id='1399' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:36:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 724641: <4FGL_J1443.9+2501_daily_bin1399> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1399 220.993 25.0291 601948801 602208001 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 :                                   711.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            902 sec.

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

