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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin651
RA = 220.993, Dec = 25.0291
tmin = 408067201, tmax = 408326401
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='721514', job_status='RUN', time_executed='2021-09-10 06:11:32.301760', time_epoch_executed='1631279492.3' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721514/ft1_4FGL_J1443.9+2501_daily_bin651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721514/ft2_4FGL_J1443.9+2501_daily_bin651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721514/ft1_4FGL_J1443.9+2501_daily_bin651.fits outfile=/scratch/kocevski/721514/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin651.fits ra=220.993 dec=25.0291 rad=12.0 tmin=408067201.0 tmax=408326401.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.86
user 3.63
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721514/ft1_filtered_4FGL_J1443.9+2501_daily_bin651.fits" evtable="EVENTS" scfile=/scratch/kocevski/721514/ft2_4FGL_J1443.9+2501_daily_bin651.fits sctable="SC_DATA" outfile=/scratch/kocevski/721514/ltcube_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.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/721514/ft2_4FGL_J1443.9+2501_daily_bin651.fits
.....................!
real 11.49
user 11.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721514/ft1_filtered_4FGL_J1443.9+2501_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/721514/ft2_4FGL_J1443.9+2501_daily_bin651.fits sctable="SC_DATA" expcube=/scratch/kocevski/721514/ltcube_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.fits outfile=/scratch/kocevski/721514/expmap_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.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/721514/ltcube_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.fits
.....................!
real 191.70
user 187.16
sys 4.18

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/721514/ft1_filtered_4FGL_J1443.9+2501_daily_bin651.fits scfile=/scratch/kocevski/721514/ft2_4FGL_J1443.9+2501_daily_bin651.fits outfile=/scratch/kocevski/721514/cmap_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.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.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2213       1.0000         .10000E-03   10000.    
     3 'norm      '    13.788       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9282       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.3177       1.0000         .10000E-03   10000.    
     7 'Prefactor '    75.014       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10315E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.090       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.823       1.0000         .10000E-03   10000.    
    15 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7473       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.418       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .56164E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66080       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2301       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=   6208.390     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2401 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8578        .90246E-07** at limit **
   2  Prefactor     3.2209        3.0003        .13150E-05   -.32895E-02
   3  norm          13.788        4.1069        .13867E-07   -.54883E-05
   4  Prefactor     2.9285        5.1618       -.14594E-06   -.16617E-03
   5  norm          .10000E-03    .51090        .59266E-08** at limit **
   6  norm          8.3178        5.7665       -.15054E-07   -.22824E-04
   7  Prefactor     75.025        62.744        .56537E-05    .11191E-03
   8  Prefactor     .10000E-03    12.711       -.11078E-05** at limit **
   9  norm          .10000E-03    13.591        .14568E-05** at limit **
  10  Prefactor     .10000E-03    5.9487        .46507E-07** at limit **
  11  Prefactor     53.079        34.902       -.25295E-05   -.10887E-03
  12  Prefactor     .10000E-03    6.3884       -.91429E-07** at limit **
  13  Prefactor     .10000E-03    11.734       -.70139E-07** at limit **
  14  Prefactor     16.824        12.147        .36035E-06    .37194E-04
  15  norm          .10000E-03    16.761       -.30336E-06** at limit **
  16  Prefactor     .10000E-03    47.516        .51194E-06** at limit **
  17  Prefactor     .10000E-03    7.3850       -.15111E-07** at limit **
  18  norm          2.7493        2.5124       -.28897E-06    .32327E-03
  19  Prefactor     22.295        26.746        .26395E-05    .35853E-03
  20  Prefactor     .10013E-03    314.27       -.60183E-04** at limit **
  21  Normalizat    .66080        .21967       -.14367E-05    .60276E-04
  22  Prefactor     1.2300        .16262        .21322E-06    .50211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.22091
  norm       = 13.7876
  Prefactor  = 2.92846
  norm       = 0.0001
  norm       = 8.31777
  Prefactor  = 75.0249
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.0788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.8238
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.7493
  Prefactor  = 22.2954
  Prefactor  = 0.000100133
  Normalizat = 0.660802
  Prefactor  = 1.23005
 **********
 **   18 **HESSE 
 **********

 FCN=   6208.390     FROM HESSE     STATUS=OK           334 CALLS     2735 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.8831        .13004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2209        5.2006        .10782E-02   -1.5349    
   3  norm          13.788        4.1079        .83774E-04   -1.4965    
   4  Prefactor     2.9285        5.1831        .21936E-03   -1.5366    
   5  norm          .10000E-03    .51251        .54989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.3178        5.7655        .13900E-03   -1.5131    
   7  Prefactor     75.025        62.823        .46359E-04   -1.3973    
   8  Prefactor     .10000E-03    12.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    13.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.9900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.079        34.964        .55046E-04   -1.4250    
  12  Prefactor     .10000E-03    6.3946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.824        12.156        .97649E-04   -1.4887    
  15  norm          .10000E-03    16.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    47.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.4364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7493        2.5119        .10133E-03   -1.5376    
  19  Prefactor     22.295        27.086        .84598E-04   -1.4763    
  20  Prefactor     .10013E-03    324.95        .21099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .66080        .25060        .34937E-03   -1.0546    
  22  Prefactor     1.2300        .18747        .19976E-03   -.85412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64913e-09
Minuit parameter uncertainties:
  1  6.26886e-08
  2  5.20134
  3  4.10797
  4  5.18387
  5  3.11661e-07
  6  5.76585
  7  62.8781
  8  3.54237e-05
  9  8.9077e-05
  10  4.22538e-06
  11  34.9774
  12  5.08539e-07
  13  3.94417e-07
  14  12.1583
  15  1.33914e-05
  16  5.51346e-05
  17  5.03519e-06
  18  2.51202
  19  27.1007
  20  0.0132154
  21  0.251039
  22  0.187572
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.318e+00  5.766e+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.230e+00  1.876e-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.608e-01  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.28
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.68e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.94e-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) = 6208.33774657
delta logL = 0.0521481995002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6208.33715685
delta logL = 0.0527379198256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3168       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7593       1.0000          .0000       5.0000    
     3 'Normalizat'    .67094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2256       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=   6208.337     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2843        7.2280        .34753E-02    .26874E-03
   2  alpha         1.7597        .63886        .32931       -.85029E-04
   3  Normalizat    .67077        .21360        .78364E-01   -.26233E-03
   4  Prefactor     1.2257        .16205        .34053E-01   -.53214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.28432
  alpha      = 1.7597
  Normalizat = 0.67077
  Prefactor  = 1.22572
 **********
 **   18 **HESSE 
 **********

 FCN=   6208.337     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2843        5.8295        .13901E-03   -1.5132    
   2  alpha         1.7597        .60924        .16300E-01   -.30063    
   3  Normalizat    .67077        .24293        .34697E-03   -1.0506    
   4  Prefactor     1.2257        .18522        .20007E-03   -.85543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61276e-10
Minuit parameter uncertainties:
  1  5.82991
  2  0.616052
  3  0.243321
  4  0.18532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721514': 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) = 6208.33713954
delta logL = 0.0527552258873

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.284e+00  5.830e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.760e+00  6.161e-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.226e+00  1.853e-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.708e-01  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.39
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.76 +/- 0.62
Photon Flux (Free Index): 3.83e-08 +/- 3.60e-08
Energy Flux (Free Index): 3.40e-05 +/- 3.24e-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/721514/cmap_HighResolution_408067201_408326401_4FGL_J1443.9+2501_daily_bin651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.68e-08', energy_flux2='3.40e-05', photon_flux_error='3.24e-08', dlogl='5.28e-02', energy_flux='2.80e-05', photon_flux2='3.83e-08', job_status='DONE', time_completed='2021-09-10 06:20:28.237950', photon_index_error2='0.62', photon_index2='1.76', ts='4.28', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='3.24e-05', EG='0.66', time_epoch_completed='1631280028.24', return_code='0', job_id='721514', GAL2='1.23', EG2='0.67', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='3.60e-08', ts2='4.39', photon_index='1.97' WHERE bin_id='651' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:20:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 721514: <4FGL_J1443.9+2501_daily_bin651> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin651> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 06:11:18 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:11:19 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:11:19 2021
Terminated at Fri Sep 10 06:20:31 2021
Results reported at Fri Sep 10 06:20:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin651 220.993 25.0291 408067201 408326401 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 :                                   532.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   549 sec.
    Turnaround time :                            553 sec.

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

