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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1547
RA = 220.993, Dec = 25.0291
tmin = 640310401, tmax = 640569601
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='724859', job_status='RUN', time_executed='2021-09-10 06:25:28.197327', time_epoch_executed='1631280328.2' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724859

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724859/ft1_4FGL_J1443.9+2501_daily_bin1547.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724859/ft2_4FGL_J1443.9+2501_daily_bin1547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724859/ft1_4FGL_J1443.9+2501_daily_bin1547.fits outfile=/scratch/kocevski/724859/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1547.fits ra=220.993 dec=25.0291 rad=12.0 tmin=640310401.0 tmax=640569601.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 4.97
user 4.71
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724859/ft2_4FGL_J1443.9+2501_daily_bin1547.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/724859/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1547.fits evtable="EVENTS" outfile="/scratch/kocevski/724859/ft1_filtered_4FGL_J1443.9+2501_daily_bin1547.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.50
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724859/ft1_filtered_4FGL_J1443.9+2501_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/724859/ft2_4FGL_J1443.9+2501_daily_bin1547.fits sctable="SC_DATA" expcube=/scratch/kocevski/724859/ltcube_640310401_640569601_4FGL_J1443.9+2501_daily_bin1547.fits outfile=/scratch/kocevski/724859/expmap_640310401_640569601_4FGL_J1443.9+2501_daily_bin1547.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/724859/ltcube_640310401_640569601_4FGL_J1443.9+2501_daily_bin1547.fits
.....................!
real 194.08
user 188.16
sys 5.54

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/724859/ft1_filtered_4FGL_J1443.9+2501_daily_bin1547.fits scfile=/scratch/kocevski/724859/ft2_4FGL_J1443.9+2501_daily_bin1547.fits outfile=/scratch/kocevski/724859/cmap_640310401_640569601_4FGL_J1443.9+2501_daily_bin1547.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.63
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9551       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.2427       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9741       1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.2330       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.166       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28714       1.0000         .10000E-03   10000.    
     9 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6354       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13075E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.7559       1.0000         .10000E-03   10000.    
    15 'norm      '    15.407       1.0000         .10000E-03   10000.    
    16 'Prefactor '    67.967       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .90861       1.0000         .10000E-03   10000.    
    18 'norm      '    2.4254       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .62865       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3022       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=   6195.168     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2374 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9531        4.3238       -.14693E-06   -.10461E-03
   2  Prefactor     .10000E-03    10.282       -.53699E-07** at limit **
   3  norm          6.2420        2.9341       -.11389E-06    .83083E-04
   4  Prefactor     3.9760        7.5065       -.10684E-05   -.19568E-03
   5  norm          .10000E-03    1.5483       -.32001E-07** at limit **
   6  norm          7.2324        4.9158       -.33572E-06    .26218E-05
   7  Prefactor     29.181        33.404       -.21821E-04    .16955E-04
   8  Prefactor     .21773        25.846       -.10826E-05    .28782E-03
   9  norm          .10000E-03    3.7593       -.10809E-07** at limit **
  10  Prefactor     9.6706        19.304       -.19424E-04    .99400E-05
  11  Prefactor     .10000E-03    17.383        .16033E-05** at limit **
  12  Prefactor     .10000E-03    13.999        .11502E-05** at limit **
  13  Prefactor     .10000E-03    66.354       -.50308E-05** at limit **
  14  Prefactor     7.7541        7.4752        .28140E-07    .10247E-04
  15  norm          15.451        56.898        .18617E-04   -.13984E-05
  16  Prefactor     67.974        60.966        .53540E-06    .34827E-04
  17  Prefactor     .90465        7.0975       -.29047E-05   -.22732E-03
  18  norm          2.4250        1.3714       -.10784E-06    .22477E-03
  19  Prefactor     .10000E-03    4.3959       -.37615E-08** at limit **
  20  Prefactor     .10000E-03    15.961       -.21688E-05** at limit **
  21  Normalizat    .62873        .21120        .59136E-05    .17067E-03
  22  Prefactor     1.3024        .16875        .32481E-06    .44548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.9531
  Prefactor  = 0.0001
  norm       = 6.24204
  Prefactor  = 3.97603
  norm       = 0.0001
  norm       = 7.23243
  Prefactor  = 29.1806
  Prefactor  = 0.217726
  norm       = 0.0001
  Prefactor  = 9.67056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 7.75407
  norm       = 15.4513
  Prefactor  = 67.9738
  Prefactor  = 0.904653
  norm       = 2.42495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.628732
  Prefactor  = 1.30236
 **********
 **   18 **HESSE 
 **********

 FCN=   6195.168     FROM HESSE     STATUS=OK           354 CALLS     2728 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9531        4.3254        .12279E-03   -1.5181    
   2  Prefactor     .10000E-03    10.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.2420        2.9351        .89516E-04   -1.5208    
   4  Prefactor     3.9760        7.4877        .20233E-03   -1.5309    
   5  norm          .10000E-03    1.5717        .95556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.2324        4.9151        .13867E-03   -1.5170    
   7  Prefactor     29.181        33.388        .74186E-04   -1.4627    
   8  Prefactor     .21773        32.643        .10746       -1.5615    
   9  norm          .10000E-03    3.7647        .14904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6706        19.442        .12910E-03   -1.5086    
  11  Prefactor     .10000E-03    17.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    66.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7541        7.4797        .14399E-03   -1.5151    
  15  norm          15.451        56.985        .10204E-03   -1.4922    
  16  Prefactor     67.974        61.056        .48686E-04   -1.4057    
  17  Prefactor     .90465        15.657        .39536E-02   -1.5518    
  18  norm          2.4250        1.3683        .65863E-04   -1.5397    
  19  Prefactor     .10000E-03    4.4024        .16107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .62873        .23557        .34744E-03   -1.0678    
  22  Prefactor     1.3024        .19158        .20262E-03   -.83237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46297e-09
Minuit parameter uncertainties:
  1  4.32555
  2  4.65801e-06
  3  2.93516
  4  7.48946
  5  4.49677e-06
  6  4.9154
  7  33.4094
  8  5.33358
  9  2.48654e-06
  10  19.4548
  11  3.36581e-05
  12  0.000113934
  13  0.000689754
  14  7.48061
  15  57.1871
  16  61.1127
  17  7.52892
  18  1.3683
  19  2.5116e-06
  20  3.67944e-06
  21  0.235944
  22  0.191679
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  7.232e+00  4.915e+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.302e+00  1.917e-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:  6.287e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.55
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.07e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.65e-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) = 6195.1503359
delta logL = 0.0178413616522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6195.14862475
delta logL = 0.0195525142663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9646       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8113       1.0000          .0000       5.0000    
     3 'Normalizat'    .63235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3028       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=   6195.149     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      193 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9646        10.437        .38004E-02    .74868E-03
   2  alpha         1.8113        1.0810        .43323       -.90014E-04
   3  Normalizat    .63237        .20441        .78262E-01    .42427E-04
   4  Prefactor     1.3028        .16426        .32560E-01   -.10508E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.96464
  alpha      = 1.81135
  Normalizat = 0.632371
  Prefactor  = 1.30281
 **********
 **   18 **HESSE 
 **********

 FCN=   6195.149     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9646        5.1947        .13977E-03   -1.5180    
   2  alpha         1.8113        .78385        .16264E-01   -.27907    
   3  Normalizat    .63237        .22436        .34654E-03   -1.0663    
   4  Prefactor     1.3028        .18317        .20262E-03   -.83223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91535e-10
Minuit parameter uncertainties:
  1  5.19506
  2  0.798461
  3  0.224685
  4  0.183256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724859': 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) = 6195.14862474
delta logL = 0.0195525195113

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.965e+00  5.195e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.811e+00  7.985e-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.303e+00  1.833e-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:  6.324e-01  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.81 +/- 0.80
Photon Flux (Free Index): 3.37e-08 +/- 4.07e-08
Energy Flux (Free Index): 2.69e-05 +/- 2.48e-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/724859/cmap_HighResolution_640310401_640569601_4FGL_J1443.9+2501_daily_bin1547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.07e-08', energy_flux2='2.69e-05', photon_flux_error='2.76e-08', dlogl='1.96e-02', energy_flux='2.43e-05', photon_flux2='3.37e-08', job_status='DONE', time_completed='2021-09-10 06:37:38.155761', photon_index_error2='0.80', photon_index2='1.81', ts='5.55', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='2.48e-05', EG='0.63', time_epoch_completed='1631281058.16', return_code='0', job_id='724859', GAL2='1.30', EG2='0.63', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='4.07e-08', ts2='5.59', photon_index='1.97' WHERE bin_id='1547' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:37:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 724859: <4FGL_J1443.9+2501_daily_bin1547> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1547 220.993 25.0291 640310401 640569601 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 :                                   534.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             197.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

