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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1125
RA = 220.993, Dec = 25.0291
tmin = 530928001, tmax = 531187201
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='723266', job_status='RUN', time_executed='2021-09-10 06:19:44.466330', time_epoch_executed='1631279984.47' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723266/ft1_4FGL_J1443.9+2501_daily_bin1125.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723266/ft2_4FGL_J1443.9+2501_daily_bin1125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723266/ft1_4FGL_J1443.9+2501_daily_bin1125.fits outfile=/scratch/kocevski/723266/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1125.fits ra=220.993 dec=25.0291 rad=12.0 tmin=530928001.0 tmax=531187201.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.63
user 3.39
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723266/ft1_filtered_4FGL_J1443.9+2501_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/723266/ft2_4FGL_J1443.9+2501_daily_bin1125.fits sctable="SC_DATA" expcube=/scratch/kocevski/723266/ltcube_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.fits outfile=/scratch/kocevski/723266/expmap_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.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/723266/ltcube_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.fits
.....................!
real 189.59
user 185.27
sys 3.99

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/723266/ft1_filtered_4FGL_J1443.9+2501_daily_bin1125.fits scfile=/scratch/kocevski/723266/ft2_4FGL_J1443.9+2501_daily_bin1125.fits outfile=/scratch/kocevski/723266/cmap_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723266/ft1_filtered_4FGL_J1443.9+2501_daily_bin1125.fits scfile=/scratch/kocevski/723266/ft2_4FGL_J1443.9+2501_daily_bin1125.fits outfile=/scratch/kocevski/723266/cmap_HighResolution_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.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.55
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.169       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.734       1.0000         .10000E-03   10000.    
     3 'norm      '    9.4933       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.4592       1.0000         .10000E-03   10000.    
     6 'norm      '    5.2801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13416E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.345       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10801E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.2643       1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.541       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10895E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.464       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8750       1.0000         .10000E-03   10000.    
    18 'norm      '    4.8367       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.112       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87600       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98034       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=   6667.424     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2350 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.171        6.1779        .18813E-06    .28174E-05
   2  Prefactor     10.732        9.7620       -.18443E-05    .18693E-04
   3  norm          9.4932        3.3334       -.39178E-06    .16247E-03
   4  Prefactor     .10000E-03    5.1207       -.96493E-07** at limit **
   5  norm          8.4581        3.9132       -.80451E-06   -.57556E-04
   6  norm          5.2797        4.1204       -.22924E-05   -.81272E-04
   7  Prefactor     .10000E-03    17.840        .13083E-04** at limit **
   8  Prefactor     .10000E-03    44.071        .16594E-04** at limit **
   9  norm          13.345        10.531       -.51906E-06    .68490E-05
  10  Prefactor     .10000E-03    22.370       -.14960E-04** at limit **
  11  Prefactor     6.2662        11.733       -.17297E-05   -.67250E-04
  12  Prefactor     37.520        27.843       -.12514E-04    .22344E-04
  13  Prefactor     .10000E-03    33.912        .10199E-04** at limit **
  14  Prefactor     .10000E-03    6.2022       -.20501E-07** at limit **
  15  norm          .10000E-03    13.677       -.27155E-05** at limit **
  16  Prefactor     23.384        42.689       -.11241E-03    .66668E-04
  17  Prefactor     2.8711        9.9079       -.49475E-05   -.19990E-03
  18  norm          4.8364        2.0767       -.18619E-06    .20145E-03
  19  Prefactor     12.114        16.112       -.98980E-06    .24160E-04
  20  Prefactor     .10000E-03    28.038       -.10565E-04** at limit **
  21  Normalizat    .87560        .19131       -.10969E-06    .43902E-03
  22  Prefactor     .98064        .14946        .12096E-04   -.58729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1712
  Prefactor  = 10.7315
  norm       = 9.49317
  Prefactor  = 0.0001
  norm       = 8.45807
  norm       = 5.27968
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 13.3453
  Prefactor  = 0.0001
  Prefactor  = 6.26624
  Prefactor  = 37.5203
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.3844
  Prefactor  = 2.87105
  norm       = 4.83641
  Prefactor  = 12.1145
  Prefactor  = 0.0001
  Normalizat = 0.875596
  Prefactor  = 0.980643
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.424     FROM HESSE     STATUS=OK           342 CALLS     2692 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.171        6.2150        .83217E-04   -1.4745    
   2  Prefactor     10.732        9.7587        .12229E-03   -1.5053    
   3  norm          9.4932        3.3336        .85375E-04   -1.5092    
   4  Prefactor     .10000E-03    5.1714        .18020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.4581        3.9120        .10409E-03   -1.5126    
   6  norm          5.2797        4.1186        .14150E-03   -1.5248    
   7  Prefactor     .10000E-03    17.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.345        10.526        .10965E-03   -1.4977    
  10  Prefactor     .10000E-03    22.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2662        11.736        .16038E-03   -1.5207    
  12  Prefactor     37.520        27.844        .65413E-04   -1.4482    
  13  Prefactor     .10000E-03    34.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.384        42.726        .82693E-04   -1.4740    
  17  Prefactor     2.8711        9.9035        .23972E-03   -1.5369    
  18  norm          4.8364        2.0974        .61616E-04   -1.5268    
  19  Prefactor     12.114        16.274        .11510E-03   -1.5012    
  20  Prefactor     .10000E-03    28.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87560        .22381        .30272E-03   -.97323    
  22  Prefactor     .98064        .17464        .22320E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69106e-09
Minuit parameter uncertainties:
  1  6.21514
  2  9.76013
  3  3.33365
  4  3.15518e-05
  5  3.91216
  6  4.11884
  7  0.000106477
  8  0.000376955
  9  10.5272
  10  0.000122909
  11  11.7402
  12  27.8532
  13  0.000342534
  14  7.11654e-06
  15  2.61856e-05
  16  42.7819
  17  9.90916
  18  2.09745
  19  16.2795
  20  1.50997e-05
  21  0.22405
  22  0.174737
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  5.280e+00  4.119e+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.806e-01  1.747e-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.756e-01  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.39e-05

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

Saving results to:
/scratch/kocevski/723266/likelihoodResults_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.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) = 6667.4227892
delta logL = 0.00101499309767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6667.42274362
delta logL = 0.00106056984077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2661       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0098       1.0000          .0000       5.0000    
     3 'Normalizat'    .87410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98123       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=   6667.423     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      223 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2607        137.09        .43788E-02    .12780E-03
   2  alpha         2.0078        3.2978        .42199        .13034E-05
   3  Normalizat    .87416        .16116        .68474E-01   -.14377E-03
   4  Prefactor     .98125        .76897E-01    .46032E-01   -.30936E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.26068
  alpha      = 2.00784
  Normalizat = 0.874157
  Prefactor  = 0.981253
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.423     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2607        4.1557        .14069E-03   -1.5249    
   2  alpha         2.0078        .88566        .20187E-01   -.19816    
   3  Normalizat    .87416        .21590        .30295E-03   -.97374    
   4  Prefactor     .98125        .16749        .22313E-03   -.93357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72761e-11
Minuit parameter uncertainties:
  1  4.15595
  2  0.906162
  3  0.216111
  4  0.167582
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723266': 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) = 6667.42273995
delta logL = 0.00106424293062

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  5.261e+00  4.156e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.008e+00  9.062e-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.813e-01  1.676e-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.742e-01  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.01 +/- 0.91
Photon Flux (Free Index): 3.09e-08 +/- 3.53e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.75e-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/723266/cmap_HighResolution_530928001_531187201_4FGL_J1443.9+2501_daily_bin1125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-05', comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='1.73e-05', photon_flux_error='2.32e-08', dlogl='1.06e-03', energy_flux='1.78e-05', photon_flux2='3.09e-08', job_status='DONE', time_completed='2021-09-10 06:29:52.063994', photon_index_error2='0.91', photon_index2='2.01', ts='3.04', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.45e-08', energy_flux_error2='1.75e-05', EG='0.88', time_epoch_completed='1631280592.06', return_code='0', job_id='723266', GAL2='0.98', EG2='0.87', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='3.53e-08', ts2='3.03', photon_index='1.97' WHERE bin_id='1125' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:29:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 723266: <4FGL_J1443.9+2501_daily_bin1125> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1125 220.993 25.0291 530928001 531187201 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            794 sec.

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

