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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin92
RA = 222.017, Dec = 36.1344
tmin = 263174401, tmax = 263433601
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='784425', job_status='RUN', time_executed='2021-09-10 09:39:28.746586', time_epoch_executed='1631291968.75' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='92'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784425

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784425/ft1_4FGL_J1448.0+3608_daily_bin92.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784425/ft2_4FGL_J1448.0+3608_daily_bin92.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784425/ft1_4FGL_J1448.0+3608_daily_bin92.fits outfile=/scratch/kocevski/784425/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin92.fits ra=222.017 dec=36.1344 rad=12.0 tmin=263174401.0 tmax=263433601.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.35
user 1.19
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784425/ft1_filtered_4FGL_J1448.0+3608_daily_bin92.fits" evtable="EVENTS" scfile=/scratch/kocevski/784425/ft2_4FGL_J1448.0+3608_daily_bin92.fits sctable="SC_DATA" outfile=/scratch/kocevski/784425/ltcube_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.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/784425/ft2_4FGL_J1448.0+3608_daily_bin92.fits
.....................!
real 11.27
user 10.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784425/ft1_filtered_4FGL_J1448.0+3608_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/784425/ft2_4FGL_J1448.0+3608_daily_bin92.fits sctable="SC_DATA" expcube=/scratch/kocevski/784425/ltcube_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.fits outfile=/scratch/kocevski/784425/expmap_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.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/784425/ltcube_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.fits
.....................!
real 191.83
user 186.03
sys 5.41

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784425/ft1_filtered_4FGL_J1448.0+3608_daily_bin92.fits scfile=/scratch/kocevski/784425/ft2_4FGL_J1448.0+3608_daily_bin92.fits outfile=/scratch/kocevski/784425/cmap_HighResolution_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .29421E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.437       1.0000         .10000E-03   10000.    
    10 'norm      '    .39925E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.4950       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .17100       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.564       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .15269       1.0000         .10000E-03   10000.    
    18 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.705       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .33219E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    9.4171       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2222       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .70643       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=   5247.957     FROM MIGRAD    STATUS=CONVERGED   1386 CALLS     3976 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4098        .14853E-02** at limit **
   2  Prefactor     .10000E-03    5.5398        .16651E-02** at limit **
   3  Prefactor     .10000E-03    21.419        .18142E-02** at limit **
   4  norm          .10000E-03    2.5820        .11294E-02** at limit **
   5  Prefactor     .10000E-03    3.6609        .13533E-02** at limit **
   6  Prefactor     .10000E-03    4.8785        .15619E-02** at limit **
   7  Prefactor     .27173E-01    8.5319        .35318E-01    .71238E-03
   8  norm          .10000E-03    5.0423        .15884E-02** at limit **
   9  Prefactor     67.436        31.867        .48875E-04    .34286E-04
  10  norm          .10000E-03    18.353        .35248E-02** at limit **
  11  Prefactor     .10000E-03    17.693        .18142E-02** at limit **
  12  norm          2.4957        4.0404        .89410E-03    .15344E-02
  13  Prefactor     .10000E-03    45.657        .18142E-02** at limit **
  14  norm          .13272        11.731        .67539E-01    .53055E-03
  15  Prefactor     18.573        15.046        .92957E-04    .40726E-04
  16  Prefactor     .10000E-03    4.0713        .14230E-02** at limit **
  17  norm          .15452        2.7245        .15347E-02    .56772E-03
  18  norm          .10000E-03    2.7306        .23076E-03** at limit **
  19  Prefactor     12.686        9.0243        .11238E-03   -.10481E-03
  20  Prefactor     .10000E-03    106.32        .18142E-02** at limit **
  21  Prefactor     .10000E-03    4.4096        .14810E-02** at limit **
  22  Prefactor     .10000E-03    8.3581        .18142E-02** at limit **
  23  Prefactor     .10022E-03    90.982        .39054E-02** at limit **
  24  norm          9.4185        1.9508        .43718E-04    .30685E-03
  25  Prefactor     .10000E-03    21.587        .36285E-03** at limit **
  26  Prefactor     .10000E-03    17.497        .18142E-02** at limit **
  27  Prefactor     .10000E-03    12.482        .18142E-02** at limit **
  28  norm          .10000E-03    18.548        .18142E-02** at limit **
  29  Normalizat    1.2221        .22679        .21845E-03    .11532E-03
  30  Prefactor     .70641        .22280        .28664E-03    .22171E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0271728
  norm       = 0.0001
  Prefactor  = 67.4361
  norm       = 0.000100003
  Prefactor  = 0.0001
  norm       = 2.49567
  Prefactor  = 0.0001
  norm       = 0.132716
  Prefactor  = 18.5729
  Prefactor  = 0.0001
  norm       = 0.154518
  norm       = 0.0001
  Prefactor  = 12.6856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100221
  norm       = 9.41852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.22212
  Prefactor  = 0.706409
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.957     FROM HESSE     STATUS=OK           578 CALLS     4554 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4099        .29706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5398        .33302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5824        .22588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6610        .27065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.8786        .31239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27173E-01    5.3733        .46371E-01   -1.5675    
   8  norm          .10000E-03    5.0424        .31768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     67.436        31.857        .97751E-05   -1.4064    
  10  norm          .10000E-03    18.502        .70496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4957        4.0396        .35764E-04   -1.5392    
  13  Prefactor     .10000E-03    45.669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13272        10.728        .72175E-01   -1.5635    
  15  Prefactor     18.573        15.026        .37183E-05   -1.4846    
  16  Prefactor     .10000E-03    4.0717        .28461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15452        2.7126        .61387E-04   -1.5629    
  18  norm          .10000E-03    2.7306        .46153E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.686        8.9977        .44952E-05   -1.4995    
  20  Prefactor     .10000E-03    106.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4103        .29621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.3586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10022E-03    92.783        .15622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.4185        1.9501        .17487E-05   -1.5094    
  25  Prefactor     .10000E-03    21.588        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    17.497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    12.483        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    18.558        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2221        .22599        .43690E-04   -.85922    
  30  Prefactor     .70641        .22294        .11466E-04   -1.0328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20329e-09
Minuit parameter uncertainties:
  1  9.24288e-07
  2  6.8104e-07
  3  3.06602e-05
  4  3.38744e-06
  5  1.76037e-06
  6  1.1491e-05
  7  0.762878
  8  2.44352e-06
  9  31.8648
  10  0.000445777
  11  3.5976e-05
  12  4.04006
  13  0.000299634
  14  2.38597
  15  15.0294
  16  5.47289e-06
  17  1.29447
  18  1.63486e-05
  19  8.99864
  20  0.00022431
  21  7.1346e-07
  22  8.58337e-06
  23  0.00907372
  24  1.95006
  25  3.08672e-05
  26  5.8426e-05
  27  3.46686e-06
  28  3.18368e-06
  29  0.226171
  30  0.223222
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.327e-01  2.386e+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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.064e-01  2.232e-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.222e+00  2.262e-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: 3.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784425/likelihoodResults_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.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): 0
logL (Free Index) = 5247.09969035
delta logL = 0.857571285886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5247.09719536
delta logL = 0.860066278415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6796       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8386       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71365       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=   5247.097     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      272 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6804        5.4206        .10804E-03    .67821E-03
   2  alpha         2.8389        .90031        .95324E-02    .80425E-04
   3  Normalizat    1.1904        .21493        .22049E-03    .35253E-03
   4  Prefactor     .71368        .21916        .28472E-03    .28086E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.6804
  alpha      = 2.83886
  Normalizat = 1.19042
  Prefactor  = 0.713685
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.097     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6804        4.5488        .43215E-05   -1.5381    
   2  alpha         2.8389        .76027        .38130E-03    .13596    
   3  Normalizat    1.1904        .21497        .44098E-04   -.86899    
   4  Prefactor     .71368        .21921        .11389E-04   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42403e-10
Minuit parameter uncertainties:
  1  4.54943
  2  0.772742
  3  0.215125
  4  0.219473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784425': 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) = 5247.09719456
delta logL = 0.860067075853

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.680e+00  4.549e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.839e+00  7.727e-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.137e-01  2.195e-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.190e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.84 +/- 0.77
Photon Flux (Free Index): 3.64e-08 +/- 3.71e-08
Energy Flux (Free Index): 9.83e-06 +/- 9.54e-06

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/784425/cmap_HighResolution_263174401_263433601_4FGL_J1448.0+3608_daily_bin92.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-05', comment='SUCCESS', energy_flux2='9.83e-06', dlogl='8.60e-01', photon_flux2='3.64e-08', job_status='DONE', time_completed='2021-09-10 09:52:10.564686', photon_index_error2='0.77', photon_index2='2.84', ts='0.00', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='3.86e-08', energy_flux_error2='9.54e-06', EG='1.22', time_epoch_completed='1631292730.56', return_code='0', job_id='784425', GAL2='0.71', EG2='1.19', return_code2='0', photon_flux_error2='3.71e-08', ts2='1.73', photon_index='1.60' WHERE bin_id='92' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:52:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 784425: <4FGL_J1448.0+3608_daily_bin92> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin92> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:39 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:41 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:41 2021
Terminated at Fri Sep 10 09:52:11 2021
Results reported at Fri Sep 10 09:52:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin92 222.017 36.1344 263174401 263433601 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 :                                   762.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

