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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin881
RA = 222.017, Dec = 36.1344
tmin = 467683201, tmax = 467942401
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='788758', job_status='RUN', time_executed='2021-09-10 09:51:52.684556', time_epoch_executed='1631292712.68' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='881'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788758/ft1_4FGL_J1448.0+3608_daily_bin881.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788758/ft2_4FGL_J1448.0+3608_daily_bin881.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788758/ft1_4FGL_J1448.0+3608_daily_bin881.fits outfile=/scratch/kocevski/788758/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin881.fits ra=222.017 dec=36.1344 rad=12.0 tmin=467683201.0 tmax=467942401.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.42
user 3.21
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788758/ft1_filtered_4FGL_J1448.0+3608_daily_bin881.fits evtable="EVENTS" scfile=/scratch/kocevski/788758/ft2_4FGL_J1448.0+3608_daily_bin881.fits sctable="SC_DATA" expcube=/scratch/kocevski/788758/ltcube_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.fits outfile=/scratch/kocevski/788758/expmap_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.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/788758/ltcube_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.fits
.....................!
real 191.01
user 185.90
sys 4.74

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/788758/ft1_filtered_4FGL_J1448.0+3608_daily_bin881.fits scfile=/scratch/kocevski/788758/ft2_4FGL_J1448.0+3608_daily_bin881.fits outfile=/scratch/kocevski/788758/cmap_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788758/ft1_filtered_4FGL_J1448.0+3608_daily_bin881.fits scfile=/scratch/kocevski/788758/ft2_4FGL_J1448.0+3608_daily_bin881.fits outfile=/scratch/kocevski/788758/cmap_HighResolution_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.802       1.0000         .10000E-03   10000.    
     4 'norm      '    10.975       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .50199E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .32853       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3527       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.126       1.0000         .10000E-03   10000.    
    12 'norm      '    56.817       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.749       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8710       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.652       1.0000         .10000E-03   10000.    
    24 'norm      '    4.6341       1.0000         .10000E-03   10000.    
    25 'Prefactor '    21.439       1.0000         .10000E-03   10000.    
    26 'Prefactor '    61.343       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    7.4559       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0162       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .96052       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=   6604.031     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3941 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6264        .52387E-06** at limit **
   2  Prefactor     .10000E-03    5.4327        .80295E-06** at limit **
   3  Prefactor     14.803        18.597        .11714E-07   -.46500E-05
   4  norm          10.976        6.0449       -.35342E-06    .10657E-03
   5  Prefactor     7.5753        12.290       -.38492E-05    .17850E-03
   6  Prefactor     .10003E-03    12.574        .38903E-05** at limit **
   7  Prefactor     .10000E-03    3.1841        .27121E-06** at limit **
   8  norm          .31539        12.974        .46088E-06    .31438E-03
   9  Prefactor     .10000E-03    10.292       -.51624E-06** at limit **
  10  norm          2.3545        5.5337        .49855E-06   -.40803E-04
  11  Prefactor     37.099        40.219       -.62740E-05   -.32338E-04
  12  norm          56.817        10.857        .61702E-08    .13472E-05
  13  Prefactor     48.753        45.750        .81374E-06    .83826E-05
  14  norm          .10000E-03    3.5853       -.10516E-06** at limit **
  15  Prefactor     .10000E-03    5.8976       -.77027E-06** at limit **
  16  Prefactor     .10000E-03    6.6574       -.70854E-06** at limit **
  17  norm          3.8713        1.9521        .36425E-07    .18324E-03
  18  norm          .10000E-03    1.2278        .15615E-07** at limit **
  19  Prefactor     .10000E-03    3.1834       -.10957E-06** at limit **
  20  Prefactor     .10000E-03    46.049       -.14306E-05** at limit **
  21  Prefactor     .10000E-03    10.633       -.72707E-06** at limit **
  22  Prefactor     .10000E-03    7.7453        .52481E-06** at limit **
  23  Prefactor     24.652        14.348        .34412E-07   -.23496E-04
  24  norm          4.6347        2.0261        .34408E-07    .41800E-04
  25  Prefactor     21.438        15.534        .18942E-06    .91711E-05
  26  Prefactor     61.336        46.331       -.11595E-05   -.98883E-05
  27  Prefactor     .10000E-03    8.6989        .70458E-06** at limit **
  28  norm          7.4559        8.2689        .42079E-07   -.52737E-05
  29  Normalizat    1.0160        .19688       -.16479E-05    .99338E-04
  30  Prefactor     .96064        .19187        .73221E-06    .35942E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8028
  norm       = 10.9764
  Prefactor  = 7.57535
  Prefactor  = 0.000100034
  Prefactor  = 0.0001
  norm       = 0.31539
  Prefactor  = 0.0001
  norm       = 2.35448
  Prefactor  = 37.0991
  norm       = 56.8175
  Prefactor  = 48.7525
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.8713
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6517
  norm       = 4.63473
  Prefactor  = 21.4381
  Prefactor  = 61.3357
  Prefactor  = 0.0001
  norm       = 7.45594
  Normalizat = 1.01599
  Prefactor  = 0.960638
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.031     FROM HESSE     STATUS=OK           588 CALLS     4529 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.803        18.616        .10411E-03   -1.4938    
   4  norm          10.976        6.0716        .12093E-03   -1.5045    
   5  Prefactor     7.5753        13.459        .14524E-03   -1.5157    
   6  Prefactor     .10003E-03    69.568        .50159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2722        .28299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .31539        142.79        .52761E-02   -1.5596    
   9  Prefactor     .10000E-03    10.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3545        5.4919        .26723E-03   -1.5401    
  11  Prefactor     37.099        40.250        .65776E-04   -1.4489    
  12  norm          56.817        10.860        .53220E-04   -1.4199    
  13  Prefactor     48.753        45.860        .57433E-04   -1.4310    
  14  norm          .10000E-03    3.5911        .15027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.7269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8713        1.9516        .76488E-04   -1.5314    
  18  norm          .10000E-03    1.2356        .87869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1897        .14144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    46.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.7578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.652        14.358        .80678E-04   -1.4715    
  24  norm          4.6347        2.0425        .61761E-04   -1.5277    
  25  Prefactor     21.438        15.668        .86504E-04   -1.4782    
  26  Prefactor     61.336        46.354        .51231E-04   -1.4140    
  27  Prefactor     .10000E-03    8.7088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          7.4559        8.2688        .14688E-03   -1.5162    
  29  Normalizat    1.0160        .22588        .26966E-03   -.92497    
  30  Prefactor     .96064        .21967        .28163E-03   -.94053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24877e-09
Minuit parameter uncertainties:
  1  9.38866e-06
  2  8.33518e-06
  3  18.623
  4  6.07193
  5  13.4643
  6  0.00309366
  7  1.15094e-05
  8  13.452
  9  2.48132e-05
  10  5.49302
  11  40.279
  12  10.86
  13  45.8927
  14  1.9163e-06
  15  1.02099e-06
  16  1.81921e-05
  17  1.95166
  18  1.62162e-06
  19  4.13172e-06
  20  2.39395e-05
  21  3.70849e-06
  22  1.30024e-05
  23  14.3603
  24  2.04254
  25  15.6707
  26  46.3816
  27  8.7531e-06
  28  8.27007
  29  0.226095
  30  0.219869
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.916e-06  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:  9.606e-01  2.199e-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.016e+00  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 2.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/788758/likelihoodResults_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6604.03202384
delta logL = -0.00130869910845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6604.03071504
delta logL = 9.82199708233e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6142       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0160       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96065       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=   6604.024     FROM MIGRAD    STATUS=CONVERGED    179 CALLS      319 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75904E-01    4.0807        .21022E-01    .16321E-02
   2  alpha         3.4276        4.2084        .50000        .28609E-04
   3  Normalizat    1.0115        .13028E-01    .26966E-03   -.12353E-03
   4  Prefactor     .96257        .13336E-01    .28163E-03   -.15642E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0759036
  alpha      = 3.42759
  Normalizat = 1.01149
  Prefactor  = 0.962575
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.024     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      350 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75904E-01    261.84        .11320E-02   -1.5653    
   2  alpha         3.4276        2.6370        .52054E-01    .38013    
   3  Normalizat    1.0115        .10293        .10787E-04   -.92646    
   4  Prefactor     .96257        .10213        .11265E-04   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.22823e-08
Minuit parameter uncertainties:
  1  8.94964
  2  37.9632
  3  0.102951
  4  0.102155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788758': 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): 102
logL (Free Index) = 6604.02438962
delta logL = 0.00632551567105

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.590e-02  8.950e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  3.428e+00  3.796e+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:  9.626e-01  1.022e-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.011e+00  1.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

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/788758/cmap_HighResolution_467683201_467942401_4FGL_J1448.0+3608_daily_bin881.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-05', job_status='DONE', photon_flux_upper_limit='2.40e-08', time_completed='2021-09-10 10:06:43.594971', job_id='788758', GAL2='0.96', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1631293603.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.33e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='881' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:06:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 788758: <4FGL_J1448.0+3608_daily_bin881> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin881> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:34 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:35 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:51:35 2021
Terminated at Fri Sep 10 10:06:44 2021
Results reported at Fri Sep 10 10:06:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin881 222.017 36.1344 467683201 467942401 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 :                                   890.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

