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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1079
RA = 220.993, Dec = 25.0291
tmin = 519004801, tmax = 519264001
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='723198', job_status='RUN', time_executed='2021-09-10 06:18:54.996851', time_epoch_executed='1631279935.0' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723198

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723198/ft1_4FGL_J1443.9+2501_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723198/ft1_4FGL_J1443.9+2501_daily_bin1079.fits outfile=/scratch/kocevski/723198/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1079.fits ra=220.993 dec=25.0291 rad=12.0 tmin=519004801.0 tmax=519264001.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits" evtable="EVENTS" scfile=/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits sctable="SC_DATA" outfile=/scratch/kocevski/723198/ltcube_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.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/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits
.....................!
real 14.84
user 14.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/723198/ltcube_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.fits outfile=/scratch/kocevski/723198/expmap_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.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/723198/ltcube_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.fits
.....................!
real 190.60
user 185.12
sys 5.11

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/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits scfile=/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits outfile=/scratch/kocevski/723198/cmap_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits scfile=/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits outfile=/scratch/kocevski/723198/cmap_HighResolution_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.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/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/723198/ft2_4FGL_J1443.9+2501_daily_bin1079.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723198/Model_4FGL_J1443.9+2501_daily_bin1079.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/723198/ft1_filtered_4FGL_J1443.9+2501_daily_bin1079.fits.....................!
real 48.94
user 47.58
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.2324       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .67996       1.0000         .10000E-03   10000.    
     5 'norm      '    .24909E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.0729       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3609       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3319       1.0000         .10000E-03   10000.    
     9 'norm      '    12.134       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4537       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11354E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   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 '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1786       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6769       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84959       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1438       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=   6236.831     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2052 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1030        3.3049        .12976E-06   -.16317E-03
   2  Prefactor     .10000E-03    4.2466       -.15506E-06** at limit **
   3  norm          6.2321        2.8224       -.38401E-08   -.56713E-04
   4  Prefactor     .67876        6.3836        .26193E-06   -.42992E-03
   5  norm          .10000E-03    1.4506        .18656E-06** at limit **
   6  norm          5.0727        4.1557        .80905E-06    .18035E-03
   7  Prefactor     4.3608        48.762       -.46052E-06   -.13098E-04
   8  Prefactor     6.3249        19.683        .20615E-05    .21158E-04
   9  norm          12.134        8.6910       -.53157E-08   -.43704E-05
  10  Prefactor     4.1737        9.3391       -.97949E-07   -.38928E-04
  11  Prefactor     6.4538        10.202        .93028E-07   -.22340E-04
  12  Prefactor     .10000E-03    6.4819       -.30409E-05** at limit **
  13  Prefactor     .10000E-03    98.337       -.12632E-05** at limit **
  14  Prefactor     .10000E-03    8.4016        .45039E-06** at limit **
  15  norm          .10000E-03    21.524        .13215E-05** at limit **
  16  Prefactor     .10000E-03    15.830        .34861E-05** at limit **
  17  Prefactor     .10000E-03    6.3271        .28164E-05** at limit **
  18  norm          1.1788        .94817       -.69844E-07   -.10211E-03
  19  Prefactor     4.6761        5.3674        .94977E-06   -.14228E-02
  20  Prefactor     .10000E-03    16.504       -.46130E-05** at limit **
  21  Normalizat    .84954        .18614       -.77381E-08   -.14003E-03
  22  Prefactor     1.1438        .14955       -.66263E-06   -.13335E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10299
  Prefactor  = 0.0001
  norm       = 6.23212
  Prefactor  = 0.67876
  norm       = 0.000100001
  norm       = 5.07267
  Prefactor  = 4.36083
  Prefactor  = 6.32493
  norm       = 12.1337
  Prefactor  = 4.17369
  Prefactor  = 6.45377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17876
  Prefactor  = 4.67609
  Prefactor  = 0.000100001
  Normalizat = 0.849545
  Prefactor  = 1.14381
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.831     FROM HESSE     STATUS=OK           346 CALLS     2398 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1030        3.3105        .16978E-03   -1.5418    
   2  Prefactor     .10000E-03    4.2982        .15887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.2321        2.8219        .86554E-04   -1.5209    
   4  Prefactor     .67876        7.2808        .40189E-03   -1.5543    
   5  norm          .10000E-03    5.6413        .18166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0727        4.1569        .14093E-03   -1.5257    
   7  Prefactor     4.3608        48.912        .19288E-03   -1.5290    
   8  Prefactor     6.3249        19.658        .15951E-03   -1.5205    
   9  norm          12.134        8.6898        .11500E-03   -1.5011    
  10  Prefactor     4.1737        9.3319        .19727E-03   -1.5299    
  11  Prefactor     6.4538        10.207        .15798E-03   -1.5200    
  12  Prefactor     .10000E-03    6.5403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    99.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.4970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    21.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1788        .98092        .63685E-04   -1.5491    
  19  Prefactor     4.6761        8.4389        .93043E-03   -1.5275    
  20  Prefactor     .10000E-03    16.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84954        .21310        .27580E-03   -.98256    
  22  Prefactor     1.1438        .17155        .20147E-03   -.88078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81901e-09
Minuit parameter uncertainties:
  1  3.31079
  2  1.01327e-07
  3  2.82194
  4  4.44646
  5  0.000138272
  6  4.15713
  7  29.2395
  8  19.6779
  9  8.69073
  10  9.33517
  11  10.2093
  12  8.41824e-05
  13  5.61521e-05
  14  1.37824e-05
  15  6.60695e-05
  16  0.000147549
  17  6.83986e-05
  18  0.98093
  19  8.44105
  20  0.000195355
  21  0.213311
  22  0.171634
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  5.073e+00  4.157e+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.144e+00  1.716e-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.495e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.05
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.85e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.40e-05

TS (Fixed Index): 3.05
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 8.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/723198/likelihoodResults_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.txt

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) = 6236.74158737
delta logL = 0.0892824888178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6236.73554862
delta logL = 0.0953212408112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5960       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6563       1.0000          .0000       5.0000    
     3 'Normalizat'    .85622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1431       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=   6236.736     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5960        4.4294        .46939E-02    .42725E-02
   2  alpha         1.6561        .59187        .44595       -.56609E-04
   3  Normalizat    .85618        .17634        .44340E-01   -.59384E-03
   4  Prefactor     1.1432        .14736        .36138E-01   -.35812E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.59596
  alpha      = 1.65612
  Normalizat = 0.856178
  Prefactor  = 1.14317
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.736     FROM HESSE     STATUS=OK            27 CALLS      223 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5960        4.3145        .13928E-03   -1.5279    
   2  alpha         1.6561        .68527        .17019E-01   -.34431    
   3  Normalizat    .85618        .19985        .27484E-03   -.98018    
   4  Prefactor     1.1432        .16787        .20154E-03   -.88099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63346e-09
Minuit parameter uncertainties:
  1  4.31483
  2  0.695344
  3  0.200018
  4  0.167944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723198': 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) = 6236.73554857
delta logL = 0.0953212900949

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.596e+00  4.315e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.656e+00  6.953e-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.143e+00  1.679e-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.562e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.25
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.66 +/- 0.70
Photon Flux (Free Index): 1.96e-08 +/- 2.42e-08
Energy Flux (Free Index): 2.18e-05 +/- 2.35e-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/723198/cmap_HighResolution_519004801_519264001_4FGL_J1443.9+2501_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-05', comment='SUCCESS', photon_flux='2.85e-08', energy_flux2='2.18e-05', photon_flux_error='2.34e-08', dlogl='9.53e-02', energy_flux='1.71e-05', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-09-10 06:28:33.549572', photon_index_error2='0.70', photon_index2='1.66', ts='3.05', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.55e-08', energy_flux_error2='2.35e-05', EG='0.85', time_epoch_completed='1631280513.55', return_code='0', job_id='723198', GAL2='1.14', EG2='0.86', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='2.42e-08', ts2='3.25', photon_index='1.97' WHERE bin_id='1079' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:28:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 723198: <4FGL_J1443.9+2501_daily_bin1079> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1079 220.993 25.0291 519004801 519264001 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

