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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1162
RA = 220.993, Dec = 25.0291
tmin = 540518401, tmax = 540777601
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='724312', job_status='RUN', time_executed='2021-09-10 06:23:12.986574', time_epoch_executed='1631280192.99' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1162'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724312

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724312/ft1_4FGL_J1443.9+2501_daily_bin1162.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724312/ft2_4FGL_J1443.9+2501_daily_bin1162.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724312/ft1_4FGL_J1443.9+2501_daily_bin1162.fits outfile=/scratch/kocevski/724312/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1162.fits ra=220.993 dec=25.0291 rad=12.0 tmin=540518401.0 tmax=540777601.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.41
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724312/ft1_filtered_4FGL_J1443.9+2501_daily_bin1162.fits evtable="EVENTS" scfile=/scratch/kocevski/724312/ft2_4FGL_J1443.9+2501_daily_bin1162.fits sctable="SC_DATA" expcube=/scratch/kocevski/724312/ltcube_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.fits outfile=/scratch/kocevski/724312/expmap_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.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/724312/ltcube_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.fits
.....................!
real 189.92
user 184.83
sys 4.70

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/724312/ft1_filtered_4FGL_J1443.9+2501_daily_bin1162.fits scfile=/scratch/kocevski/724312/ft2_4FGL_J1443.9+2501_daily_bin1162.fits outfile=/scratch/kocevski/724312/cmap_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.3713       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5724       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3639       1.0000         .10000E-03   10000.    
     5 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9867       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.942       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.2295       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6222       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.914       1.0000         .10000E-03   10000.    
    13 'Prefactor '    76.942       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.733       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.214       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.4481       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.539       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.488       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95318       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0016       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=   8082.653     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2347 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.250        6.7816       -.27088E-07    .15168E-03
   2  Prefactor     9.3713        6.6863        .38792E-06   -.28932E-03
   3  norm          3.5724        2.0489       -.54308E-08    .55252E-04
   4  Prefactor     7.3639        6.9732        .10877E-06   -.28908E-03
   5  norm          .10000E-03    1.3119       -.10899E-06** at limit **
   6  norm          3.9867        3.5986       -.11083E-06   -.11639E-03
   7  Prefactor     20.939        28.756       -.49452E-05    .36854E-03
   8  Prefactor     .10000E-03    9.2414        .68819E-06** at limit **
   9  norm          5.2296        6.2333        .55034E-07   -.16969E-04
  10  Prefactor     7.6219        10.973       -.29540E-05   -.96573E-03
  11  Prefactor     .10000E-03    9.6216       -.13058E-05** at limit **
  12  Prefactor     28.915        23.376        .16906E-05   -.22406E-03
  13  Prefactor     76.943        44.809        .12001E-05   -.12187E-03
  14  Prefactor     17.733        9.4477       -.12083E-06    .39760E-04
  15  norm          .10000E-03    10.702        .78635E-06** at limit **
  16  Prefactor     24.213        38.762       -.13350E-05    .43860E-04
  17  Prefactor     .10000E-03    2.4691       -.26837E-07** at limit **
  18  norm          2.4480        1.3968        .42168E-07   -.23846E-03
  19  Prefactor     12.538        11.685       -.50780E-06    .66265E-04
  20  Prefactor     16.488        31.491        .85227E-06   -.33068E-04
  21  Normalizat    .95334        .18191        .83413E-06    .14953E-05
  22  Prefactor     1.0015        .13981       -.18168E-06    .10031E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.2498
  Prefactor  = 9.37128
  norm       = 3.5724
  Prefactor  = 7.36388
  norm       = 0.0001
  norm       = 3.98666
  Prefactor  = 20.9385
  Prefactor  = 0.0001
  norm       = 5.22958
  Prefactor  = 7.62192
  Prefactor  = 0.0001
  Prefactor  = 28.9155
  Prefactor  = 76.9435
  Prefactor  = 17.733
  norm       = 0.0001
  Prefactor  = 24.2131
  Prefactor  = 0.0001
  norm       = 2.44804
  Prefactor  = 12.5376
  Prefactor  = 16.4882
  Normalizat = 0.953337
  Prefactor  = 1.00145
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.653     FROM HESSE     STATUS=OK           348 CALLS     2695 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.250        6.8087        .65666E-04   -1.4487    
   2  Prefactor     9.3713        6.6598        .13091E-03   -1.5096    
   3  norm          3.5724        2.0495        .94594E-04   -1.5330    
   4  Prefactor     7.3639        6.9143        .14780E-03   -1.5165    
   5  norm          .10000E-03    15.956        .19394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9867        3.5991        .15680E-03   -1.5309    
   7  Prefactor     20.939        27.290        .87526E-04   -1.4792    
   8  Prefactor     .10000E-03    9.2290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.2296        6.2309        .17578E-03   -1.5251    
  10  Prefactor     7.6219        14.005        .72627E-03   -1.5156    
  11  Prefactor     .10000E-03    9.6547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.915        23.423        .74508E-04   -1.4632    
  13  Prefactor     76.943        45.019        .45779E-04   -1.3951    
  14  Prefactor     17.733        9.4540        .95111E-04   -1.4866    
  15  norm          .10000E-03    10.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.213        38.727        .81405E-04   -1.4723    
  17  Prefactor     .10000E-03    2.4935        .13795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.4480        1.4022        .68228E-04   -1.5395    
  19  Prefactor     12.538        11.751        .11312E-03   -1.5000    
  20  Prefactor     16.488        31.441        .98637E-04   -1.4896    
  21  Normalizat    .95334        .21413        .29959E-03   -.94611    
  22  Prefactor     1.0015        .16455        .22940E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93329e-09
Minuit parameter uncertainties:
  1  6.80889
  2  6.66036
  3  2.04957
  4  6.91509
  5  4.36964e-06
  6  3.59925
  7  27.3066
  8  6.38239e-05
  9  6.23171
  10  14.0108
  11  0.000121575
  12  23.4306
  13  45.0387
  14  9.45479
  15  6.76116e-05
  16  38.7671
  17  1.24103e-06
  18  1.40224
  19  11.7532
  20  31.4725
  21  0.214326
  22  0.164637
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.987e+00  3.599e+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.001e+00  1.646e-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:  9.533e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.24e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.21e-05

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

Saving results to:
/scratch/kocevski/724312/likelihoodResults_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.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) = 8082.32518247
delta logL = 0.327708476349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8082.30371048
delta logL = 0.349180470826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2158       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3360       1.0000          .0000       5.0000    
     3 'Normalizat'    .95970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0017       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=   8082.304     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2140        2.7985        .56478E-02    .19744E-03
   2  alpha         1.3339        .43771        .49036       -.57222E-04
   3  Normalizat    .95944        .17383        .67525E-01    .34681E-04
   4  Prefactor     1.0018        .13683        .45079E-01   -.70377E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.21403
  alpha      = 1.33387
  Normalizat = 0.959443
  Prefactor  = 1.00183
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.304     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2140        3.4453        .13580E-03   -1.5349    
   2  alpha         1.3339        .67590        .17357E-01   -.48528    
   3  Normalizat    .95944        .20406        .29870E-03   -.94402    
   4  Prefactor     1.0018        .16099        .22932E-03   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27767e-11
Minuit parameter uncertainties:
  1  3.44547
  2  0.686889
  3  0.204223
  4  0.161064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724312': 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) = 8082.30370349
delta logL = 0.349187454492

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.214e+00  3.445e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.334e+00  6.869e-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.002e+00  1.611e-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:  9.594e-01  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.33 +/- 0.69
Photon Flux (Free Index): 1.18e-08 +/- 1.36e-08
Energy Flux (Free Index): 2.88e-05 +/- 3.84e-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/724312/cmap_HighResolution_540518401_540777601_4FGL_J1443.9+2501_daily_bin1162.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-05', comment='SUCCESS', photon_flux='2.24e-08', energy_flux2='2.88e-05', photon_flux_error='2.02e-08', dlogl='3.49e-01', energy_flux='1.34e-05', photon_flux2='1.18e-08', job_status='DONE', time_completed='2021-09-10 06:34:18.315562', photon_index_error2='0.69', photon_index2='1.33', ts='2.31', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.29e-08', energy_flux_error2='3.84e-05', EG='0.95', time_epoch_completed='1631280858.32', return_code='0', job_id='724312', GAL2='1.00', EG2='0.96', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='1.36e-08', ts2='3.00', photon_index='1.97' WHERE bin_id='1162' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:34:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 724312: <4FGL_J1443.9+2501_daily_bin1162> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1162> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:20:59 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:01 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:01 2021
Terminated at Fri Sep 10 06:34:19 2021
Results reported at Fri Sep 10 06:34:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1162 220.993 25.0291 540518401 540777601 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

