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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1035
RA = 220.993, Dec = 25.0291
tmin = 507600001, tmax = 507859201
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='723134', job_status='RUN', time_executed='2021-09-10 06:19:47.957248', time_epoch_executed='1631279987.96' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723134/ft1_4FGL_J1443.9+2501_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723134/ft1_4FGL_J1443.9+2501_daily_bin1035.fits outfile=/scratch/kocevski/723134/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1035.fits ra=220.993 dec=25.0291 rad=12.0 tmin=507600001.0 tmax=507859201.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.58
user 3.37
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.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/723134/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1035.fits evtable="EVENTS" outfile="/scratch/kocevski/723134/ft1_filtered_4FGL_J1443.9+2501_daily_bin1035.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.55
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723134/ft1_filtered_4FGL_J1443.9+2501_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/723134/ltcube_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.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/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits
.....................!
real 12.33
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723134/ft1_filtered_4FGL_J1443.9+2501_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/723134/ltcube_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.fits outfile=/scratch/kocevski/723134/expmap_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.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/723134/ltcube_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.fits
.....................!
real 189.96
user 184.91
sys 4.63

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/723134/ft1_filtered_4FGL_J1443.9+2501_daily_bin1035.fits scfile=/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits outfile=/scratch/kocevski/723134/cmap_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.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.93
user 0.38
sys 0.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723134/ft1_filtered_4FGL_J1443.9+2501_daily_bin1035.fits scfile=/scratch/kocevski/723134/ft2_4FGL_J1443.9+2501_daily_bin1035.fits outfile=/scratch/kocevski/723134/cmap_HighResolution_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6652       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8198       1.0000         .10000E-03   10000.    
     3 'norm      '    7.2709       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13332E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.0767       1.0000         .10000E-03   10000.    
     6 'norm      '    7.6496       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7865       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .84957E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.497       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.799       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.430       1.0000         .10000E-03   10000.    
    15 'norm      '    33.271       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.813       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8492       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3880       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .94541E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1264       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99286       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=   6758.298     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2751 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6669        4.3551        .93791E-07   -.30703E-04
   2  Prefactor     8.8145        7.6983        .46518E-07   -.65544E-04
   3  norm          7.2710        2.9554        .20584E-07    .13738E-04
   4  Prefactor     .10001E-03    4.9932        .20783E-06** at limit **
   5  norm          4.0760        3.0267        .32589E-07    .93096E-04
   6  norm          7.6499        5.3740        .95699E-07   -.16290E-04
   7  Prefactor     .10000E-03    13.184        .39553E-07** at limit **
   8  Prefactor     2.7847        77.066       -.69142E-05    .18458E-04
   9  norm          .10000E-03    2.3278       -.10986E-07** at limit **
  10  Prefactor     .12689E-03    28.503        .33723E-05** at limit **
  11  Prefactor     26.500        14.162       -.31901E-06    .67600E-04
  12  Prefactor     11.981        35.357       -.50307E-05    .78545E-04
  13  Prefactor     28.797        43.998       -.28895E-06    .13561E-04
  14  Prefactor     12.430        9.5953        .38852E-06   -.19238E-04
  15  norm          33.269        33.797        .18861E-06   -.37880E-05
  16  Prefactor     12.842        55.675       -.21848E-05    .23149E-04
  17  Prefactor     5.8500        8.3536        .49531E-07   -.35658E-05
  18  norm          2.3890        1.5814        .32305E-07   -.16589E-03
  19  Prefactor     .10000E-03    6.4369        .15037E-06** at limit **
  20  Prefactor     .10000E-03    14.179        .98229E-08** at limit **
  21  Normalizat    1.1259        .19765       -.32119E-06    .31237E-04
  22  Prefactor     .99313        .15577       -.53576E-06    .88639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66692
  Prefactor  = 8.81446
  norm       = 7.27097
  Prefactor  = 0.000100011
  norm       = 4.076
  norm       = 7.64987
  Prefactor  = 0.0001
  Prefactor  = 2.7847
  norm       = 0.0001
  Prefactor  = 0.000126885
  Prefactor  = 26.4995
  Prefactor  = 11.9813
  Prefactor  = 28.7968
  Prefactor  = 12.4302
  norm       = 33.2685
  Prefactor  = 12.842
  Prefactor  = 5.84996
  norm       = 2.38905
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.12592
  Prefactor  = 0.99313
 **********
 **   18 **HESSE 
 **********

 FCN=   6758.298     FROM HESSE     STATUS=OK           366 CALLS     3117 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6669        4.3868        .13122E-03   -1.5192    
   2  Prefactor     8.8145        7.5722        .13497E-03   -1.5114    
   3  norm          7.2710        2.9562        .87345E-04   -1.5169    
   4  Prefactor     .10001E-03    31.120        .34643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.0760        3.0179        .11765E-03   -1.5304    
   6  norm          7.6499        5.3769        .14499E-03   -1.5155    
   7  Prefactor     .10000E-03    13.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7847        78.578        .24375E-03   -1.5374    
   9  norm          .10000E-03    2.3279        .12250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12689E-03    40.489        .10199       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.500        14.163        .77824E-04   -1.4678    
  12  Prefactor     11.981        38.194        .11570E-03   -1.5016    
  13  Prefactor     28.797        44.105        .74656E-04   -1.4634    
  14  Prefactor     12.430        9.6000        .11362E-03   -1.5003    
  15  norm          33.269        33.802        .69470E-04   -1.4554    
  16  Prefactor     12.842        55.597        .11190E-03   -1.4991    
  17  Prefactor     5.8500        8.3486        .16605E-03   -1.5224    
  18  norm          2.3890        1.4456        .73049E-04   -1.5399    
  19  Prefactor     .10000E-03    65.747        .36626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1259        .23343        .28020E-03   -.88924    
  22  Prefactor     .99313        .18401        .23361E-03   -.92959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.643e-10
Minuit parameter uncertainties:
  1  4.38696
  2  7.57301
  3  2.95626
  4  0.00118669
  5  3.01805
  6  5.37728
  7  3.21688e-06
  8  29.6273
  9  1.00545e-06
  10  0.0660308
  11  14.1651
  12  38.2716
  13  44.1546
  14  9.60119
  15  33.8218
  16  53.5244
  17  8.35025
  18  1.44561
  19  0.000666746
  20  1.31531e-07
  21  0.233644
  22  0.184125
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  7.650e+00  5.377e+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.931e-01  1.841e-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.126e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.71
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.30e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 1.81e-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) = 6758.18078506
delta logL = 0.117403368256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6758.17869625
delta logL = 0.119492183406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4883       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2174       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99494       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=   6758.179     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      242 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4882        5.1129        .13940E-03    .76711E-03
   2  alpha         2.2175        .50841        .13029E-01    .75613E-04
   3  Normalizat    1.1162        .22328        .28119E-03   -.47627E-04
   4  Prefactor     .99495        .17650        .23334E-03   -.76982E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.48822
  alpha      = 2.21751
  Normalizat = 1.11617
  Prefactor  = 0.99495
 **********
 **   18 **HESSE 
 **********

 FCN=   6758.179     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4882        5.0511        .55759E-05   -1.5161    
   2  alpha         2.2175        .50220        .52117E-03   -.11324    
   3  Normalizat    1.1162        .22344        .11248E-04   -.89234    
   4  Prefactor     .99495        .17663        .93334E-05   -.92898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07401e-10
Minuit parameter uncertainties:
  1  5.05142
  2  0.505687
  3  0.223629
  4  0.176731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723134': 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) = 6758.17869624
delta logL = 0.119492192529

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  9.950e-01  1.767e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.116e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.93
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.22 +/- 0.51
Photon Flux (Free Index): 5.62e-08 +/- 4.38e-08
Energy Flux (Free Index): 2.31e-05 +/- 1.57e-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/723134/cmap_HighResolution_507600001_507859201_4FGL_J1443.9+2501_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.30e-08', energy_flux2='2.31e-05', photon_flux_error='3.02e-08', dlogl='1.19e-01', energy_flux='2.57e-05', photon_flux2='5.62e-08', job_status='DONE', time_completed='2021-09-10 06:29:42.322207', photon_index_error2='0.51', photon_index2='2.22', ts='4.71', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='1.13', time_epoch_completed='1631280582.32', return_code='0', job_id='723134', GAL2='0.99', EG2='1.12', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='4.38e-08', ts2='4.93', photon_index='1.97' WHERE bin_id='1035' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:29:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 723134: <4FGL_J1443.9+2501_daily_bin1035> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1035> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:27 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:29 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:29 2021
Terminated at Fri Sep 10 06:29:43 2021
Results reported at Fri Sep 10 06:29:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1035 220.993 25.0291 507600001 507859201 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 :                                   589.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

