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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1599
RA = 220.993, Dec = 25.0291
tmin = 653788801, tmax = 654048001
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='953870', job_status='RUN', time_executed='2021-09-23 00:29:35.184338', time_epoch_executed='1632382175.18' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953870

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953870/ft1_4FGL_J1443.9+2501_daily_bin1599.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953870/ft1_4FGL_J1443.9+2501_daily_bin1599.fits outfile=/scratch/kocevski/953870/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1599.fits ra=220.993 dec=25.0291 rad=12.0 tmin=653788801.0 tmax=654048001.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.93
user 3.66
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953870/ft1_filtered_4FGL_J1443.9+2501_daily_bin1599.fits" evtable="EVENTS" scfile=/scratch/kocevski/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits sctable="SC_DATA" outfile=/scratch/kocevski/953870/ltcube_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.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/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits
.....................!
real 13.19
user 12.64
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953870/ft1_filtered_4FGL_J1443.9+2501_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits sctable="SC_DATA" expcube=/scratch/kocevski/953870/ltcube_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.fits outfile=/scratch/kocevski/953870/expmap_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.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/953870/ltcube_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.fits
.....................!
real 193.55
user 187.70
sys 5.35

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/953870/ft1_filtered_4FGL_J1443.9+2501_daily_bin1599.fits scfile=/scratch/kocevski/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits outfile=/scratch/kocevski/953870/cmap_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953870/ft1_filtered_4FGL_J1443.9+2501_daily_bin1599.fits scfile=/scratch/kocevski/953870/ft2_4FGL_J1443.9+2501_daily_bin1599.fits outfile=/scratch/kocevski/953870/cmap_HighResolution_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.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.42
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9732       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1842       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6828       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62636       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2711       1.0000         .10000E-03   10000.    
     6 'norm      '    2.8544       1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.018       1.0000         .10000E-03   10000.    
     9 'norm      '    6.3367       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9523       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10732E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    18.391       1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.345       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.330       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2500       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96712       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=   6818.726     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2698 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9729        4.3074        .37807E-07   -.13298E-03
   2  Prefactor     9.1853        7.9351       -.36089E-05   -.25287E-03
   3  norm          5.6826        2.8395        .56907E-06   -.28508E-04
   4  Prefactor     .62229        3.8458        .14530E-05   -.73139E-03
   5  norm          1.2707        2.5105       -.61497E-06   -.11402E-02
   6  norm          2.8542        2.8934       -.16643E-06    .15331E-03
   7  Prefactor     35.367        33.308       -.16060E-06   -.11292E-04
   8  Prefactor     47.019        26.120        .35023E-06   -.56598E-04
   9  norm          6.3370        6.9529       -.25990E-07    .27486E-04
  10  Prefactor     .10000E-03    8.0476       -.26436E-06** at limit **
  11  Prefactor     1.9513        43.515        .29782E-05   -.99038E-04
  12  Prefactor     .10000E-03    7.1764        .17643E-06** at limit **
  13  Prefactor     .10000E-03    132.64       -.66948E-06** at limit **
  14  Prefactor     .10000E-03    2.6480       -.86849E-09** at limit **
  15  norm          18.389        33.784       -.10480E-05   -.23539E-05
  16  Prefactor     37.343        36.321       -.17019E-05   -.36320E-05
  17  Prefactor     .10000E-03    2.7538       -.87206E-08** at limit **
  18  norm          .10000E-03    .43958       -.67355E-07** at limit **
  19  Prefactor     .10000E-03    4.0434       -.65525E-07** at limit **
  20  Prefactor     30.337        33.358        .44613E-05    .47422E-05
  21  Normalizat    1.2500        .19734       -.48842E-06   -.10684E-03
  22  Prefactor     .96717        .14941        .42859E-06   -.17151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.97289
  Prefactor  = 9.18526
  norm       = 5.68259
  Prefactor  = 0.622289
  norm       = 1.2707
  norm       = 2.85422
  Prefactor  = 35.367
  Prefactor  = 47.0193
  norm       = 6.337
  Prefactor  = 0.0001
  Prefactor  = 1.95126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.3892
  Prefactor  = 37.3425
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.3369
  Normalizat = 1.25003
  Prefactor  = 0.967169
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.726     FROM HESSE     STATUS=OK           352 CALLS     3050 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9729        4.3268        .12039E-03   -1.5143    
   2  Prefactor     9.1853        7.7851        .13225E-03   -1.5102    
   3  norm          5.6826        2.8334        .95082E-04   -1.5231    
   4  Prefactor     .62229        14.061        .29284E-02   -1.5550    
   5  norm          1.2707        2.5509        .18052E-03   -1.5483    
   6  norm          2.8542        2.8970        .13743E-03   -1.5370    
   7  Prefactor     35.367        33.380        .67387E-04   -1.4518    
   8  Prefactor     47.019        26.090        .58476E-04   -1.4335    
   9  norm          6.3370        6.9337        .15945E-03   -1.5204    
  10  Prefactor     .10000E-03    8.0948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9513        42.986        .29699E-03   -1.5429    
  12  Prefactor     .10000E-03    7.1790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    137.54        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6531        .13122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.389        33.807        .93395E-04   -1.4850    
  16  Prefactor     37.343        36.345        .65584E-04   -1.4485    
  17  Prefactor     .10000E-03    2.7619        .13382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .72696        .10599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0570        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.337        33.142        .36376E-03   -1.4606    
  21  Normalizat    1.2500        .23218        .26926E-03   -.85071    
  22  Prefactor     .96717        .17656        .23579E-03   -.93832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01589e-09
Minuit parameter uncertainties:
  1  4.32701
  2  7.78595
  3  2.83349
  4  5.9171
  5  2.55108
  6  2.89712
  7  33.3973
  8  26.0959
  9  6.93458
  10  6.66787e-07
  11  18.3314
  12  1.75278e-08
  13  3.36814e-05
  14  3.86488e-07
  15  33.8427
  16  36.3663
  17  7.17084e-07
  18  5.51953e-06
  19  1.03873e-05
  20  33.1623
  21  0.232368
  22  0.176661
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.854e+00  2.897e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  9.672e-01  1.767e-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:  1.250e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.09
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.61e-08 +/- 1.63e-08
Energy Flux (Fixed Index): 9.60e-06 +/- 9.75e-06

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) = 6818.65245965
delta logL = 0.0739763323627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6818.62898787
delta logL = 0.0974481128178

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1757       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5008       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96669       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=   6818.629     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1756        2.2654        .69785E-02    .39526E-02
   2  alpha         1.5010        .65824        .46354       -.14291E-04
   3  Normalizat    1.2557        .18661        .60762E-01    .82578E-05
   4  Prefactor     .96671        .14649        .45849E-01    .94806E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17561
  alpha      = 1.50103
  Normalizat = 1.25575
  Prefactor  = 0.966713
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.629     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1756        2.8095        .12262E-03   -1.5413    
   2  alpha         1.5010        .93202        .23217E-01   -.41107    
   3  Normalizat    1.2557        .21834        .26874E-03   -.84897    
   4  Prefactor     .96671        .17161        .23585E-03   -.93847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12268e-09
Minuit parameter uncertainties:
  1  2.80964
  2  0.959833
  3  0.218502
  4  0.171709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953870': 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) = 6818.62898781
delta logL = 0.0974481707335

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.176e+00  2.810e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.501e+00  9.598e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  9.667e-01  1.717e-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:  1.256e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.28
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.50 +/- 0.96
Photon Flux (Free Index): 8.43e-09 +/- 1.36e-08
Energy Flux (Free Index): 1.35e-05 +/- 2.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/953870/cmap_HighResolution_653788801_654048001_4FGL_J1443.9+2501_daily_bin1599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.61e-08', energy_flux2='1.35e-05', photon_flux_error='1.63e-08', dlogl='9.74e-02', energy_flux='9.60e-06', photon_flux2='8.43e-09', job_status='DONE', time_completed='2021-09-23 00:39:30.058489', photon_index_error2='0.96', photon_index2='1.50', ts='4.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='1.25', time_epoch_completed='1632382770.06', return_code='0', job_id='953870', GAL2='0.97', EG2='1.26', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='1.36e-08', ts2='4.28', photon_index='1.97' WHERE bin_id='1599' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 00:39:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 953870: <4FGL_J1443.9+2501_daily_bin1599> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1599> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 00:27:04 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 00:27:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 00:27:35 2021
Terminated at Thu Sep 23 00:39:30 2021
Results reported at Thu Sep 23 00:39:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1599 220.993 25.0291 653788801 654048001 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 :                                   597.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            746 sec.

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

