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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin5
RA = 222.017, Dec = 36.1344
tmin = 240624001, tmax = 240883201
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='784303', job_status='RUN', time_executed='2021-09-10 09:40:39.471191', time_epoch_executed='1631292039.47' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='5'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784303

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784303/ft1_4FGL_J1448.0+3608_daily_bin5.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784303/ft1_4FGL_J1448.0+3608_daily_bin5.fits outfile=/scratch/kocevski/784303/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin5.fits ra=222.017 dec=36.1344 rad=12.0 tmin=240624001.0 tmax=240883201.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.37
user 1.18
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.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/784303/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin5.fits evtable="EVENTS" outfile="/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits" evtable="EVENTS" scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits sctable="SC_DATA" outfile=/scratch/kocevski/784303/ltcube_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.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/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits
.....................!
real 12.50
user 12.17
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits sctable="SC_DATA" expcube=/scratch/kocevski/784303/ltcube_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits outfile=/scratch/kocevski/784303/expmap_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.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/784303/ltcube_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits
.....................!
real 190.15
user 184.93
sys 4.90

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits outfile=/scratch/kocevski/784303/cmap_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.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=222.017 yref=36.1344 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits outfile=/scratch/kocevski/784303/cmap_HighResolution_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.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=222.017 yref=36.1344 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784303/Model_4FGL_J1448.0+3608_daily_bin5.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/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits.....................!
real 50.95
user 49.68
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits', '/scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits', expMap='/scratch/kocevski/784303/expmap_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits', expCube='/scratch/kocevski/784303/ltcube_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784303/Model_4FGL_J1448.0+3608_daily_bin5.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/784303/ft1_filtered_4FGL_J1448.0+3608_daily_bin5.fits
Spacecraft file(s): /scratch/kocevski/784303/ft2_4FGL_J1448.0+3608_daily_bin5.fits
Exposure map: /scratch/kocevski/784303/expmap_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits
Exposure cube: /scratch/kocevski/784303/ltcube_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784303/Model_4FGL_J1448.0+3608_daily_bin5.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) = 6444.5862843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5258       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.4411       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.6529       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    24.583       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4521       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.7094       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7329       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6171       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.563       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.830       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4600       1.0000         .10000E-03   10000.    
    24 'norm      '    5.9014       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .13419E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.2410       1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.490       1.0000         .10000E-03   10000.    
    28 'norm      '    .27857E-02   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .71284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6444.385     FROM MIGRAD    STATUS=CONVERGED    743 CALLS     3346 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5232        10.601        .18058E-07    .41441E-04
   2  Prefactor     .10000E-03    6.4978        .18257E-06** at limit **
   3  Prefactor     9.4414        17.455       -.11358E-06    .44020E-05
   4  norm          .10000E-03    .74116        .49097E-08** at limit **
   5  Prefactor     .10000E-03    6.6873        .46979E-07** at limit **
   6  Prefactor     .10000E-03    22.451       -.13721E-05** at limit **
   7  Prefactor     .10000E-03    .78815        .11073E-07** at limit **
   8  norm          6.6511        9.0800       -.90881E-07    .17907E-04
   9  Prefactor     .10000E-03    26.713       -.47209E-06** at limit **
  10  norm          .10000E-03    5.9546        .48815E-07** at limit **
  11  Prefactor     .10000E-03    10.030       -.34975E-06** at limit **
  12  norm          .10000E-03    4.1352        .29014E-07** at limit **
  13  Prefactor     .10000E-03    18.608       -.13874E-06** at limit **
  14  norm          24.581        11.244       -.89921E-07    .94292E-05
  15  Prefactor     1.4513        20.748        .24901E-05    .17386E-03
  16  Prefactor     .10000E-03    6.0185       -.63527E-07** at limit **
  17  norm          3.7092        1.7504       -.29513E-07    .12987E-03
  18  norm          1.7327        2.5669       -.30189E-07    .35967E-04
  19  Prefactor     6.6254        13.406       -.42400E-06    .15599E-04
  20  Prefactor     .10000E-03    15.857        .12202E-05** at limit **
  21  Prefactor     19.563        9.5113        .10833E-07    .37081E-04
  22  Prefactor     35.815        23.855        .96293E-06    .97615E-04
  23  Prefactor     7.4685        21.586       -.66863E-07    .19329E-05
  24  norm          5.9024        1.4813        .27095E-06    .96321E-03
  25  Prefactor     .10000E-03    6.7633       -.50004E-06** at limit **
  26  Prefactor     3.2587        47.783       -.58873E-06    .23005E-05
  27  Prefactor     16.517        15.696        .10759E-05    .30345E-03
  28  norm          .10012E-03    10.438       -.27600E-05** at limit **
  29  Normalizat    1.0629        .15741       -.37187E-06    .31614E-03
  30  Prefactor     .71282        .16096        .72341E-06    .17103E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.5232
  Prefactor  = 0.0001
  Prefactor  = 9.44141
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.6511
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.5815
  Prefactor  = 1.45133
  Prefactor  = 0.0001
  norm       = 3.70918
  norm       = 1.73266
  Prefactor  = 6.62538
  Prefactor  = 0.0001
  Prefactor  = 19.5626
  Prefactor  = 35.8153
  Prefactor  = 7.46849
  norm       = 5.90236
  Prefactor  = 0.000100002
  Prefactor  = 3.25867
  Prefactor  = 16.5171
  norm       = 0.000100117
  Normalizat = 1.06293
  Prefactor  = 0.712824
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.385     FROM HESSE     STATUS=OK           590 CALLS     3936 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5232        10.613        .78550E-03   -1.5197    
   2  Prefactor     .10000E-03    6.5030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.4414        17.470        .13043E-03   -1.5093    
   4  norm          .10000E-03    .74168        .67489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.7122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .79185        .69583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.6511        9.0732        .15557E-03   -1.5192    
   9  Prefactor     .10000E-03    26.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.1542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.3116        .31855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.581        11.250        .80793E-04   -1.4716    
  15  Prefactor     1.4513        22.196        .17873E-02   -1.5467    
  16  Prefactor     .10000E-03    6.0825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.7092        1.7492        .68875E-04   -1.5323    
  18  norm          1.7327        2.5203        .14343E-03   -1.5445    
  19  Prefactor     6.6254        12.907        .15600E-03   -1.5193    
  20  Prefactor     .10000E-03    15.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.563        9.5201        .90555E-04   -1.4823    
  22  Prefactor     35.815        23.767        .66951E-04   -1.4510    
  23  Prefactor     7.4685        20.813        .14684E-03   -1.5161    
  24  norm          5.9024        1.4543        .45458E-04   -1.5222    
  25  Prefactor     .10000E-03    23.973        .37124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.2587        46.559        .22499E-03   -1.5347    
  27  Prefactor     16.517        15.247        .98629E-04   -1.4895    
  28  norm          .10012E-03    39.040        .38237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0629        .18219        .22161E-03   -.90951    
  30  Prefactor     .71282        .18433        .27173E-03   -1.0303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44295e-09
Minuit parameter uncertainties:
  1  10.6159
  2  4.36799e-06
  3  17.4796
  4  3.8993e-08
  5  3.49225e-06
  6  3.49634e-05
  7  2.45475e-07
  8  9.07511
  9  2.21306e-05
  10  7.32311e-06
  11  9.95958e-06
  12  9.66748e-06
  13  1.60395e-05
  14  11.2513
  15  11.3561
  16  8.54554e-06
  17  1.74921
  18  2.52047
  19  12.9121
  20  3.69596e-05
  21  9.52088
  22  23.773
  23  20.8332
  24  1.45429
  25  0.000479451
  26  24.6578
  27  15.2507
  28  0.00426854
  29  0.1823
  30  0.18449
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.458e+01  1.125e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.128e-01  1.845e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.063e+00  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.24
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 3.24e-08 +/- 1.48e-08
Energy Flux (Fixed Index): 6.16e-05 +/- 2.82e-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) = 6444.38441216
delta logL = 0.000510535341164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6444.38440674
delta logL = 0.000515953225658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.581       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6444.384     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      193 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.552        48.248        .20199E-02   -.20701E-04
   2  alpha         1.6116        1.3184        .27446        .35806E-04
   3  Normalizat    1.0626        .16441        .39781E-01    .15159E-03
   4  Prefactor     .71282        .15844        .61432E-01   -.23550E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.5515
  alpha      = 1.61162
  Normalizat = 1.06264
  Prefactor  = 0.71282
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.384     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.552        11.218        .80794E-04   -1.4717    
   2  alpha         1.6116        .36616        .10655E-01   -.36329    
   3  Normalizat    1.0626        .17503        .11082E-02   -.90961    
   4  Prefactor     .71282        .17957        .27173E-03   -1.0303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4249e-11
Minuit parameter uncertainties:
  1  11.2193
  2  0.367678
  3  0.175123
  4  0.179719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784303': 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) = 6444.38440307
delta logL = 0.000519620502928

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.455e+01  1.122e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.612e+00  3.677e-01  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.128e-01  1.797e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.063e+00  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.21
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.61 +/- 0.37
Photon Flux (Free Index): 3.28e-08 +/- 1.97e-08
Energy Flux (Free Index): 6.06e-05 +/- 4.10e-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/784303/cmap_HighResolution_240624001_240883201_4FGL_J1448.0+3608_daily_bin5.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.24e-08', energy_flux2='6.06e-05', photon_flux_error='1.48e-08', dlogl='5.20e-04', energy_flux='6.16e-05', photon_flux2='3.28e-08', job_status='DONE', time_completed='2021-09-10 09:52:21.988822', photon_index_error2='0.37', photon_index2='1.61', ts='30.24', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='4.10e-05', EG='1.06', time_epoch_completed='1631292741.99', return_code='0', job_id='784303', GAL2='0.71', EG2='1.06', return_code2='0', energy_flux_error='2.82e-05', photon_flux_error2='1.97e-08', ts2='30.21', photon_index='1.60' WHERE bin_id='5' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:52:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 784303: <4FGL_J1448.0+3608_daily_bin5> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin5> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:32 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:36:33 2021
Terminated at Fri Sep 10 09:52:22 2021
Results reported at Fri Sep 10 09:52:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin5 222.017 36.1344 240624001 240883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   703.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

