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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1415
RA = 220.993, Dec = 25.0291
tmin = 606096001, tmax = 606355201
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='724666', job_status='RUN', time_executed='2021-09-10 06:23:27.258584', time_epoch_executed='1631280207.26' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724666

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724666/ft1_4FGL_J1443.9+2501_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724666/ft1_4FGL_J1443.9+2501_daily_bin1415.fits outfile=/scratch/kocevski/724666/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1415.fits ra=220.993 dec=25.0291 rad=12.0 tmin=606096001.0 tmax=606355201.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.66
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/724666/ltcube_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.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/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits
.....................!
real 11.88
user 11.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/724666/ltcube_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.fits outfile=/scratch/kocevski/724666/expmap_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.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/724666/ltcube_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.fits
.....................!
real 191.08
user 185.39
sys 5.29

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/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits scfile=/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits outfile=/scratch/kocevski/724666/cmap_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits scfile=/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits outfile=/scratch/kocevski/724666/cmap_HighResolution_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.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/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/724666/ft2_4FGL_J1443.9+2501_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724666/Model_4FGL_J1443.9+2501_daily_bin1415.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/724666/ft1_filtered_4FGL_J1443.9+2501_daily_bin1415.fits....................!
real 53.52
user 52.03
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.388       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8572       1.0000         .10000E-03   10000.    
     3 'norm      '    5.8066       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11986E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.5709       1.0000         .10000E-03   10000.    
     6 'norm      '    6.2359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34620E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.626       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    35.422       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1008       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2702       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2098       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83569       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=   6917.783     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2772 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.389        8.5814       -.20789E-07   -.30970E-03
   2  Prefactor     9.8547        8.0161       -.17307E-06   -.18861E-03
   3  norm          5.8066        2.9944        .94460E-08   -.12276E-03
   4  Prefactor     .10000E-03    9.2270        .38409E-06** at limit **
   5  norm          5.5706        3.0703        .14792E-06    .48780E-03
   6  norm          6.2359        4.0266       -.33624E-07   -.20721E-03
   7  Prefactor     .10000E-03    15.115        .22397E-05** at limit **
   8  Prefactor     .10000E-03    8.3156        .12827E-07** at limit **
   9  norm          .10000E-03    11.442       -.83411E-06** at limit **
  10  Prefactor     .10002E-03    53.660       -.39955E-04** at limit **
  11  Prefactor     21.623        13.308        .49516E-06    .14380E-03
  12  Prefactor     .10000E-03    16.434       -.20027E-05** at limit **
  13  Prefactor     .10000E-03    53.274       -.10723E-05** at limit **
  14  Prefactor     .10000E-03    2.1909        .11331E-06** at limit **
  15  norm          35.435        46.915       -.76783E-06    .45259E-04
  16  Prefactor     20.081        42.618       -.52075E-06    .45630E-04
  17  Prefactor     .10000E-03    5.2335        .84609E-07** at limit **
  18  norm          1.1007        1.0336        .21994E-06    .21677E-02
  19  Prefactor     .10000E-03    4.3659       -.54879E-06** at limit **
  20  Prefactor     4.1653        92.485        .69786E-05    .23176E-04
  21  Normalizat    1.2098        .19405        .18046E-06   -.85947E-05
  22  Prefactor     .83567        .15129       -.11899E-05   -.19910E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.3887
  Prefactor  = 9.85474
  norm       = 5.80657
  Prefactor  = 0.0001
  norm       = 5.57058
  norm       = 6.23588
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 21.6227
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 35.4347
  Prefactor  = 20.0814
  Prefactor  = 0.0001
  norm       = 1.10072
  Prefactor  = 0.0001
  Prefactor  = 4.16526
  Normalizat = 1.20979
  Prefactor  = 0.835666
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.783     FROM HESSE     STATUS=OK           342 CALLS     3114 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.389        8.6355        .48537E-04   -1.4052    
   2  Prefactor     9.8547        8.0051        .12763E-03   -1.5080    
   3  norm          5.8066        2.9947        .99911E-04   -1.5226    
   4  Prefactor     .10000E-03    9.5566        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.5706        3.0711        .10413E-03   -1.5236    
   6  norm          6.2359        4.0276        .13001E-03   -1.5208    
   7  Prefactor     .10000E-03    15.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    52.503        .45395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.623        13.326        .86131E-04   -1.4778    
  12  Prefactor     .10000E-03    16.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    53.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1928        .12024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          35.435        46.961        .67335E-04   -1.4517    
  16  Prefactor     20.081        42.626        .89441E-04   -1.4811    
  17  Prefactor     .10000E-03    5.2697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1007        .96903        .78476E-03   -1.5498    
  19  Prefactor     .10000E-03    4.3884        .16972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1653        92.778        .19497E-03   -1.5300    
  21  Normalizat    1.2098        .23131        .26845E-03   -.86301    
  22  Prefactor     .83567        .18057        .24894E-03   -.98427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42825e-09
Minuit parameter uncertainties:
  1  8.6357
  2  8.00597
  3  2.99479
  4  4.70052e-05
  5  3.07115
  6  4.02774
  7  0.000201465
  8  3.63122e-05
  9  2.29447e-05
  10  0.00186935
  11  13.328
  12  0.000335633
  13  0.000842556
  14  1.00925e-05
  15  47.0102
  16  42.6907
  17  7.36639e-06
  18  0.969041
  19  9.01895e-05
  20  39.3853
  21  0.231509
  22  0.180701
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.357e-01  1.807e-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.210e+00  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.91
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.36e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.55607292
delta logL = 0.227331260529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.53383698
delta logL = 0.24956720235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3008       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5490       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83527       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=   6917.534     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2990        3.6576        .43642E-02   -.29566E-02
   2  alpha         1.5484        .44088        .40061       -.43076E-04
   3  Normalizat    1.2198        .18845        .60490E-01    .10970E-04
   4  Prefactor     .83529        .14875        .44175E-01    .40725E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.29901
  alpha      = 1.54841
  Normalizat = 1.2198
  Prefactor  = 0.83529
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.534     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2990        4.3026        .63820E-03   -1.5248    
   2  alpha         1.5484        .59291        .15373E-01   -.39048    
   3  Normalizat    1.2198        .22354        .26754E-03   -.85993    
   4  Prefactor     .83529        .17669        .24909E-03   -.98440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37168e-11
Minuit parameter uncertainties:
  1  4.3029
  2  0.599605
  3  0.223713
  4  0.176809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724666': 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) = 6917.53383657
delta logL = 0.249567609681

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.353e-01  1.768e-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.220e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.40
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.55 +/- 0.60
Photon Flux (Free Index): 2.11e-08 +/- 2.18e-08
Energy Flux (Free Index): 3.01e-05 +/- 2.89e-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/724666/cmap_HighResolution_606096001_606355201_4FGL_J1443.9+2501_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='3.01e-05', photon_flux_error='2.27e-08', dlogl='2.50e-01', energy_flux='2.10e-05', photon_flux2='2.11e-08', job_status='DONE', time_completed='2021-09-10 06:36:07.066068', photon_index_error2='0.60', photon_index2='1.55', ts='9.91', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.89e-05', EG='1.21', time_epoch_completed='1631280967.07', return_code='0', job_id='724666', GAL2='0.84', EG2='1.22', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='2.18e-08', ts2='10.40', photon_index='1.97' WHERE bin_id='1415' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:36:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 724666: <4FGL_J1443.9+2501_daily_bin1415> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1415 220.993 25.0291 606096001 606355201 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 :                                   606.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             225.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

