/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 6 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin108
RA = 220.993, Dec = 25.0291
tmin = 267321601, tmax = 267580801
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='718692', job_status='RUN', time_executed='2021-09-10 06:01:55.275524', time_epoch_executed='1631278915.28' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='108'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718692

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718692/ft1_4FGL_J1443.9+2501_daily_bin108.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718692/ft1_4FGL_J1443.9+2501_daily_bin108.fits outfile=/scratch/kocevski/718692/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin108.fits ra=220.993 dec=25.0291 rad=12.0 tmin=267321601.0 tmax=267580801.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 1.41
user 1.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718692/ft1_filtered_4FGL_J1443.9+2501_daily_bin108.fits" evtable="EVENTS" scfile=/scratch/kocevski/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits sctable="SC_DATA" outfile=/scratch/kocevski/718692/ltcube_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.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/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits
.....................!
real 12.41
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718692/ft1_filtered_4FGL_J1443.9+2501_daily_bin108.fits evtable="EVENTS" scfile=/scratch/kocevski/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits sctable="SC_DATA" expcube=/scratch/kocevski/718692/ltcube_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.fits outfile=/scratch/kocevski/718692/expmap_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.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/718692/ltcube_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.fits
.....................!
real 191.30
user 185.39
sys 5.50

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/718692/ft1_filtered_4FGL_J1443.9+2501_daily_bin108.fits scfile=/scratch/kocevski/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits outfile=/scratch/kocevski/718692/cmap_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718692/ft1_filtered_4FGL_J1443.9+2501_daily_bin108.fits scfile=/scratch/kocevski/718692/ft2_4FGL_J1443.9+2501_daily_bin108.fits outfile=/scratch/kocevski/718692/cmap_HighResolution_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.126       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1408       1.0000         .10000E-03   10000.    
     6 'norm      '    7.2036       1.0000         .10000E-03   10000.    
     7 'Prefactor '    52.919       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9431       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7409       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.922       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.763       1.0000         .10000E-03   10000.    
    18 'norm      '    9.2420       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.007       1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.099       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2867       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77567       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=   6027.526     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2355 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0310        3.0194       -.65808E-07   -.31343E-04
   2  Prefactor     .10000E-03    10.529       -.13728E-06** at limit **
   3  norm          16.127        4.7932       -.19351E-06   -.32349E-04
   4  Prefactor     .10000E-03    5.4188        .19823E-06** at limit **
   5  norm          3.1400        3.2628       -.11266E-06   -.43718E-03
   6  norm          7.2038        4.9321        .47412E-06   -.97418E-04
   7  Prefactor     52.928        42.725        .80586E-05   -.85913E-05
   8  Prefactor     .10000E-03    64.445        .12238E-05** at limit **
   9  norm          10.066        11.663        .14086E-06   -.14144E-04
  10  Prefactor     .10000E-03    7.5653        .62613E-08** at limit **
  11  Prefactor     11.894        19.527       -.10711E-05   -.34619E-04
  12  Prefactor     5.9284        21.195       -.44351E-05   -.35477E-04
  13  Prefactor     .10000E-03    30.596       -.44056E-07** at limit **
  14  Prefactor     6.7410        6.3931       -.28025E-07    .51888E-04
  15  norm          .10000E-03    18.629       -.13212E-06** at limit **
  16  Prefactor     32.921        45.056       -.15643E-05   -.46675E-05
  17  Prefactor     20.763        12.402       -.13678E-08   -.35620E-04
  18  norm          9.2421        2.4947       -.54496E-08   -.83320E-04
  19  Prefactor     17.007        15.538       -.39066E-06   -.27469E-04
  20  Prefactor     40.104        41.944        .42835E-05   -.32027E-06
  21  Normalizat    1.2865        .21963       -.16912E-05    .55673E-04
  22  Prefactor     .77581        .16526        .98604E-06   -.10167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.03098
  Prefactor  = 0.0001
  norm       = 16.1268
  Prefactor  = 0.0001
  norm       = 3.14
  norm       = 7.20381
  Prefactor  = 52.9283
  Prefactor  = 0.000100001
  norm       = 10.0655
  Prefactor  = 0.0001
  Prefactor  = 11.8943
  Prefactor  = 5.92843
  Prefactor  = 0.0001
  Prefactor  = 6.74096
  norm       = 0.0001
  Prefactor  = 32.9209
  Prefactor  = 20.7635
  norm       = 9.24212
  Prefactor  = 17.0069
  Prefactor  = 40.1036
  Normalizat = 1.2865
  Prefactor  = 0.775806
 **********
 **   18 **HESSE 
 **********

 FCN=   6027.526     FROM HESSE     STATUS=OK           350 CALLS     2705 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0310        3.0272        .13021E-03   -1.5360    
   2  Prefactor     .10000E-03    10.819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.127        4.7954        .88841E-04   -1.4905    
   4  Prefactor     .10000E-03    5.4922        .17639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1400        3.2620        .13639E-03   -1.5354    
   6  norm          7.2038        4.9230        .13762E-03   -1.5171    
   7  Prefactor     52.928        42.570        .55135E-04   -1.4252    
   8  Prefactor     .10000E-03    65.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.066        11.652        .12630E-03   -1.5073    
  10  Prefactor     .10000E-03    7.5799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.894        19.636        .11616E-03   -1.5018    
  12  Prefactor     5.9284        21.285        .16472E-03   -1.5221    
  13  Prefactor     .10000E-03    30.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7410        6.3957        .15454E-03   -1.5189    
  15  norm          .10000E-03    18.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.921        45.105        .69837E-04   -1.4560    
  17  Prefactor     20.763        12.408        .87902E-04   -1.4796    
  18  norm          9.2421        2.5095        .54917E-04   -1.5100    
  19  Prefactor     17.007        15.626        .97119E-04   -1.4883    
  20  Prefactor     40.104        41.929        .63299E-04   -1.4441    
  21  Normalizat    1.2865        .26089        .26474E-03   -.83970    
  22  Prefactor     .77581        .19541        .25772E-03   -1.0063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43801e-10
Minuit parameter uncertainties:
  1  3.02733
  2  1.8099e-05
  3  4.79549
  4  1.41242e-05
  5  3.2622
  6  4.92328
  7  42.5946
  8  0.000441096
  9  11.6544
  10  1.69049e-05
  11  19.6461
  12  21.3123
  13  6.93929e-05
  14  6.39637
  15  7.92143e-07
  16  45.1518
  17  12.4098
  18  2.5095
  19  15.6295
  20  41.9598
  21  0.261161
  22  0.195586
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  7.204e+00  4.923e+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:  7.758e-01  1.956e-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.286e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.27
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 2.77e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.66e-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) = 6027.21108608
delta logL = 0.314443821781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6027.20694526
delta logL = 0.318584642025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2588       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4909       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78853       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=   6027.207     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      235 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2569        73.437        .40114E-02    .12766E-03
   2  alpha         2.4926        3.6620        .34534        .45223E-04
   3  Normalizat    1.2553        .10205        .60441E-01    .96182E-05
   4  Prefactor     .78850        .62221E-01    .43568E-01    .17624E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.25688
  alpha      = 2.49262
  Normalizat = 1.25525
  Prefactor  = 0.788502
 **********
 **   18 **HESSE 
 **********

 FCN=   6027.207     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2569        4.8746        .10941E-03   -1.5208    
   2  alpha         2.4926        .68441        .12288E-01   -.29520E-02
   3  Normalizat    1.2553        .24908        .26732E-03   -.84912    
   4  Prefactor     .78850        .19212        .25568E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52866e-09
Minuit parameter uncertainties:
  1  4.87496
  2  0.693262
  3  0.249322
  4  0.192286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718692': 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) = 6027.20694059
delta logL = 0.318589318065

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  6.257e+00  4.875e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.493e+00  6.933e-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:  7.885e-01  1.923e-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.255e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.89
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.49 +/- 0.69
Photon Flux (Free Index): 6.76e-08 +/- 5.00e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/718692/cmap_HighResolution_267321601_267580801_4FGL_J1443.9+2501_daily_bin108.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='2.05e-05', photon_flux_error='2.77e-08', dlogl='3.19e-01', energy_flux='2.42e-05', photon_flux2='6.76e-08', job_status='DONE', time_completed='2021-09-10 06:10:44.339400', photon_index_error2='0.69', photon_index2='2.49', ts='5.27', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.29', time_epoch_completed='1631279444.34', return_code='0', job_id='718692', GAL2='0.79', EG2='1.26', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='5.00e-08', ts2='5.89', photon_index='1.97' WHERE bin_id='108' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:10:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 718692: <4FGL_J1443.9+2501_daily_bin108> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin108> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 06:01:38 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:01:40 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:01:40 2021
Terminated at Fri Sep 10 06:10:45 2021
Results reported at Fri Sep 10 06:10:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin108 220.993 25.0291 267321601 267580801 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 :                                   528.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             354.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            547 sec.

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

