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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1607
RA = 220.993, Dec = 25.0291
tmin = 655862401, tmax = 656121601
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='372093', job_status='RUN', time_executed='2021-12-08 01:33:33.207582', time_epoch_executed='1638956013.21' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/372093

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/372093/ft1_4FGL_J1443.9+2501_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/372093/ft1_4FGL_J1443.9+2501_daily_bin1607.fits outfile=/scratch/kocevski/372093/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1607.fits ra=220.993 dec=25.0291 rad=12.0 tmin=655862401.0 tmax=656121601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.05
user 3.51
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/372093/ft1_filtered_4FGL_J1443.9+2501_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/372093/ltcube_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.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/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits
.....................!
real 11.98
user 10.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/372093/ft1_filtered_4FGL_J1443.9+2501_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/372093/ltcube_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.fits outfile=/scratch/kocevski/372093/expmap_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.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/372093/ltcube_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.fits
.....................!
real 182.77
user 153.13
sys 4.29

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/372093/ft1_filtered_4FGL_J1443.9+2501_daily_bin1607.fits scfile=/scratch/kocevski/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits outfile=/scratch/kocevski/372093/cmap_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.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.67
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/372093/ft1_filtered_4FGL_J1443.9+2501_daily_bin1607.fits scfile=/scratch/kocevski/372093/ft2_4FGL_J1443.9+2501_daily_bin1607.fits outfile=/scratch/kocevski/372093/cmap_HighResolution_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.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.55
user 0.31
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58443E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9958       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50893E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.5662       1.0000         .10000E-03   10000.    
     6 'norm      '    10.446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.283       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.6863       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    107.52       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10642E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0718       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5608       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90308       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98379       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=   5660.627     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2405 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    2.0700        .65775E-06** at limit **
   2  Prefactor     2.9864        9.6645       -.91340E-06   -.20776E-03
   3  norm          .10000E-03    1.1365       -.63707E-08** at limit **
   4  Prefactor     .10003E-03    3.9504       -.18031E-06** at limit **
   5  norm          2.5658        2.2291       -.30235E-06   -.14859E-02
   6  norm          10.445        5.0853       -.77031E-06   -.24935E-02
   7  Prefactor     15.132        38.418       -.30185E-05   -.31515E-04
   8  Prefactor     .10000E-03    14.376        .48533E-05** at limit **
   9  norm          7.6855        8.0703       -.24732E-06   -.32981E-04
  10  Prefactor     .10000E-03    15.690       -.48182E-05** at limit **
  11  Prefactor     .10000E-03    9.1552       -.33121E-07** at limit **
  12  Prefactor     14.751        32.797       -.12094E-04   -.83489E-05
  13  Prefactor     107.53        67.814        .21825E-05    .36567E-04
  14  Prefactor     .10000E-03    2.8847        .27464E-08** at limit **
  15  norm          .10000E-03    68.390        .29109E-06** at limit **
  16  Prefactor     23.320        46.603       -.66211E-05    .26892E-05
  17  Prefactor     5.0721        7.8016        .31015E-06   -.20160E-03
  18  norm          1.5606        1.0080       -.70832E-07   -.24300E-03
  19  Prefactor     .10000E-03    3.0031       -.85979E-08** at limit **
  20  Prefactor     .10000E-03    13.203       -.12143E-05** at limit **
  21  Normalizat    .90421        .19079        .10493E-05   -.12886E-03
  22  Prefactor     .98296        .14887        .93549E-06   -.85974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100291
  Prefactor  = 2.98644
  norm       = 0.0001
  Prefactor  = 0.000100034
  norm       = 2.56578
  norm       = 10.4447
  Prefactor  = 15.1318
  Prefactor  = 0.0001
  norm       = 7.68548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7507
  Prefactor  = 107.528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.3205
  Prefactor  = 5.07206
  norm       = 1.56063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.904205
  Prefactor  = 0.98296
 **********
 **   18 **HESSE 
 **********

 FCN=   5660.627     FROM HESSE     STATUS=OK           348 CALLS     2753 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    24.565        .20090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9864        9.1544        .23453E-03   -1.5362    
   3  norm          .10000E-03    1.1614        .78303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    37.279        .26952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5658        2.2582        .51319E-03   -1.5388    
   6  norm          10.445        5.4145        .60636E-03   -1.5061    
   7  Prefactor     15.132        39.039        .10245E-03   -1.4930    
   8  Prefactor     .10000E-03    14.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.6855        8.0687        .14464E-03   -1.5153    
  10  Prefactor     .10000E-03    15.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.1866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.751        32.048        .10429E-03   -1.4940    
  13  Prefactor     107.53        67.625        .38785E-04   -1.3630    
  14  Prefactor     .10000E-03    2.8929        .12479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    68.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.320        46.536        .82955E-04   -1.4742    
  17  Prefactor     5.0721        7.7786        .17854E-03   -1.5258    
  18  norm          1.5606        1.0028        .58500E-04   -1.5458    
  19  Prefactor     .10000E-03    3.0126        .12727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90421        .21692        .26196E-03   -.96313    
  22  Prefactor     .98296        .17363        .20750E-03   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48611e-08
Minuit parameter uncertainties:
  1  0.00534685
  2  9.15871
  3  2.04912e-06
  4  0.0022599
  5  2.25831
  6  5.41476
  7  39.1048
  8  0.000101759
  9  8.0698
  10  9.09483e-05
  11  4.65315e-06
  12  32.0852
  13  67.6734
  14  3.91081e-07
  15  1.66217e-05
  16  46.6084
  17  7.78019
  18  1.00279
  19  1.90423e-06
  20  2.67697e-06
  21  0.217134
  22  0.173732
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.044e+01  5.415e+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.830e-01  1.737e-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:  9.042e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 3.51e-05 +/- 1.82e-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) = 5659.25141946
delta logL = 1.37525299001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5659.2386357
delta logL = 1.38803675472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1469       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1564       1.0000          .0000       5.0000    
     3 'Normalizat'    .82556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0218       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5659.239     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      275 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1466        5.2147        .61771E-04    .39073E-03
   2  alpha         3.1565        .85035        .81378E-02    .55843E-04
   3  Normalizat    .82556        .20904        .27240E-03   -.76792E-04
   4  Prefactor     1.0218        .16956        .20380E-03   -.22869E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.14658
  alpha      = 3.15646
  Normalizat = 0.82556
  Prefactor  = 1.02177
 **********
 **   18 **HESSE 
 **********

 FCN=   5659.239     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1466        4.2382        .24708E-05   -1.5301    
   2  alpha         3.1565        .69579        .32551E-03    .26570    
   3  Normalizat    .82556        .20758        .10896E-04   -.99127    
   4  Prefactor     1.0218        .16867        .40759E-04   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08163e-10
Minuit parameter uncertainties:
  1  4.23851
  2  0.705817
  3  0.207779
  4  0.168758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/372093': 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) = 5659.2386357
delta logL = 1.38803675749

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.147e+00  4.239e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.156e+00  7.058e-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.022e+00  1.688e-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:  8.256e-01  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.66
Ra Dec: 220.993 25.029
Photon Index (Free Index): 3.16 +/- 0.71
Photon Flux (Free Index): 1.23e-07 +/- 5.85e-08
Energy Flux (Free Index): 2.46e-05 +/- 1.06e-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/372093/cmap_HighResolution_655862401_656121601_4FGL_J1443.9+2501_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='2.46e-05', photon_flux_error='3.05e-08', dlogl='1.39e+00', energy_flux='3.51e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-12-08 01:41:57.773374', photon_index_error2='0.71', photon_index2='3.16', ts='6.79', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.90', time_epoch_completed='1638956517.77', return_code='0', job_id='372093', GAL2='1.02', EG2='0.83', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='5.85e-08', ts2='9.66', photon_index='1.97' WHERE bin_id='1607' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:41:57 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 372093: <4FGL_J1443.9+2501_daily_bin1607> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1607> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec  8 01:25:19 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:31:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:31:07 2021
Terminated at Wed Dec  8 01:41:58 2021
Results reported at Wed Dec  8 01:41:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1607 220.993 25.0291 655862401 656121601 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 :                                   440.41 sec.
    Max Memory :                                 1065 MB
    Average Memory :                             272.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            999 sec.

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

