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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin924
RA = 220.993, Dec = 25.0291
tmin = 478828801, tmax = 479088001
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='722967', job_status='RUN', time_executed='2021-09-10 06:18:54.160641', time_epoch_executed='1631279934.16' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='924'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722967/ft1_4FGL_J1443.9+2501_daily_bin924.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722967/ft1_4FGL_J1443.9+2501_daily_bin924.fits outfile=/scratch/kocevski/722967/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin924.fits ra=220.993 dec=25.0291 rad=12.0 tmin=478828801.0 tmax=479088001.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.47
user 3.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722967/ft1_filtered_4FGL_J1443.9+2501_daily_bin924.fits" evtable="EVENTS" scfile=/scratch/kocevski/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits sctable="SC_DATA" outfile=/scratch/kocevski/722967/ltcube_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.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/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits
.....................!
real 14.09
user 13.75
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722967/ft1_filtered_4FGL_J1443.9+2501_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits sctable="SC_DATA" expcube=/scratch/kocevski/722967/ltcube_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.fits outfile=/scratch/kocevski/722967/expmap_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.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/722967/ltcube_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.fits
.....................!
real 191.79
user 186.96
sys 4.51

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/722967/ft1_filtered_4FGL_J1443.9+2501_daily_bin924.fits scfile=/scratch/kocevski/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits outfile=/scratch/kocevski/722967/cmap_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.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/722967/ft1_filtered_4FGL_J1443.9+2501_daily_bin924.fits scfile=/scratch/kocevski/722967/ft2_4FGL_J1443.9+2501_daily_bin924.fits outfile=/scratch/kocevski/722967/cmap_HighResolution_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0322       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0641       1.0000         .10000E-03   10000.    
     3 'norm      '    9.4545       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    33.288       1.0000         .10000E-03   10000.    
     6 'norm      '    10.589       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6449       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4958       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10680E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.646       1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.883       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10489E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .13834       1.0000         .10000E-03   10000.    
    16 'Prefactor '    70.238       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4615       1.0000         .10000E-03   10000.    
    18 'norm      '    2.6700       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77458       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1334       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6813.105     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     2107 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0367        2.3234       -.14213E-06   -.11554E-03
   2  Prefactor     9.0610        1.9304        .10718E-06   -.38815E-02
   3  norm          9.4540        3.2786       -.10048E-06   -.38255E-03
   4  Prefactor     .10000E-03    2.8121       -.14674E-06** at limit **
   5  norm          33.287        5.4279        .14399E-06    .21621E-02
   6  norm          10.588        5.4738       -.19901E-07    .20528E-02
   7  Prefactor     7.5521        34.257        .20727E-05   -.23191E-02
   8  Prefactor     5.4912        5.2688       -.75620E-07    .59995E-02
   9  norm          .10000E-03    2.6819       -.15204E-06** at limit **
  10  Prefactor     .10000E-03    21.195       -.28967E-05** at limit **
  11  Prefactor     34.650        4.7855        .18616E-07   -.12939E-01
  12  Prefactor     37.881        7.5224       -.40235E-07   -.35913E-02
  13  Prefactor     .10001E-03    42.790        .38648E-05** at limit **
  14  Prefactor     .10000E-03    5.1640        .33857E-06** at limit **
  15  norm          .10930E-03    994.51        .29351E-04** at limit **
  16  Prefactor     70.226        2.4998        .45082E-07   -.21860E-03
  17  Prefactor     4.4602        7.5497        .95443E-07    .14825E-02
  18  norm          2.6705        1.2402        .32224E-06    .13731E-02
  19  Prefactor     .10000E-03    8.3838        .11115E-05** at limit **
  20  Prefactor     .10000E-03    23.172        .18393E-05** at limit **
  21  Normalizat    .77412        .21562       -.56290E-06   -.15280E-03
  22  Prefactor     1.1339        .17643       -.65906E-06   -.26593E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.03668
  Prefactor  = 9.06104
  norm       = 9.45403
  Prefactor  = 0.0001
  norm       = 33.2873
  norm       = 10.5883
  Prefactor  = 7.55214
  Prefactor  = 5.49124
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 34.6495
  Prefactor  = 37.8807
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.000109303
  Prefactor  = 70.2265
  Prefactor  = 4.46017
  norm       = 2.67052
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.77412
  Prefactor  = 1.13386
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.105     FROM HESSE     STATUS=OK           402 CALLS     2509 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0367        2.6186        .42386E-01   -1.5504    
   2  Prefactor     9.0610        8.0661        .33281E-02   -1.5106    
   3  norm          9.4540        3.2814        .32584E-02   -1.5093    
   4  Prefactor     .10000E-03    2.7937        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          33.287        5.4526        .17363E-02   -1.4553    
   6  norm          10.588        5.4909        .30782E-02   -1.5057    
   7  Prefactor     7.5521        41.687        .36259E-02   -1.5158    
   8  Prefactor     5.4912        16.035        .42848E-02   -1.5239    
   9  norm          .10000E-03    2.6825        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.650        16.294        .17020E-02   -1.4530    
  12  Prefactor     37.881        28.221        .16279E-02   -1.4476    
  13  Prefactor     .10001E-03    42.859        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.1019        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10930E-03    28.365        .16642       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     70.226        50.070        .11974E-02   -1.4030    
  17  Prefactor     4.4602        7.6771        .47658E-02   -1.5286    
  18  norm          2.6705        1.2464        .62354E-02   -1.5381    
  19  Prefactor     .10000E-03    8.2765        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.136        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77412        .19735        .71328E-01   -1.0104    
  22  Prefactor     1.1339        .15696        .36436E-01   -.88391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39561e-07
Minuit parameter uncertainties:
  1  2.61893
  2  8.06702
  3  3.28151
  4  6.46143e-06
  5  5.45264
  6  5.49117
  7  35.5247
  8  16.0479
  9  6.98165e-06
  10  0.000555001
  11  16.296
  12  28.2305
  13  0.00118096
  14  2.1613e-05
  15  0.0325048
  16  50.0998
  17  7.67883
  18  1.24645
  19  8.62593e-05
  20  0.000542891
  21  0.19753
  22  0.157029
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.059e+01  5.491e+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.134e+00  1.570e-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.741e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.29
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.96e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 3.56e-05 +/- 1.85e-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) = 6813.00720915
delta logL = 0.0977868931623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6813.00441742
delta logL = 0.1005786258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.936       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7666       1.0000          .0000       5.0000    
     3 'Normalizat'    .78469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1289       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=   6813.004     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      239 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.935        5.6956        .12115E-03    .23554E-03
   2  alpha         1.7666        .43002        .12562E-01    .24247E-04
   3  Normalizat    .78474        .20757        .31375E-03    .43443E-03
   4  Prefactor     1.1288        .17388        .22158E-03    .53391E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9353
  alpha      = 1.76662
  Normalizat = 0.784743
  Prefactor  = 1.12884
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.004     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.935        5.6995        .48459E-05   -1.5046    
   2  alpha         1.7666        .43024        .50249E-03   -.29773    
   3  Normalizat    .78474        .20768        .12550E-04   -1.0064    
   4  Prefactor     1.1288        .17399        .44316E-04   -.88550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96027e-10
Minuit parameter uncertainties:
  1  5.69975
  2  0.432601
  3  0.207889
  4  0.174076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722967': 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) = 6813.00441737
delta logL = 0.100578677455

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.094e+01  5.700e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.767e+00  4.326e-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.129e+00  1.741e-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.847e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.46
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.77 +/- 0.43
Photon Flux (Free Index): 5.08e-08 +/- 3.30e-08
Energy Flux (Free Index): 4.44e-05 +/- 3.24e-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/722967/cmap_HighResolution_478828801_479088001_4FGL_J1443.9+2501_daily_bin924.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.96e-08', energy_flux2='4.44e-05', photon_flux_error='3.09e-08', dlogl='1.01e-01', energy_flux='3.56e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2021-09-10 06:28:18.453826', photon_index_error2='0.43', photon_index2='1.77', ts='8.29', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='3.24e-05', EG='0.77', time_epoch_completed='1631280498.45', return_code='0', job_id='722967', GAL2='1.13', EG2='0.78', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='3.30e-08', ts2='8.46', photon_index='1.97' WHERE bin_id='924' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:28:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 722967: <4FGL_J1443.9+2501_daily_bin924> in cluster <slac> Done

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

Your job looked like:

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

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

