/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 27 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 = 7640
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1522
RA = 220.993, Dec = 25.0291
tmin = 633830401, tmax = 634089601
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='724822', job_status='RUN', time_executed='2021-09-10 06:22:21.742872', time_epoch_executed='1631280141.74' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724822

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724822/ft1_4FGL_J1443.9+2501_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724822/ft2_4FGL_J1443.9+2501_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724822/ft1_4FGL_J1443.9+2501_daily_bin1522.fits outfile=/scratch/kocevski/724822/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1522.fits ra=220.993 dec=25.0291 rad=12.0 tmin=633830401.0 tmax=634089601.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.63
user 3.38
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724822/ft1_filtered_4FGL_J1443.9+2501_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/724822/ft2_4FGL_J1443.9+2501_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/724822/ltcube_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.fits outfile=/scratch/kocevski/724822/expmap_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.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/724822/ltcube_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.fits
.....................!
real 190.26
user 184.91
sys 5.00

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/724822/ft1_filtered_4FGL_J1443.9+2501_daily_bin1522.fits scfile=/scratch/kocevski/724822/ft2_4FGL_J1443.9+2501_daily_bin1522.fits outfile=/scratch/kocevski/724822/cmap_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724822/ft1_filtered_4FGL_J1443.9+2501_daily_bin1522.fits scfile=/scratch/kocevski/724822/ft2_4FGL_J1443.9+2501_daily_bin1522.fits outfile=/scratch/kocevski/724822/cmap_HighResolution_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3689       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.3643       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .60437       1.0000         .10000E-03   10000.    
     6 'norm      '    .13703E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.506       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0155       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .92438       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 '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1505       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0917       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=   6742.282     FROM MIGRAD    STATUS=CONVERGED    812 CALLS     2687 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3699        3.6767        .13723E-03    .16677E-03
   2  Prefactor     .10000E-03    3.9833        .15949E-02** at limit **
   3  norm          6.3643        2.5250        .79945E-04    .74232E-04
   4  Prefactor     .10000E-03    2.7009        .13110E-02** at limit **
   5  norm          .60428        2.1308        .21713E-03    .28546E-03
   6  norm          .10000E-03    9.0600        .25915E-02** at limit **
   7  Prefactor     39.514        35.747        .63771E-04   -.36208E-03
   8  Prefactor     .10000E-03    9.4774        .18142E-02** at limit **
   9  norm          .10000E-03    2.6991        .13171E-02** at limit **
  10  Prefactor     .10000E-03    3.8217        .15670E-02** at limit **
  11  Prefactor     1.0194        20.893        .51830E-03    .25670E-03
  12  Prefactor     .10000E-03    11.974        .18142E-02** at limit **
  13  Prefactor     .87384        179.07        .79731E-02    .12660E-03
  14  Prefactor     .10000E-03    2.1430        .11733E-02** at limit **
  15  norm          .10000E-03    16.584        .18142E-02** at limit **
  16  Prefactor     .10000E-03    11.044        .18142E-02** at limit **
  17  Prefactor     .10000E-03    3.6321        .15251E-02** at limit **
  18  norm          .10000E-03    .27113        .41258E-03** at limit **
  19  Prefactor     .10000E-03    2.7298        .13234E-02** at limit **
  20  Prefactor     .10001E-03    41.994        .18142E-02** at limit **
  21  Normalizat    1.1503        .21545        .25904E-03    .61925E-04
  22  Prefactor     1.0919        .17241        .21646E-03    .36879E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.3699
  Prefactor  = 0.0001
  norm       = 6.36428
  Prefactor  = 0.0001
  norm       = 0.604282
  norm       = 0.000100003
  Prefactor  = 39.5139
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.01944
  Prefactor  = 0.0001
  Prefactor  = 0.873837
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Normalizat = 1.15027
  Prefactor  = 1.09185
 **********
 **   18 **HESSE 
 **********

 FCN=   6742.282     FROM HESSE     STATUS=OK           322 CALLS     3009 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3699        3.6767        .54890E-05   -1.5290    
   2  Prefactor     .10000E-03    3.9842        .31899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.3643        2.5250        .31978E-05   -1.5203    
   4  Prefactor     .10000E-03    2.7015        .26220E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .60428        2.1304        .86853E-05   -1.5553    
   6  norm          .10000E-03    9.1902        .51829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.514        35.747        .12754E-04   -1.4450    
   8  Prefactor     .10000E-03    9.4796        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6992        .26343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8218        .31340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0194        20.885        .20732E-04   -1.5506    
  12  Prefactor     .10000E-03    11.975        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .87384        184.23        .31893E-03   -1.5521    
  14  Prefactor     .10000E-03    2.1430        .23465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.044        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.6325        .30501E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .27114        .82516E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7299        .26469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    42.000        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1503        .21553        .10362E-04   -.88154    
  22  Prefactor     1.0919        .17217        .43291E-04   -.89727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65924e-09
Minuit parameter uncertainties:
  1  3.6769
  2  4.17827e-05
  3  2.52504
  4  8.85571e-08
  5  2.13065
  6  0.000322731
  7  35.766
  8  8.82044e-05
  9  1.53444e-05
  10  9.81831e-05
  11  9.23173
  12  7.89432e-05
  13  25.4543
  14  2.55992e-06
  15  0.000148914
  16  0.000198629
  17  3.38284e-05
  18  8.4079e-07
  19  1.8846e-05
  20  0.00107955
  21  0.2157
  22  0.172257
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  3.227e-04  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.092e+00  1.723e-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.150e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724822/likelihoodResults_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.txt

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): 102
logL (Free Index) = 6742.28246068
delta logL = -0.000522707486198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6742.28193912
delta logL = -1.14442536869e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12663E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0029       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0919       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6742.282     FROM MIGRAD    STATUS=FAILED        93 CALLS      258 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10176E-03    293.18        .21886E-02** at limit **
   2  alpha         2.1746        2.5333        .50000       -.28326E-05
   3  Normalizat    1.1503        .24379E-01    .25904E-03   -.27757E-03
   4  Prefactor     1.0918        .20015E-01    .21646E-03   -.20739E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6742.282     FROM SIMPLEX   STATUS=UNCHANGED    136 CALLS      394 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10176E-03    293.18        .59633E-03** at limit **
   2  alpha         2.1746        2.5333        .48583E-04   -.28326E-05
   3  Normalizat    1.1503        .24379E-01    .81951E-06   -.27757E-03
   4  Prefactor     1.0918        .20015E-01    .67325E-06   -.20739E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6742.282     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      428 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10066E-03    1269.0        .43772E-03** at limit **
   2  alpha         2.1543        3.4009        .50000       -.45472E-05
   3  Normalizat    1.1503        .59437E-01    .51809E-04   -.29001E-03
   4  Prefactor     1.0918        .48797E-01    .43291E-04   -.22143E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100664
  alpha      = 2.15425
  Normalizat = 1.15027
  Prefactor  = 1.09185
 **********
 **   18 **HESSE 
 **********

 FCN=   6742.282     FROM HESSE     STATUS=OK            29 CALLS      457 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10066E-03    13.737        .87544E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1543        3.0133        .50000       -.13874    
   3  Normalizat    1.1503        .20445        .10362E-04   -.88154    
   4  Prefactor     1.0918        .16787        .86582E-05   -.89727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35049e-08
Minuit parameter uncertainties:
  1  0.00604398
  2  148.131
  3  0.204589
  4  0.167954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724822': 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) = 6742.28193705
delta logL = 9.22223989619e-07

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.007e-04  6.044e-03  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.154e+00  1.481e+02  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.092e+00  1.680e-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.150e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.993 25.029

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/724822/cmap_HighResolution_633830401_634089601_4FGL_J1443.9+2501_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-10 06:34:00.040730', job_id='724822', GAL2='1.09', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631280840.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='9.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1522' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:34:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 724822: <4FGL_J1443.9+2501_daily_bin1522> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1522> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:34 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:35 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:21:35 2021
Terminated at Fri Sep 10 06:34:00 2021
Results reported at Fri Sep 10 06:34:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1522 220.993 25.0291 633830401 634089601 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 :                                   648.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            746 sec.

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

