/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 7 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin389
RA = 220.993, Dec = 25.0291
tmin = 340156801, tmax = 340416001
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='720107', job_status='RUN', time_executed='2021-09-10 06:06:46.193088', time_epoch_executed='1631279206.19' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='389'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720107

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720107/ft1_4FGL_J1443.9+2501_daily_bin389.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720107/ft1_4FGL_J1443.9+2501_daily_bin389.fits outfile=/scratch/kocevski/720107/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin389.fits ra=220.993 dec=25.0291 rad=12.0 tmin=340156801.0 tmax=340416001.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.28
user 3.09
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/720107/ft1_filtered_4FGL_J1443.9+2501_daily_bin389.fits" evtable="EVENTS" scfile=/scratch/kocevski/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits sctable="SC_DATA" outfile=/scratch/kocevski/720107/ltcube_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.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/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits
.....................!
real 12.10
user 11.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720107/ft1_filtered_4FGL_J1443.9+2501_daily_bin389.fits evtable="EVENTS" scfile=/scratch/kocevski/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits sctable="SC_DATA" expcube=/scratch/kocevski/720107/ltcube_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.fits outfile=/scratch/kocevski/720107/expmap_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.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/720107/ltcube_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.fits
.....................!
real 191.51
user 186.45
sys 4.74

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/720107/ft1_filtered_4FGL_J1443.9+2501_daily_bin389.fits scfile=/scratch/kocevski/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits outfile=/scratch/kocevski/720107/cmap_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/720107/ft1_filtered_4FGL_J1443.9+2501_daily_bin389.fits scfile=/scratch/kocevski/720107/ft2_4FGL_J1443.9+2501_daily_bin389.fits outfile=/scratch/kocevski/720107/cmap_HighResolution_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.415       1.0000         .10000E-03   10000.    
     3 'norm      '    11.502       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5501       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4218       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13596E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21786E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    70.338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9914       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1857       1.0000         .10000E-03   10000.    
    18 'norm      '    5.9154       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1315       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0397       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=   6859.611     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2368 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3474        .12463E-07** at limit **
   2  Prefactor     19.415        10.677        .14980E-06   -.90237E-05
   3  norm          11.502        3.7305        .60733E-07   -.16094E-04
   4  Prefactor     .10000E-03    4.1195        .10350E-07** at limit **
   5  norm          1.5504        2.0460        .15659E-06   -.18661E-04
   6  norm          2.4217        2.5716       -.53397E-08    .13000E-04
   7  Prefactor     .10000E-03    43.535        .15162E-07** at limit **
   8  Prefactor     .10000E-03    17.155       -.10034E-05** at limit **
   9  norm          .10000E-03    2.5094        .44432E-08** at limit **
  10  Prefactor     .10000E-03    23.834        .47335E-06** at limit **
  11  Prefactor     .10000E-03    7.2258        .26259E-07** at limit **
  12  Prefactor     29.427        32.803       -.17378E-05    .32472E-04
  13  Prefactor     70.397        56.735        .59696E-05    .39060E-03
  14  Prefactor     .10000E-03    3.2221       -.17818E-07** at limit **
  15  norm          .10000E-03    18.818        .11057E-05** at limit **
  16  Prefactor     7.9902        39.149        .48850E-06   -.94052E-05
  17  Prefactor     5.1848        9.3107        .61286E-05   -.38174E-03
  18  norm          5.9155        1.5114       -.34213E-07   -.74500E-04
  19  Prefactor     .10000E-03    8.7858       -.62575E-07** at limit **
  20  Prefactor     .10000E-03    12.950        .38896E-07** at limit **
  21  Normalizat    1.1316        .18280       -.12224E-06   -.74731E-04
  22  Prefactor     1.0397        .15245       -.13663E-05    .84760E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.4153
  norm       = 11.5017
  Prefactor  = 0.0001
  norm       = 1.55035
  norm       = 2.42175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.4268
  Prefactor  = 70.3975
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.9902
  Prefactor  = 5.18485
  norm       = 5.91551
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13162
  Prefactor  = 1.03968
 **********
 **   18 **HESSE 
 **********

 FCN=   6859.611     FROM HESSE     STATUS=OK           340 CALLS     2708 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3589        .93843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.415        10.670        .90900E-04   -1.4826    
   3  norm          11.502        3.7310        .88090E-04   -1.5030    
   4  Prefactor     .10000E-03    4.1826        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5504        2.0267        .13173E-03   -1.5459    
   6  norm          2.4217        2.5760        .13322E-03   -1.5397    
   7  Prefactor     .10000E-03    43.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.5101        .12814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.2655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.427        33.043        .73752E-04   -1.4623    
  13  Prefactor     70.397        59.883        .23932E-03   -1.4028    
  14  Prefactor     .10000E-03    3.2347        .14518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    18.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9902        39.241        .14183E-03   -1.5143    
  17  Prefactor     5.1848        9.4806        .88265E-03   -1.5253    
  18  norm          5.9155        1.5101        .49535E-04   -1.5221    
  19  Prefactor     .10000E-03    8.8429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1316        .21224        .27120E-03   -.88743    
  22  Prefactor     1.0397        .17666        .23053E-03   -.91418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0153e-09
Minuit parameter uncertainties:
  1  2.17501e-06
  2  10.6711
  3  3.73105
  4  6.37821e-06
  5  2.02676
  6  2.57617
  7  5.15968e-05
  8  8.30768e-05
  9  7.27263e-07
  10  9.38985e-05
  11  9.13188e-06
  12  33.0636
  13  59.9347
  14  1.36151e-06
  15  0.000157118
  16  35.4513
  17  9.48337
  18  1.51007
  19  1.04791e-05
  20  4.11526e-06
  21  0.212401
  22  0.176763
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.422e+00  2.576e+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.040e+00  1.768e-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.132e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.12
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.36e-08 +/- 1.45e-08
Energy Flux (Fixed Index): 8.15e-06 +/- 8.67e-06

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

Saving results to:
/scratch/kocevski/720107/likelihoodResults_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.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) = 6859.22477445
delta logL = 0.386476732349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6859.11246744
delta logL = 0.498783747273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2687       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0497       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0390       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=   6859.112     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2687        1.3638        .98797E-02    .27081E-02
   2  alpha         1.0497        .53453        .50000       -.46328E-04
   3  Normalizat    1.1386        .18088        .61152E-01    .86185E-05
   4  Prefactor     1.0390        .14880        .40602E-01    .87817E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2687
  alpha      = 1.0497
  Normalizat = 1.13856
  Prefactor  = 1.03899
 **********
 **   18 **HESSE 
 **********

 FCN=   6859.112     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2687        1.8348        .94261E-04   -1.5483    
   2  alpha         1.0497        .75143        .20674E-01   -.61887    
   3  Normalizat    1.1386        .21026        .27047E-03   -.88523    
   4  Prefactor     1.0390        .17313        .23059E-03   -.91441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17954e-09
Minuit parameter uncertainties:
  1  1.83493
  2  0.769618
  3  0.210414
  4  0.173219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720107': 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) = 6859.11246742
delta logL = 0.49878376493

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.269e+00  1.835e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.050e+00  7.696e-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.039e+00  1.732e-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.139e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.11
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.05 +/- 0.77
Photon Flux (Free Index): 4.79e-09 +/- 5.92e-09
Energy Flux (Free Index): 2.46e-05 +/- 4.12e-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/720107/cmap_HighResolution_340156801_340416001_4FGL_J1443.9+2501_daily_bin389.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', comment='SUCCESS', photon_flux='1.36e-08', energy_flux2='2.46e-05', photon_flux_error='1.45e-08', dlogl='4.99e-01', energy_flux='8.15e-06', photon_flux2='4.79e-09', job_status='DONE', time_completed='2021-09-10 06:17:10.628479', photon_index_error2='0.77', photon_index2='1.05', ts='3.12', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='6.13e-08', energy_flux_error2='4.12e-05', EG='1.13', time_epoch_completed='1631279830.63', return_code='0', job_id='720107', GAL2='1.04', EG2='1.14', return_code2='0', energy_flux_error='8.67e-06', photon_flux_error2='5.92e-09', ts2='4.11', photon_index='1.97' WHERE bin_id='389' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:17:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 720107: <4FGL_J1443.9+2501_daily_bin389> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin389 220.993 25.0291 340156801 340416001 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 :                                   616.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            644 sec.

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

