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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1303
RA = 220.993, Dec = 25.0291
tmin = 577065601, tmax = 577324801
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='724504', job_status='RUN', time_executed='2021-09-10 06:21:23.296891', time_epoch_executed='1631280083.3' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724504/ft1_4FGL_J1443.9+2501_daily_bin1303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724504/ft2_4FGL_J1443.9+2501_daily_bin1303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724504/ft1_4FGL_J1443.9+2501_daily_bin1303.fits outfile=/scratch/kocevski/724504/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1303.fits ra=220.993 dec=25.0291 rad=12.0 tmin=577065601.0 tmax=577324801.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.10
user 2.90
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724504/ft1_filtered_4FGL_J1443.9+2501_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/724504/ft2_4FGL_J1443.9+2501_daily_bin1303.fits sctable="SC_DATA" expcube=/scratch/kocevski/724504/ltcube_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.fits outfile=/scratch/kocevski/724504/expmap_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.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/724504/ltcube_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.fits
.....................!
real 189.88
user 185.31
sys 4.19

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/724504/ft1_filtered_4FGL_J1443.9+2501_daily_bin1303.fits scfile=/scratch/kocevski/724504/ft2_4FGL_J1443.9+2501_daily_bin1303.fits outfile=/scratch/kocevski/724504/cmap_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724504/ft1_filtered_4FGL_J1443.9+2501_daily_bin1303.fits scfile=/scratch/kocevski/724504/ft2_4FGL_J1443.9+2501_daily_bin1303.fits outfile=/scratch/kocevski/724504/cmap_HighResolution_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.850       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7006       1.0000         .10000E-03   10000.    
     3 'norm      '    9.3909       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5187       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7518       1.0000         .10000E-03   10000.    
     6 'norm      '    .47699E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    64.308       1.0000         .10000E-03   10000.    
     8 'Prefactor '    99.562       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.880       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.045       1.0000         .10000E-03   10000.    
    13 'Prefactor '    54.664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4676       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.886       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0517       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77244       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0625       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=   6708.624     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2380 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.851        4.6388       -.30946E-07    .11082E-04
   2  Prefactor     8.6537        20.309        .50953E-05    .22980E-03
   3  norm          9.3907        3.3211        .18299E-07    .32600E-04
   4  Prefactor     1.5370        50.679       -.11501E-04   -.49290E-05
   5  norm          1.7491        3.1800        .47941E-06    .15850E-03
   6  norm          .38944E-01    2.6298       -.99015E-07   -.38251E-04
   7  Prefactor     64.314        38.930       -.26413E-06    .61416E-04
   8  Prefactor     99.523        58.169        .23512E-05   -.11867E-03
   9  norm          .10000E-03    3.1856        .83721E-08** at limit **
  10  Prefactor     .10000E-03    9.4399       -.12894E-06** at limit **
  11  Prefactor     19.885        14.360       -.15132E-06    .88845E-04
  12  Prefactor     24.028        36.337        .63670E-07   -.87255E-04
  13  Prefactor     54.679        54.417       -.46523E-06    .84277E-04
  14  Prefactor     2.4707        10.538        .37888E-05   -.20043E-03
  15  norm          .10000E-03    18.956        .50649E-07** at limit **
  16  Prefactor     30.914        58.334       -.14304E-05    .11195E-03
  17  Prefactor     .10000E-03    1.5982       -.96118E-08** at limit **
  18  norm          1.0519        .79230       -.55196E-08   -.94009E-04
  19  Prefactor     .10000E-03    2.3623       -.27999E-07** at limit **
  20  Prefactor     .10000E-03    9.0324        .44924E-07** at limit **
  21  Normalizat    .77245        .19278        .14361E-05    .92069E-04
  22  Prefactor     1.0623        .15262       -.76941E-06    .21877E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8511
  Prefactor  = 8.65369
  norm       = 9.39066
  Prefactor  = 1.53699
  norm       = 1.74908
  norm       = 0.0389443
  Prefactor  = 64.3139
  Prefactor  = 99.523
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.885
  Prefactor  = 24.0283
  Prefactor  = 54.6793
  Prefactor  = 2.47074
  norm       = 0.0001
  Prefactor  = 30.9142
  Prefactor  = 0.0001
  norm       = 1.05189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.772451
  Prefactor  = 1.06226
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.624     FROM HESSE     STATUS=OK           348 CALLS     2728 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.851        4.6634        .89825E-04   -1.4911    
   2  Prefactor     8.6537        20.329        .13589E-03   -1.5120    
   3  norm          9.3907        3.3217        .85852E-04   -1.5095    
   4  Prefactor     1.5370        51.184        .34677E-03   -1.5460    
   5  norm          1.7491        3.1422        .18521E-03   -1.5443    
   6  norm          .38944E-01    2.4362        .44157E-01   -1.5669    
   7  Prefactor     64.314        39.158        .50043E-04   -1.4102    
   8  Prefactor     99.523        58.086        .40289E-04   -1.3709    
   9  norm          .10000E-03    3.2138        .14275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.885        14.398        .89831E-04   -1.4816    
  12  Prefactor     24.028        36.275        .81689E-04   -1.4727    
  13  Prefactor     54.679        54.358        .27126E-03   -1.4228    
  14  Prefactor     2.4707        10.451        .13016E-02   -1.5394    
  15  norm          .10000E-03    18.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.914        58.297        .72095E-04   -1.4595    
  17  Prefactor     .10000E-03    1.5997        .10112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0519        .77941        .60780E-04   -1.5503    
  19  Prefactor     .10000E-03    2.3681        .12289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.0330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77245        .22060        .30914E-03   -1.0110    
  22  Prefactor     1.0623        .17494        .21803E-03   -.90682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65406e-10
Minuit parameter uncertainties:
  1  4.66355
  2  20.3448
  3  3.32174
  4  17.7551
  5  3.1425
  6  0.615269
  7  39.1735
  8  58.1188
  9  4.09118e-08
  10  1.38804e-05
  11  14.4006
  12  36.3078
  13  54.4077
  14  10.166
  15  1.94491e-05
  16  58.4044
  17  6.80083e-07
  18  0.779417
  19  2.3154e-06
  20  2.02599e-05
  21  0.220858
  22  0.175035
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.894e-02  6.153e-01  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.062e+00  1.750e-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.725e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/724504/likelihoodResults_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.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) = 6708.42442635
delta logL = 0.200021930415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6708.22648703
delta logL = 0.397961251549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84654E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .70807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0892       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=   6708.226     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      263 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84721E-01    .11555        .26117E-04   -.15497E-03
   2  alpha         5.0000        3.5751        .50000    ** at limit **
   3  Normalizat    .70800        .21539        .32184E-03   -.32865E-03
   4  Prefactor     1.0892        .16806        .21558E-03   -.24533E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0847215
  alpha      = 5
  Normalizat = 0.707999
  Prefactor  = 1.08922
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.226     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84721E-01    .11498        .10447E-05   -1.5650    
   2  alpha         5.0000        3.5667        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70800        .21561        .12874E-04   -1.0358    
   4  Prefactor     1.0892        .16819        .43116E-04   -.89812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3872e-10
Minuit parameter uncertainties:
  1  0.11498
  2  4.86557e-05
  3  0.215864
  4  0.168275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724504': 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) = 6708.22648678
delta logL = 0.397961496442

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.472e-02  1.150e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  4.866e-05  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.089e+00  1.683e-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.080e-01  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 220.993 25.029

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/724504/cmap_HighResolution_577065601_577324801_4FGL_J1443.9+2501_daily_bin1303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='4.91e-08', time_completed='2021-09-10 06:31:26.064891', job_id='724504', GAL2='1.09', fit_tolerance='1e-08', EG2='0.71', EG='0.77', time_epoch_completed='1631280686.06', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.98e-01', ts2='0.89', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1303' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:31:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 724504: <4FGL_J1443.9+2501_daily_bin1303> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1303> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:12 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:21:14 2021
Terminated at Fri Sep 10 06:31:26 2021
Results reported at Fri Sep 10 06:31:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1303 220.993 25.0291 577065601 577324801 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 :                                   599.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

