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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin981
RA = 220.993, Dec = 25.0291
tmin = 493603201, tmax = 493862401
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='723053', job_status='RUN', time_executed='2021-09-10 06:20:10.663340', time_epoch_executed='1631280010.66' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723053

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723053/ft1_4FGL_J1443.9+2501_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723053/ft1_4FGL_J1443.9+2501_daily_bin981.fits outfile=/scratch/kocevski/723053/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin981.fits ra=220.993 dec=25.0291 rad=12.0 tmin=493603201.0 tmax=493862401.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.48
user 3.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/723053/ltcube_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.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/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits
.....................!
real 11.51
user 11.19
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/723053/ltcube_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.fits outfile=/scratch/kocevski/723053/expmap_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.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/723053/ltcube_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.fits
.....................!
real 189.90
user 184.88
sys 4.67

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/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits scfile=/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits outfile=/scratch/kocevski/723053/cmap_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits scfile=/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits outfile=/scratch/kocevski/723053/cmap_HighResolution_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.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/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/723053/ft2_4FGL_J1443.9+2501_daily_bin981.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723053/Model_4FGL_J1443.9+2501_daily_bin981.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/723053/ft1_filtered_4FGL_J1443.9+2501_daily_bin981.fits.....................!
real 51.63
user 50.27
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.1519       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .79488       1.0000         .10000E-03   10000.    
     5 'norm      '    9.9859       1.0000         .10000E-03   10000.    
     6 'norm      '    16.541       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11659E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6988       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13773E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7548       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.487       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.014       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .96798       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.668       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.148       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1193       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0202       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=   6687.847     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2767 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0613       -.33411E-07** at limit **
   2  Prefactor     .10000E-03    7.6810       -.55097E-07** at limit **
   3  norm          8.1520        3.2721       -.43062E-07    .13371E-04
   4  Prefactor     .77314        3.9152       -.67831E-06   -.20476E-03
   5  norm          9.9873        3.8633       -.44540E-07   -.10388E-04
   6  norm          16.541        6.1212       -.43719E-06   -.13943E-04
   7  Prefactor     .10000E-03    45.095       -.83552E-06** at limit **
   8  Prefactor     .10000E-03    11.279        .18070E-07** at limit **
   9  norm          5.6991        5.6699       -.51620E-06    .17245E-03
  10  Prefactor     .10443E-03    13.401        .47544E-05** at limit **
  11  Prefactor     1.7497        22.281       -.25813E-05   -.19753E-03
  12  Prefactor     13.484        15.498        .13437E-05   -.12329E-03
  13  Prefactor     43.984        43.272       -.15493E-04   -.15520E-03
  14  Prefactor     .10000E-03    5.6351       -.30850E-07** at limit **
  15  norm          .10000E-03    15.794       -.25031E-07** at limit **
  16  Prefactor     .10000E-03    29.349        .25016E-06** at limit **
  17  Prefactor     .10000E-03    2.1435       -.76261E-08** at limit **
  18  norm          .96816        1.0379       -.13999E-06   -.21933E-03
  19  Prefactor     12.666        11.826        .19436E-05   -.18828E-04
  20  Prefactor     36.099        36.904       -.14219E-04    .64621E-05
  21  Normalizat    1.1198        .18317       -.82509E-07   -.90244E-04
  22  Prefactor     1.0198        .14835        .13487E-05   -.24903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.15204
  Prefactor  = 0.77314
  norm       = 9.98728
  norm       = 16.5407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.69909
  Prefactor  = 0.000104434
  Prefactor  = 1.74974
  Prefactor  = 13.4839
  Prefactor  = 43.9843
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.968161
  Prefactor  = 12.6661
  Prefactor  = 36.0989
  Normalizat = 1.11981
  Prefactor  = 1.01979
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.847     FROM HESSE     STATUS=OK           352 CALLS     3119 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1798        .27901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1520        3.2734        .90705E-04   -1.5137    
   4  Prefactor     .77314        16.358        .30249E-02   -1.5532    
   5  norm          9.9873        3.8555        .95089E-04   -1.5076    
   6  norm          16.541        6.1230        .98478E-04   -1.4894    
   7  Prefactor     .10000E-03    45.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6991        5.6627        .16826E-03   -1.5230    
  10  Prefactor     .10443E-03    15.929        .88551E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7497        22.708        .31643E-03   -1.5443    
  12  Prefactor     13.484        15.487        .10907E-03   -1.4973    
  13  Prefactor     43.984        43.566        .60430E-04   -1.4381    
  14  Prefactor     .10000E-03    5.6799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.1467        .11693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .96816        1.0098        .75770E-04   -1.5511    
  19  Prefactor     12.666        11.632        .11254E-03   -1.4996    
  20  Prefactor     36.099        36.731        .33329E-03   -1.4506    
  21  Normalizat    1.1198        .21077        .27021E-03   -.89118    
  22  Prefactor     1.0198        .17137        .22956E-03   -.92073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00485e-09
Minuit parameter uncertainties:
  1  6.045e-06
  2  2.78747e-06
  3  3.27345
  4  7.1142
  5  3.85558
  6  6.12321
  7  1.51927e-05
  8  1.13699e-07
  9  5.66323
  10  0.0168124
  11  12.6124
  12  15.4915
  13  43.5976
  14  6.15244e-06
  15  7.55669e-06
  16  1.56076e-05
  17  7.51706e-07
  18  1.00977
  19  11.6346
  20  36.7539
  21  0.210925
  22  0.171458
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.654e+01  6.123e+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.020e+00  1.715e-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.120e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.00
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 9.31e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 5.57e-05 +/- 2.06e-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) = 6687.57380077
delta logL = 0.272929137836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6687.56855457
delta logL = 0.278175337903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.272       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2347       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0286       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=   6687.569     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      242 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.269        87.778        .25622E-02    .94832E-03
   2  alpha         2.2349        3.6012        .22714        .46794E-04
   3  Normalizat    1.0962        .19699        .61611E-01    .99894E-05
   4  Prefactor     1.0288        .10655        .41367E-01    .53628E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.2686
  alpha      = 2.23491
  Normalizat = 1.0962
  Prefactor  = 1.02878
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.569     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.269        6.1510        .51244E-03   -1.4926    
   2  alpha         2.2349        .37063        .91831E-02   -.10623    
   3  Normalizat    1.0962        .20813        .27250E-03   -.89874    
   4  Prefactor     1.0288        .16861        .22853E-03   -.91776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69296e-10
Minuit parameter uncertainties:
  1  6.15127
  2  0.372022
  3  0.208289
  4  0.168695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723053': 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) = 6687.56855026
delta logL = 0.278179643237

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.527e+01  6.151e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.235e+00  3.720e-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.029e+00  1.687e-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.096e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.49
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.23 +/- 0.37
Photon Flux (Free Index): 1.17e-07 +/- 5.15e-08
Energy Flux (Free Index): 4.71e-05 +/- 1.91e-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/723053/cmap_HighResolution_493603201_493862401_4FGL_J1443.9+2501_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.31e-08', energy_flux2='4.71e-05', photon_flux_error='3.44e-08', dlogl='2.78e-01', energy_flux='5.57e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-10 06:30:00.294851', photon_index_error2='0.37', photon_index2='2.23', ts='23.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.91e-05', EG='1.12', time_epoch_completed='1631280600.29', return_code='0', job_id='723053', GAL2='1.03', EG2='1.10', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='5.15e-08', ts2='23.49', photon_index='1.97' WHERE bin_id='981' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:30:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 723053: <4FGL_J1443.9+2501_daily_bin981> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin981> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:22 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:16:24 2021
Terminated at Fri Sep 10 06:30:01 2021
Results reported at Fri Sep 10 06:30:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin981 220.993 25.0291 493603201 493862401 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 :                                   585.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            819 sec.

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

