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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin225
RA = 220.993, Dec = 25.0291
tmin = 297648001, tmax = 297907201
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='719862', job_status='RUN', time_executed='2021-09-10 06:06:21.139627', time_epoch_executed='1631279181.14' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/719862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/719862/ft1_4FGL_J1443.9+2501_daily_bin225.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/719862/ft2_4FGL_J1443.9+2501_daily_bin225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/719862/ft1_4FGL_J1443.9+2501_daily_bin225.fits outfile=/scratch/kocevski/719862/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin225.fits ra=220.993 dec=25.0291 rad=12.0 tmin=297648001.0 tmax=297907201.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.70
user 3.47
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/719862/ft1_filtered_4FGL_J1443.9+2501_daily_bin225.fits evtable="EVENTS" scfile=/scratch/kocevski/719862/ft2_4FGL_J1443.9+2501_daily_bin225.fits sctable="SC_DATA" expcube=/scratch/kocevski/719862/ltcube_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.fits outfile=/scratch/kocevski/719862/expmap_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.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/719862/ltcube_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.fits
.....................!
real 192.19
user 187.71
sys 4.08

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/719862/ft1_filtered_4FGL_J1443.9+2501_daily_bin225.fits scfile=/scratch/kocevski/719862/ft2_4FGL_J1443.9+2501_daily_bin225.fits outfile=/scratch/kocevski/719862/cmap_HighResolution_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5208       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6734       1.0000         .10000E-03   10000.    
     3 'norm      '    9.3700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12143E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.6065       1.0000         .10000E-03   10000.    
     6 'norm      '    .11463E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    61.980       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1144       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .31435       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.7118       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11621E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7347       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 '    5.8234       1.0000         .10000E-03   10000.    
    18 'norm      '    12.776       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6486       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99990       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0423       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=   7695.787     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     2431 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5220        3.6021        .18780E-03   -.49017E-03
   2  Prefactor     2.6801        8.6739        .24924E-03   -.79960E-04
   3  norm          9.3699        3.2577        .90085E-04    .73751E-04
   4  Prefactor     .10008E-03    14.609        .35527E-02** at limit **
   5  norm          1.6062        2.4213        .16151E-03   -.58754E-03
   6  norm          .10000E-03    5.5341        .36285E-03** at limit **
   7  Prefactor     61.977        38.107        .50968E-04    .52016E-04
   8  Prefactor     2.1087        66.134        .28368E-03   -.25327E-04
   9  norm          .10000E-03    3.1499        .15200E-02** at limit **
  10  Prefactor     .29453        16.344        .88962E-01    .41043E-03
  11  Prefactor     6.7123        16.829        .15488E-03   -.12258E-04
  12  Prefactor     .10000E-03    16.439        .18142E-02** at limit **
  13  Prefactor     .10000E-03    80.061        .36285E-03** at limit **
  14  Prefactor     6.7340        6.7916        .15462E-03   -.53675E-05
  15  norm          .10000E-03    20.997        .18142E-02** at limit **
  16  Prefactor     .10000E-03    11.994        .18142E-02** at limit **
  17  Prefactor     5.8221        7.4030        .16643E-03   -.64690E-04
  18  norm          12.774        2.7050        .52938E-04    .33772E-03
  19  Prefactor     2.6504        23.201        .25050E-03   -.94897E-04
  20  Prefactor     .10000E-03    34.549        .18142E-02** at limit **
  21  Normalizat    .99962        .22439        .29619E-03    .20677E-03
  22  Prefactor     1.0425        .16737        .22684E-03    .38945E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52197
  Prefactor  = 2.68013
  norm       = 9.36988
  Prefactor  = 0.000100081
  norm       = 1.6062
  norm       = 0.0001
  Prefactor  = 61.9767
  Prefactor  = 2.10872
  norm       = 0.0001
  Prefactor  = 0.294526
  Prefactor  = 6.71229
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 6.73402
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82214
  norm       = 12.7739
  Prefactor  = 2.65039
  Prefactor  = 0.0001
  Normalizat = 0.999621
  Prefactor  = 1.04255
 **********
 **   18 **HESSE 
 **********

 FCN=   7695.787     FROM HESSE     STATUS=OK           330 CALLS     2761 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5220        3.6017        .75119E-05   -1.5390    
   2  Prefactor     2.6801        8.6627        .99696E-05   -1.5381    
   3  norm          9.3699        3.2576        .18017E-04   -1.5096    
   4  Prefactor     .10008E-03    14.678        .71055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6062        2.4209        .64605E-05   -1.5454    
   6  norm          .10000E-03    5.5345        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     61.977        38.107        .10194E-04   -1.4132    
   8  Prefactor     2.1087        66.056        .11347E-04   -1.5418    
   9  norm          .10000E-03    3.1499        .30400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .29453        15.229        .93227E-01   -1.5599    
  11  Prefactor     6.7123        16.827        .61953E-05   -1.5190    
  12  Prefactor     .10000E-03    16.441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    80.066        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7340        6.7913        .61847E-05   -1.5189    
  15  norm          .10000E-03    20.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.994        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8221        7.4026        .66570E-05   -1.5225    
  18  norm          12.774        2.7017        .10588E-04   -1.4993    
  19  Prefactor     2.6504        23.140        .10020E-04   -1.5382    
  20  Prefactor     .10000E-03    34.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99962        .22455        .11848E-04   -.93043    
  22  Prefactor     1.0425        .16748        .45368E-04   -.91324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05726e-09
Minuit parameter uncertainties:
  1  3.60204
  2  8.66673
  3  3.25765
  4  0.00218418
  5  2.42106
  6  1.30953e-05
  7  38.1221
  8  23.6325
  9  2.23566e-06
  10  4.23615
  11  16.8393
  12  0.00019306
  13  0.00047573
  14  6.79211
  15  8.09301e-05
  16  1.7156e-05
  17  7.40376
  18  2.70177
  19  15.6707
  20  1.85788e-07
  21  0.224759
  22  0.167562
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.310e-05  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.043e+00  1.676e-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.996e-01  2.248e-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: 5.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/719862/likelihoodResults_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.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): 0
logL (Free Index) = 7695.78814915
delta logL = -0.000862947772475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7695.78728973
delta logL = -3.52769529854e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12419E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0165       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0422       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=   7695.599     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      335 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19743        18.206        .28657E-02    .37485E-02
   2  alpha         4.1107        2.9133        .16867        .78673E-04
   3  Normalizat    .96962        .66318E-01    .29619E-03    .28634E-04
   4  Prefactor     1.0530        .52032E-01    .22684E-03    .43001E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.197427
  alpha      = 4.11066
  Normalizat = 0.969624
  Prefactor  = 1.05302
 **********
 **   18 **HESSE 
 **********

 FCN=   7695.599     FROM HESSE     STATUS=OK            27 CALLS      362 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19743        1.5999        .64118E-04   -1.5619    
   2  alpha         4.1107        4.3531        .42339E-02    .70006    
   3  Normalizat    .96962        .21148        .11848E-04   -.94055    
   4  Prefactor     1.0530        .16259        .90736E-05   -.90982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76056e-11
Minuit parameter uncertainties:
  1  1.1238
  2  3.23909
  3  0.211659
  4  0.162665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/719862': 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) = 7695.59853876
delta logL = 0.188747442189

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.974e-01  1.124e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  4.111e+00  3.239e+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:  1.053e+00  1.627e-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.696e-01  2.117e-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/719862/cmap_HighResolution_297648001_297907201_4FGL_J1443.9+2501_daily_bin225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2021-09-10 06:17:32.037700', job_id='719862', GAL2='1.05', fit_tolerance='1e-08', EG2='0.97', EG='1.00', time_epoch_completed='1631279852.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.89e-01', ts2='0.40', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='225' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:17:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 719862: <4FGL_J1443.9+2501_daily_bin225> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin225> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:06:09 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:06:11 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:11 2021
Terminated at Fri Sep 10 06:17:32 2021
Results reported at Fri Sep 10 06:17:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin225 220.993 25.0291 297648001 297907201 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 :                                   663.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             333.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            683 sec.

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

