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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin589
RA = 220.993, Dec = 25.0291
tmin = 391996801, tmax = 392256001
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='721419', job_status='RUN', time_executed='2021-09-10 06:13:31.710424', time_epoch_executed='1631279611.71' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721419

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721419/ft1_4FGL_J1443.9+2501_daily_bin589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721419/ft2_4FGL_J1443.9+2501_daily_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721419/ft1_4FGL_J1443.9+2501_daily_bin589.fits outfile=/scratch/kocevski/721419/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin589.fits ra=220.993 dec=25.0291 rad=12.0 tmin=391996801.0 tmax=392256001.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 5.33
user 5.14
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721419/ft1_filtered_4FGL_J1443.9+2501_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/721419/ft2_4FGL_J1443.9+2501_daily_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/721419/ltcube_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.fits outfile=/scratch/kocevski/721419/expmap_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.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/721419/ltcube_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.fits
.....................!
real 190.33
user 184.91
sys 4.92

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/721419/ft1_filtered_4FGL_J1443.9+2501_daily_bin589.fits scfile=/scratch/kocevski/721419/ft2_4FGL_J1443.9+2501_daily_bin589.fits outfile=/scratch/kocevski/721419/cmap_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721419/ft1_filtered_4FGL_J1443.9+2501_daily_bin589.fits scfile=/scratch/kocevski/721419/ft2_4FGL_J1443.9+2501_daily_bin589.fits outfile=/scratch/kocevski/721419/cmap_HighResolution_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.355       1.0000         .10000E-03   10000.    
     5 'norm      '    10.724       1.0000         .10000E-03   10000.    
     6 'norm      '    6.7760       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0251       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.2918       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39312E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.589       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77209       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0656       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=   6298.846     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2307 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .97325        .24707E-07** at limit **
   2  Prefactor     .10000E-03    4.0935       -.52460E-07** at limit **
   3  norm          11.926        3.5546        .70282E-08    .14291E-03
   4  Prefactor     18.354        8.0969       -.10026E-06    .36606E-04
   5  norm          10.724        3.4901        .22813E-08    .28816E-03
   6  norm          6.7759        4.3475       -.21937E-07    .92099E-05
   7  Prefactor     .10000E-03    48.864        .67233E-06** at limit **
   8  Prefactor     .10000E-03    8.1609       -.13627E-06** at limit **
   9  norm          .10000E-03    3.9276        .85175E-07** at limit **
  10  Prefactor     .10000E-03    3.8179        .81059E-07** at limit **
  11  Prefactor     7.0238        14.407       -.33432E-05    .12792E-03
  12  Prefactor     .10000E-03    6.0929        .86923E-07** at limit **
  13  Prefactor     .10000E-03    10.055        .19210E-06** at limit **
  14  Prefactor     .10000E-03    2.9079        .32038E-07** at limit **
  15  norm          .10000E-03    15.048       -.43214E-07** at limit **
  16  Prefactor     .10000E-03    45.910       -.61707E-06** at limit **
  17  Prefactor     .10000E-03    3.2180        .12242E-07** at limit **
  18  norm          5.2927        1.6490       -.23248E-06   -.13084E-02
  19  Prefactor     .10001E-03    61.621       -.93149E-05** at limit **
  20  Prefactor     25.602        54.131       -.33546E-05   -.18772E-03
  21  Normalizat    .77207        .17567        .13594E-06   -.11856E-03
  22  Prefactor     1.0656        .14262       -.46521E-07   -.15962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.9263
  Prefactor  = 18.3542
  norm       = 10.7238
  norm       = 6.77589
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.02381
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 5.2927
  Prefactor  = 0.000100007
  Prefactor  = 25.6024
  Normalizat = 0.77207
  Prefactor  = 1.06559
 **********
 **   18 **HESSE 
 **********

 FCN=   6298.846     FROM HESSE     STATUS=OK           336 CALLS     2643 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .97847        .76443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1120        .15688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.926        3.5552        .79160E-04   -1.5017    
   4  Prefactor     18.354        8.0919        .93485E-04   -1.4851    
   5  norm          10.724        3.4909        .81412E-04   -1.5053    
   6  norm          6.7759        4.3470        .12814E-03   -1.5187    
   7  Prefactor     .10000E-03    49.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.2109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.9356        .15366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8265        .15155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.0238        14.475        .75678E-03   -1.5178    
  12  Prefactor     .10000E-03    6.1028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.9211        .13216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    46.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2319        .13903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2927        1.6529        .53074E-04   -1.5248    
  19  Prefactor     .10001E-03    61.034        .41230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     25.602        54.667        .79191E-04   -1.4696    
  21  Normalizat    .77207        .20084        .28784E-03   -1.0111    
  22  Prefactor     1.0656        .16368        .20672E-03   -.90574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.85252e-10
Minuit parameter uncertainties:
  1  1.03646e-07
  2  3.62054e-05
  3  3.55527
  4  8.09237
  5  3.49094
  6  4.34718
  7  0.000470781
  8  0.000127982
  9  2.42694e-05
  10  3.22958e-05
  11  14.4823
  12  4.19909e-05
  13  0.000147019
  14  1.32335e-06
  15  4.81168e-05
  16  0.000921066
  17  6.69684e-06
  18  1.65293
  19  0.0012958
  20  54.7745
  21  0.20103
  22  0.163758
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.776e+00  4.347e+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.066e+00  1.638e-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:  7.721e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.03
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.81e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.46e-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) = 6298.82367063
delta logL = 0.0228280001638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6298.82300285
delta logL = 0.023495774235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8358       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1369       1.0000          .0000       5.0000    
     3 'Normalizat'    .76319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0685       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=   6298.823     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8375        87.875        .38364E-02    .12132E-03
   2  alpha         2.1368        3.1218        .41714        .18275E-04
   3  Normalizat    .76318        .11055        .65389E-01    .22217E-04
   4  Prefactor     1.0685        .58361E-01    .38930E-01    .18153E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.83751
  alpha      = 2.13681
  Normalizat = 0.763179
  Prefactor  = 1.0685
 **********
 **   18 **HESSE 
 **********

 FCN=   6298.823     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .85E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8375        4.2233        .12173E-03   -1.5185    
   2  alpha         2.1368        .76535        .14760E-01   -.14579    
   3  Normalizat    .76318        .19919        .28929E-03   -1.0145    
   4  Prefactor     1.0685        .16314        .20642E-03   -.90480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49555e-13
Minuit parameter uncertainties:
  1  4.22348
  2  0.77812
  3  0.199376
  4  0.16322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721419': 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) = 6298.82300277
delta logL = 0.0234958568135

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.838e+00  4.223e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.137e+00  7.781e-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.069e+00  1.632e-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:  7.632e-01  1.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.06
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.14 +/- 0.78
Photon Flux (Free Index): 4.66e-08 +/- 4.73e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.44e-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/721419/cmap_HighResolution_391996801_392256001_4FGL_J1443.9+2501_daily_bin589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='2.13e-05', photon_flux_error='2.45e-08', dlogl='2.35e-02', energy_flux='2.28e-05', photon_flux2='4.66e-08', job_status='DONE', time_completed='2021-09-10 06:22:40.905121', photon_index_error2='0.78', photon_index2='2.14', ts='6.03', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='0.77', time_epoch_completed='1631280160.91', return_code='0', job_id='721419', GAL2='1.07', EG2='0.76', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.73e-08', ts2='6.06', photon_index='1.97' WHERE bin_id='589' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:22:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 721419: <4FGL_J1443.9+2501_daily_bin589> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin589 220.993 25.0291 391996801 392256001 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 :                                   547.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            690 sec.

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

