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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1365
RA = 222.017, Dec = 36.1344
tmin = 593136001, tmax = 593395201
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='792411', job_status='RUN', time_executed='2021-09-10 10:05:23.361694', time_epoch_executed='1631293523.36' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792411

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792411/ft1_4FGL_J1448.0+3608_daily_bin1365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792411/ft1_4FGL_J1448.0+3608_daily_bin1365.fits outfile=/scratch/kocevski/792411/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1365.fits ra=222.017 dec=36.1344 rad=12.0 tmin=593136001.0 tmax=593395201.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.22
user 4.99
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.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/792411/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1365.fits evtable="EVENTS" outfile="/scratch/kocevski/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits" evtable="EVENTS" scfile=/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits sctable="SC_DATA" outfile=/scratch/kocevski/792411/ltcube_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.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/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits
.....................!
real 11.57
user 11.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits sctable="SC_DATA" expcube=/scratch/kocevski/792411/ltcube_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits outfile=/scratch/kocevski/792411/expmap_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.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/792411/ltcube_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits
.....................!
real 191.41
user 185.70
sys 5.32

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/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits scfile=/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits outfile=/scratch/kocevski/792411/cmap_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits scfile=/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits outfile=/scratch/kocevski/792411/cmap_HighResolution_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.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.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits', '/scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits', expMap='/scratch/kocevski/792411/expmap_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits', expCube='/scratch/kocevski/792411/ltcube_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/792411/Model_4FGL_J1448.0+3608_daily_bin1365.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/792411/ft1_filtered_4FGL_J1448.0+3608_daily_bin1365.fits
Spacecraft file(s): /scratch/kocevski/792411/ft2_4FGL_J1448.0+3608_daily_bin1365.fits
Exposure map: /scratch/kocevski/792411/expmap_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits
Exposure cube: /scratch/kocevski/792411/ltcube_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/792411/Model_4FGL_J1448.0+3608_daily_bin1365.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) = 6680.77759709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.638       1.0000         .10000E-03   10000.    
     4 'norm      '    5.0699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1458       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    62.794       1.0000         .10000E-03   10000.    
     8 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.200       1.0000         .10000E-03   10000.    
    10 'norm      '    15.175       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6557       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.547       1.0000         .10000E-03   10000.    
    14 'norm      '    25.418       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.422       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6067       1.0000         .10000E-03   10000.    
    17 'norm      '    .90233       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4508       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .29770E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.677       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3143       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .37748       1.0000         .10000E-03   10000.    
    24 'norm      '    2.4538       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .27711E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    56.812       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    10.890       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .99781       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .68375       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=   6680.774     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     3929 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4354       -.35110E-06** at limit **
   2  Prefactor     .10000E-03    21.421       -.90423E-06** at limit **
   3  Prefactor     13.639        18.140        .70456E-07   -.16642E-04
   4  norm          5.0695        4.2038        .54253E-08   -.69518E-04
   5  Prefactor     1.1441        16.277        .40177E-05    .51050E-04
   6  Prefactor     .10000E-03    4.7198       -.19290E-06** at limit **
   7  Prefactor     62.794        8.1833        .97172E-08   -.13433E-03
   8  norm          .10000E-03    5.2654       -.24677E-06** at limit **
   9  Prefactor     35.201        22.210        .52008E-07   -.12132E-04
  10  norm          15.175        6.7158       -.39671E-08   -.47489E-04
  11  Prefactor     .10000E-03    9.5235       -.28327E-06** at limit **
  12  norm          3.6557        3.4122        .24074E-07   -.31262E-04
  13  Prefactor     43.547        30.687        .15497E-06   -.13804E-04
  14  norm          25.418        12.513        .37513E-08   -.21982E-04
  15  Prefactor     18.423        14.454       -.18762E-07   -.59898E-04
  16  Prefactor     1.6064        3.6322        .53890E-06    .59905E-04
  17  norm          .90242        .78841       -.61784E-08    .43017E-04
  18  norm          1.4522        2.4207        .48357E-06    .38325E-03
  19  Prefactor     .10001E-03    7.2036        .60058E-06** at limit **
  20  Prefactor     62.678        55.414        .16401E-06   -.34179E-05
  21  Prefactor     6.3141        7.1575        .10588E-06   -.46986E-04
  22  Prefactor     .10000E-03    7.3780        .21404E-07** at limit **
  23  Prefactor     .40131        11.729       -.30472E-05    .63214E-03
  24  norm          2.4550        1.1350       -.31605E-06   -.22083E-02
  25  Prefactor     .10001E-03    5.2225        .91307E-06** at limit **
  26  Prefactor     56.828        32.722        .14328E-05    .30379E-03
  27  Prefactor     .10000E-03    10.111        .51043E-06** at limit **
  28  norm          10.892        13.074        .11813E-06   -.38210E-04
  29  Normalizat    .99775        .17167       -.60411E-06   -.13187E-03
  30  Prefactor     .68382        .16650       -.48149E-06   -.13191E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6387
  norm       = 5.06946
  Prefactor  = 1.14415
  Prefactor  = 0.0001
  Prefactor  = 62.7943
  norm       = 0.0001
  Prefactor  = 35.201
  norm       = 15.1755
  Prefactor  = 0.0001
  norm       = 3.65569
  Prefactor  = 43.5475
  norm       = 25.4175
  Prefactor  = 18.423
  Prefactor  = 1.60639
  norm       = 0.902418
  norm       = 1.45219
  Prefactor  = 0.00010001
  Prefactor  = 62.6779
  Prefactor  = 6.31408
  Prefactor  = 0.0001
  Prefactor  = 0.401314
  norm       = 2.45495
  Prefactor  = 0.00010001
  Prefactor  = 56.8278
  Prefactor  = 0.0001
  norm       = 10.8923
  Normalizat = 0.997746
  Prefactor  = 0.683815
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.774     FROM HESSE     STATUS=OK           600 CALLS     4529 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.5051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.639        18.199        .10846E-03   -1.4969    
   4  norm          5.0695        4.1932        .14571E-03   -1.5258    
   5  Prefactor     1.1441        17.045        .43325E-03   -1.5494    
   6  Prefactor     .10000E-03    4.7338        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     62.794        8.2196        .50639E-04   -1.4121    
   8  norm          .10000E-03    5.2964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.201        22.271        .67546E-04   -1.4521    
  10  norm          15.175        6.7206        .10282E-03   -1.4929    
  11  Prefactor     .10000E-03    9.5320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6557        3.4154        .14156E-03   -1.5326    
  13  Prefactor     43.547        30.759        .60752E-04   -1.4387    
  14  norm          25.418        12.514        .79457E-04   -1.4699    
  15  Prefactor     18.423        14.456        .93315E-04   -1.4849    
  16  Prefactor     1.6064        3.5993        .22681E-03   -1.5454    
  17  norm          .90242        .79593        .65298E-04   -1.5518    
  18  norm          1.4522        2.2687        .14658E-03   -1.5467    
  19  Prefactor     .10001E-03    16.938        .35892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     62.678        55.372        .50686E-04   -1.4123    
  21  Prefactor     6.3141        7.1589        .15974E-03   -1.5205    
  22  Prefactor     .10000E-03    7.3923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .40131        40.701        .40253E-02   -1.5581    
  24  norm          2.4550        1.0975        .54152E-04   -1.5395    
  25  Prefactor     .10001E-03    79.869        .32286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     56.828        33.711        .26611E-03   -1.4199    
  27  Prefactor     .10000E-03    10.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          10.892        13.074        .12141E-03   -1.5048    
  29  Normalizat    .99775        .20245        .24164E-03   -.93106    
  30  Prefactor     .68382        .19446        .29314E-03   -1.0416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81818e-09
Minuit parameter uncertainties:
  1  4.35744e-05
  2  0.000190919
  3  18.2064
  4  4.19339
  5  8.8349
  6  2.03238e-05
  7  8.21978
  8  2.74998e-05
  9  22.2762
  10  6.72089
  11  3.72899e-05
  12  3.4156
  13  30.7704
  14  12.5152
  15  14.4587
  16  3.59977
  17  0.795936
  18  2.2688
  19  0.000822063
  20  55.4175
  21  7.15984
  22  2.83014e-05
  23  8.08765
  24  1.09755
  25  0.00177702
  26  33.7227
  27  8.20204e-05
  28  13.0778
  29  0.20261
  30  0.194648
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.542e+01  1.252e+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:  6.838e-01  1.946e-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:  9.977e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.70
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 3.35e-08 +/- 1.65e-08
Energy Flux (Fixed Index): 6.37e-05 +/- 3.14e-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) = 6680.30475757
delta logL = 0.469511209499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.29412828
delta logL = 0.480140504321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.083       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9476       1.0000          .0000       5.0000    
     3 'Normalizat'    .98835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68714       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6680.294     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      278 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.083        12.111        .87233E-04   -.51583E-04
   2  alpha         1.9476        .36807        .86121E-02    .22794E-03
   3  Normalizat    .98835        .18530        .24245E-03   -.41593E-04
   4  Prefactor     .68715        .18974        .29224E-03    .13149E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.0828
  alpha      = 1.9476
  Normalizat = 0.988351
  Prefactor  = 0.687149
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.294     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.083        11.885        .17447E-04   -1.4789    
   2  alpha         1.9476        .36124        .17224E-02   -.22280    
   3  Normalizat    .98835        .18544        .96979E-05   -.93422    
   4  Prefactor     .68715        .18990        .11690E-04   -1.0403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32097e-11
Minuit parameter uncertainties:
  1  11.8866
  2  0.362575
  3  0.185562
  4  0.190081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792411': 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) = 6680.29412827
delta logL = 0.480140505046

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.108e+01  1.189e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.948e+00  3.626e-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:  6.871e-01  1.901e-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:  9.884e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.65
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.95 +/- 0.36
Photon Flux (Free Index): 4.61e-08 +/- 2.48e-08
Energy Flux (Free Index): 4.01e-05 +/- 2.56e-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/792411/cmap_HighResolution_593136001_593395201_4FGL_J1448.0+3608_daily_bin1365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.35e-08', energy_flux2='4.01e-05', photon_flux_error='1.65e-08', dlogl='4.80e-01', energy_flux='6.37e-05', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-09-10 10:19:03.065982', photon_index_error2='0.36', photon_index2='1.95', ts='13.70', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='2.56e-05', EG='1.00', time_epoch_completed='1631294343.07', return_code='0', job_id='792411', GAL2='0.69', EG2='0.99', return_code2='0', energy_flux_error='3.14e-05', photon_flux_error2='2.48e-08', ts2='14.65', photon_index='1.60' WHERE bin_id='1365' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:19:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 792411: <4FGL_J1448.0+3608_daily_bin1365> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1365> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:40 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:02:42 2021
Terminated at Fri Sep 10 10:19:03 2021
Results reported at Fri Sep 10 10:19:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1365 222.017 36.1344 593136001 593395201 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 :                                   816.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

