/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 129 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin354
RA = 220.993, Dec = 25.0291
tmin = 331084801, tmax = 331344001
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='720056', job_status='RUN', time_executed='2021-09-10 06:08:42.568313', time_epoch_executed='1631279322.57' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720056/ft1_4FGL_J1443.9+2501_daily_bin354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720056/ft2_4FGL_J1443.9+2501_daily_bin354.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720056/ft1_4FGL_J1443.9+2501_daily_bin354.fits outfile=/scratch/kocevski/720056/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin354.fits ra=220.993 dec=25.0291 rad=12.0 tmin=331084801.0 tmax=331344001.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.36
user 3.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/720056/ft2_4FGL_J1443.9+2501_daily_bin354.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/720056/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin354.fits evtable="EVENTS" outfile="/scratch/kocevski/720056/ft1_filtered_4FGL_J1443.9+2501_daily_bin354.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/720056/ft1_filtered_4FGL_J1443.9+2501_daily_bin354.fits" evtable="EVENTS" scfile=/scratch/kocevski/720056/ft2_4FGL_J1443.9+2501_daily_bin354.fits sctable="SC_DATA" outfile=/scratch/kocevski/720056/ltcube_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.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/720056/ft2_4FGL_J1443.9+2501_daily_bin354.fits
.....................!
real 12.02
user 11.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720056/ft1_filtered_4FGL_J1443.9+2501_daily_bin354.fits evtable="EVENTS" scfile=/scratch/kocevski/720056/ft2_4FGL_J1443.9+2501_daily_bin354.fits sctable="SC_DATA" expcube=/scratch/kocevski/720056/ltcube_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.fits outfile=/scratch/kocevski/720056/expmap_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.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/720056/ltcube_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.fits
.....................!
real 190.34
user 185.05
sys 4.88

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/720056/ft1_filtered_4FGL_J1443.9+2501_daily_bin354.fits scfile=/scratch/kocevski/720056/ft2_4FGL_J1443.9+2501_daily_bin354.fits outfile=/scratch/kocevski/720056/cmap_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0807       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.8702       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6822       1.0000         .10000E-03   10000.    
     5 'norm      '    .47954       1.0000         .10000E-03   10000.    
     6 'norm      '    .40300E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11797E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.6727       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10745E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9250       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .93145E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11780E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4853       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0054       1.0000         .10000E-03   10000.    
    18 'norm      '    20.136       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4200       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2503       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84037       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=   7215.727     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2055 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0813        3.4239       -.11748E-07   -.11044E-04
   2  Prefactor     .10000E-03    3.9688       -.25969E-07** at limit **
   3  norm          5.8697        2.5720       -.33833E-08    .17664E-04
   4  Prefactor     7.6807        6.4241        .23067E-07   -.16833E-04
   5  norm          .47753        2.2003        .41307E-06   -.18117E-03
   6  norm          .10000E-03    2.3105        .57818E-07** at limit **
   7  Prefactor     .10000E-03    15.361        .46119E-06** at limit **
   8  Prefactor     .10000E-03    4.9837        .18346E-06** at limit **
   9  norm          3.6730        4.3807       -.19309E-07    .33255E-05
  10  Prefactor     .10000E-03    8.1894        .53699E-06** at limit **
  11  Prefactor     .10000E-03    4.4627       -.38778E-07** at limit **
  12  Prefactor     7.9080        22.841       -.61855E-05   -.11556E-04
  13  Prefactor     .10008E-03    282.52        .20504E-04** at limit **
  14  Prefactor     .10000E-03    2.6530       -.10101E-07** at limit **
  15  norm          .10000E-03    16.317       -.71850E-06** at limit **
  16  Prefactor     4.4950        98.736        .50897E-07    .10777E-06
  17  Prefactor     5.0016        6.5418        .13171E-06   -.18982E-04
  18  norm          20.137        2.6048       -.21240E-06    .20983E-04
  19  Prefactor     2.4142        10.738        .68179E-05   -.13986E-03
  20  Prefactor     .10000E-03    21.888        .34448E-06** at limit **
  21  Normalizat    1.2501        .18222        .64221E-06   -.42068E-04
  22  Prefactor     .84040        .14541       -.30953E-06   -.65863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.08131
  Prefactor  = 0.0001
  norm       = 5.86969
  Prefactor  = 7.68074
  norm       = 0.477532
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.90799
  Prefactor  = 0.000100082
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.49495
  Prefactor  = 5.00161
  norm       = 20.1372
  Prefactor  = 2.41424
  Prefactor  = 0.0001
  Normalizat = 1.25007
  Prefactor  = 0.840401
 **********
 **   18 **HESSE 
 **********

 FCN=   7215.727     FROM HESSE     STATUS=OK           348 CALLS     2403 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0813        3.4325        .15730E-03   -1.5357    
   2  Prefactor     .10000E-03    3.9937        .16518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.8697        2.5722        .87545E-04   -1.5223    
   4  Prefactor     7.6807        6.3974        .14468E-03   -1.5154    
   5  norm          .47753        4.2765        .23299E-02   -1.5570    
   6  norm          .10000E-03    23.506        .24723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6730        4.3799        .18961E-03   -1.5325    
  10  Prefactor     .10000E-03    8.2265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4707        .17525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9080        22.957        .14243E-03   -1.5145    
  13  Prefactor     .10008E-03    304.00        .36411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6572        .13511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.4950        98.557        .19011E-03   -1.5284    
  17  Prefactor     5.0016        6.5327        .17974E-03   -1.5261    
  18  norm          20.137        2.6147        .44424E-04   -1.4810    
  19  Prefactor     2.4142        10.958        .13156E-02   -1.5397    
  20  Prefactor     .10000E-03    21.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2501        .21465        .25819E-03   -.85069    
  22  Prefactor     .84040        .17103        .24571E-03   -.98256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2857e-08
Minuit parameter uncertainties:
  1  3.43268
  2  3.16905e-06
  3  2.57229
  4  6.39794
  5  2.85807
  6  0.000372552
  7  4.58983e-05
  8  1.54416e-05
  9  4.38028
  10  6.12646e-05
  11  4.15089e-06
  12  22.983
  13  0.0100288
  14  1.63543e-06
  15  4.16762e-05
  16  42.1742
  17  6.53366
  18  2.61471
  19  10.29
  20  2.67933e-05
  21  0.214801
  22  0.17114
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  3.726e-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:  8.404e-01  1.711e-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.250e+00  2.148e-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: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/720056/likelihoodResults_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.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) = 7215.72727206
delta logL = -0.000201433590519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7213.89194562
delta logL = 1.83512501284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35973       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4997       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89729       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=   7213.892     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      289 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35904        3.2188        .62642E-02    .62260E-03
   2  alpha         4.5010        4.7485        .38225        .20493E-04
   3  Normalizat    1.1146        .57434E-01    .61252E-01    .53365E-04
   4  Prefactor     .89746        .46163E-01    .44971E-01    .59173E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.359043
  alpha      = 4.50097
  Normalizat = 1.1146
  Prefactor  = 0.897457
 **********
 **   18 **HESSE 
 **********

 FCN=   7213.892     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      322 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35904        5.6178        .28239E-04   -1.5588    
   2  alpha         4.5010        4.6575        .19229E-01    .92794    
   3  Normalizat    1.1146        .19924        .27091E-03   -.89285    
   4  Prefactor     .89746        .15776        .23831E-03   -.96230    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.76004e-10
Minuit parameter uncertainties:
  1  2.84037
  2  4.32669
  3  0.199377
  4  0.157839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720056': 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): 102
logL (Free Index) = 7213.89194462
delta logL = 1.83512600728

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.590e-01  2.840e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  4.501e+00  4.327e+00  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:  8.975e-01  1.578e-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.115e+00  1.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.94
Ra Dec: 220.993 25.029
Photon Index (Free Index): 4.50 +/- 4.33
Photon Flux (Free Index): 1.11e-07 +/- 6.44e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.29e-05

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/720056/cmap_HighResolution_331084801_331344001_4FGL_J1443.9+2501_daily_bin354.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-05', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='1.84e+00', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-09-10 06:19:06.300767', photon_index_error2='4.33', photon_index2='4.50', ts='-0.00', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='6.38e-08', energy_flux_error2='1.29e-05', EG='1.25', time_epoch_completed='1631279946.3', return_code='0', job_id='720056', GAL2='0.90', EG2='1.11', return_code2='102', photon_flux_error2='6.44e-08', ts2='3.94', photon_index='1.97' WHERE bin_id='354' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 720056: <4FGL_J1443.9+2501_daily_bin354> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin354> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:06:23 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:06:25 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:06:25 2021
Terminated at Fri Sep 10 06:19:07 2021
Results reported at Fri Sep 10 06:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin354 220.993 25.0291 331084801 331344001 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 :                                   621.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            764 sec.

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

