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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1360
RA = 220.993, Dec = 25.0291
tmin = 591840001, tmax = 592099201
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='724584', job_status='RUN', time_executed='2021-09-10 06:23:51.947933', time_epoch_executed='1631280231.95' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724584/ft1_4FGL_J1443.9+2501_daily_bin1360.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724584/ft2_4FGL_J1443.9+2501_daily_bin1360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724584/ft1_4FGL_J1443.9+2501_daily_bin1360.fits outfile=/scratch/kocevski/724584/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1360.fits ra=220.993 dec=25.0291 rad=12.0 tmin=591840001.0 tmax=592099201.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 5.29
user 4.96
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724584/ft1_filtered_4FGL_J1443.9+2501_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/724584/ft2_4FGL_J1443.9+2501_daily_bin1360.fits sctable="SC_DATA" expcube=/scratch/kocevski/724584/ltcube_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.fits outfile=/scratch/kocevski/724584/expmap_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.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/724584/ltcube_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.fits
.....................!
real 191.58
user 186.16
sys 5.07

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/724584/ft1_filtered_4FGL_J1443.9+2501_daily_bin1360.fits scfile=/scratch/kocevski/724584/ft2_4FGL_J1443.9+2501_daily_bin1360.fits outfile=/scratch/kocevski/724584/cmap_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724584/ft1_filtered_4FGL_J1443.9+2501_daily_bin1360.fits scfile=/scratch/kocevski/724584/ft2_4FGL_J1443.9+2501_daily_bin1360.fits outfile=/scratch/kocevski/724584/cmap_HighResolution_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.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/724584/ft1_filtered_4FGL_J1443.9+2501_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/724584/ft2_4FGL_J1443.9+2501_daily_bin1360.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724584/Model_4FGL_J1443.9+2501_daily_bin1360.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/724584/ft1_filtered_4FGL_J1443.9+2501_daily_bin1360.fits.....................!
real 53.48
user 52.07
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.230       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.9133       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.426       1.0000         .10000E-03   10000.    
     5 'norm      '    2.6909       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.523       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4875       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.794       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.948       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10968E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.207       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.919       1.0000         .10000E-03   10000.    
    15 'norm      '    .80680E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2473       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4771       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8694       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .48892       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=   6773.454     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2046 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.233        8.5533       -.21996E-06   -.40176E-04
   2  Prefactor     .10000E-03    5.9681       -.59977E-07** at limit **
   3  norm          6.9136        3.1562       -.36569E-06    .39307E-04
   4  Prefactor     10.423        9.3877       -.20099E-05   -.59708E-04
   5  norm          2.6926        3.1352       -.82468E-06   -.50679E-03
   6  norm          .10000E-03    1.6965       -.56966E-07** at limit **
   7  Prefactor     14.547        18.389       -.28503E-04   -.62355E-05
   8  Prefactor     .10000E-03    8.1354        .53060E-06** at limit **
   9  norm          2.4870        5.3981        .13602E-05   -.32450E-03
  10  Prefactor     17.794        13.574        .64108E-05    .81185E-04
  11  Prefactor     11.954        13.454       -.80706E-05   -.43097E-04
  12  Prefactor     .10000E-03    10.681       -.23497E-05** at limit **
  13  Prefactor     14.120        42.152       -.11170E-03    .24683E-04
  14  Prefactor     19.922        13.176       -.48726E-05    .32899E-04
  15  norm          .10000E-03    199.96       -.38113E-05** at limit **
  16  Prefactor     .10000E-03    16.181       -.95223E-05** at limit **
  17  Prefactor     3.2493        8.0756       -.30898E-05   -.31070E-03
  18  norm          1.4765        1.1710       -.46179E-06   -.18313E-02
  19  Prefactor     .10000E-03    13.087        .85406E-05** at limit **
  20  Prefactor     .10000E-03    17.414        .21134E-05** at limit **
  21  Normalizat    1.8691        .21911        .16333E-05    .44793E-04
  22  Prefactor     .48905        .16304        .11203E-04    .28032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.2327
  Prefactor  = 0.0001
  norm       = 6.9136
  Prefactor  = 10.4234
  norm       = 2.69259
  norm       = 0.0001
  Prefactor  = 14.5466
  Prefactor  = 0.0001
  norm       = 2.48697
  Prefactor  = 17.7935
  Prefactor  = 11.9539
  Prefactor  = 0.000100003
  Prefactor  = 14.1202
  Prefactor  = 19.9218
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 3.24931
  norm       = 1.4765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.86906
  Prefactor  = 0.489054
 **********
 **   18 **HESSE 
 **********

 FCN=   6773.454     FROM HESSE     STATUS=OK           344 CALLS     2390 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.233        8.6108        .52574E-04   -1.4180    
   2  Prefactor     .10000E-03    5.9957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.9136        3.1560        .95712E-04   -1.5182    
   4  Prefactor     10.423        9.3938        .12409E-03   -1.5062    
   5  norm          2.6926        3.1211        .15012E-03   -1.5380    
   6  norm          .10000E-03    1.7016        .10467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.547        18.409        .10510E-03   -1.4945    
   8  Prefactor     .10000E-03    8.1431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4870        5.3674        .25918E-03   -1.5393    
  10  Prefactor     17.794        13.575        .94948E-04   -1.4864    
  11  Prefactor     11.954        13.488        .11589E-03   -1.5016    
  12  Prefactor     .10000E-03    10.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.120        42.238        .10627E-03   -1.4956    
  14  Prefactor     19.922        13.177        .89743E-04   -1.4815    
  15  norm          .10000E-03    206.29        .41794E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2493        8.0613        .22476E-03   -1.5347    
  18  norm          1.4765        1.1594        .75595E-04   -1.5465    
  19  Prefactor     .10000E-03    13.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.8691        .25418        .24790E-03   -.67874    
  22  Prefactor     .48905        .18579        .33548E-03   -1.1248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0754e-09
Minuit parameter uncertainties:
  1  8.61095
  2  1.28849e-05
  3  3.15603
  4  9.39508
  5  3.12133
  6  6.77655e-06
  7  18.4161
  8  2.18777e-05
  9  5.36846
  10  13.577
  11  13.4919
  12  0.000361293
  13  42.3273
  14  13.1789
  15  0.00135005
  16  2.16542e-05
  17  8.06402
  18  1.15943
  19  6.01543e-05
  20  1.91197e-05
  21  0.254358
  22  0.186016
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  6.777e-06  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:  4.891e-01  1.860e-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.869e+00  2.544e-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.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724584/likelihoodResults_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.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) = 6773.45629866
delta logL = -0.00266983579877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6772.55076225
delta logL = 0.90286656541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11780       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53729       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=   6772.551     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      294 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11779        3.0543        .47984E-02    .15626E-02
   2  alpha         5.0000        4.8070        .46343    ** at limit **
   3  Normalizat    1.7590        .10892        .57360E-01   -.42924E-04
   4  Prefactor     .53734        .75638E-01    .72508E-01    .26097E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.117792
  alpha      = 5
  Normalizat = 1.75903
  Prefactor  = 0.537337
 **********
 **   18 **HESSE 
 **********

 FCN=   6772.551     FROM HESSE     STATUS=OK            33 CALLS      327 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11779        .10740        .21724E-04   -1.5639    
   2  alpha         5.0000        .92355        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.7590        .25563        .25362E-03   -.70738    
   4  Prefactor     .53734        .18466        .32103E-03   -1.1029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60764e-11
Minuit parameter uncertainties:
  1  0.107402
  2  6.20649e-07
  3  0.255821
  4  0.184862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724584': 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) = 6772.55076186
delta logL = 0.902866957768

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.178e-01  1.074e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  6.206e-07  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:  5.373e-01  1.849e-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.759e+00  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 220.993 25.029
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.16e-08 +/- 8.31e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.14e-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/724584/cmap_HighResolution_591840001_592099201_4FGL_J1443.9+2501_daily_bin1360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-05', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='9.03e-01', photon_flux2='9.16e-08', job_status='DONE', time_completed='2021-09-10 06:37:30.537872', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', photon_flux_upper_limit='4.82e-08', energy_flux_error2='1.14e-05', EG='1.87', time_epoch_completed='1631281050.54', return_code='0', job_id='724584', GAL2='0.54', EG2='1.76', return_code2='0', photon_flux_error2='8.31e-08', ts2='1.92', photon_index='1.97' WHERE bin_id='1360' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:37:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 724584: <4FGL_J1443.9+2501_daily_bin1360> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1360 220.993 25.0291 591840001 592099201 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 :                                   635.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            973 sec.

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

