/sdf/group/fermi/u/kocevski/software/conda/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)

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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/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 = 17492
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1448.0+3608_weekly_bin771
RA = 222.017, Dec = 36.1344
tmin = 705283201, tmax = 705888001
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='17489989', job_status='RUN', time_executed='2023-05-16 02:30:53.777393', time_epoch_executed='1684229453.78' WHERE source_name='4FGL J1448.0+3608' and cadence='weekly' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17489989

Creating custom pfile directory:
/lscratch/kocevski/17489989/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=705283201.0 && nMetStart<705888001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=705283201.0 && nMetStart<705888001.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17489989/ft1_4FGL_J1448.0+3608_weekly_bin771.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=705283201.0 && nMetStart<705888001.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17489989/ft1_4FGL_J1448.0+3608_weekly_bin771.fits outfile=/lscratch/kocevski/17489989/ft1_filteredMKT_4FGL_J1448.0+3608_weekly_bin771.fits ra=222.017 dec=36.1344 rad=12.0 tmin=705283201.0 tmax=705888001.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.69
user 3.34
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17489989/ft1_filteredMKT_4FGL_J1448.0+3608_weekly_bin771.fits evtable="EVENTS" outfile="/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1853

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17489989/ltcube_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.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 /lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits
.....................!
real 19.47
user 19.00
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits evtable="EVENTS" scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17489989/ltcube_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits outfile=/lscratch/kocevski/17489989/expmap_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.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 /lscratch/kocevski/17489989/ltcube_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits
.....................!
real 61.00
user 57.11
sys 3.42

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=/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits outfile=/lscratch/kocevski/17489989/cmap_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.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.35
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits outfile=/lscratch/kocevski/17489989/cmap_HighResolution_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.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.37
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits evtable="EVENTS" scfile=/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17489989/Model_4FGL_J1448.0+3608_weekly_bin771.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...
/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits.....................!
real 47.17
user 45.76
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits', '/lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits', expMap='/lscratch/kocevski/17489989/expmap_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits', expCube='/lscratch/kocevski/17489989/ltcube_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17489989/Model_4FGL_J1448.0+3608_weekly_bin771.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  0.000e+00  1.000e+06 ( 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 -5.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): /lscratch/kocevski/17489989/ft1_filtered_4FGL_J1448.0+3608_weekly_bin771.fits
Spacecraft file(s): /lscratch/kocevski/17489989/ft2_4FGL_J1448.0+3608_weekly_bin771.fits
Exposure map: /lscratch/kocevski/17489989/expmap_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits
Exposure cube: /lscratch/kocevski/17489989/ltcube_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17489989/Model_4FGL_J1448.0+3608_weekly_bin771.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 20381.3526923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 20380.3070761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10937E-02   1.0000          .0000       .10000E+07
     3 'norm      '    3.2526       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40403       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8163       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.564       1.0000          .0000       .10000E+07
     7 'norm      '    .15328E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .35644       1.0000          .0000       .10000E+07
     9 'norm      '    .76617       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.3348       1.0000          .0000       .10000E+07
    11 'norm      '    2.7763       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.866       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29516E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.3118       1.0000          .0000       .10000E+07
    15 'norm      '    .39211       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16270E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .26834E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.9807       1.0000          .0000       .10000E+07
    19 'Prefactor '    .48623E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .14982       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.9572       1.0000          .0000       .10000E+07
    22 'Prefactor '    10.122       1.0000          .0000       .10000E+07
    23 'norm      '    .25946E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1125       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86294       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   20380.31     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1700 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4878        1.8871        .14498E-07   -.63034E-01
   2  Prefactor     .30564E-06    14.535       -.37041E-06** at limit **
   3  norm          3.2526        1.7722       -.15374E-07   -.54435E-03
   4  Prefactor     .56686        3.1467        .14004E-07   -.25915E-01
   5  Prefactor     2.6720        4.7856       -.10457E-06    .20273E-01
   6  Prefactor     16.547        3.0843        .24977E-07    .75592E-04
   7  norm          .77716E-09    2.0550       -.18331E-07** at limit **
   8  norm          .35570        2.4085        .30544E-06    .35124E-02
   9  norm          .76542        2.1794        .94842E-07    .13954E-02
  10  Prefactor     8.2982        1.3545       -.15747E-07    .42552E-01
  11  norm          2.7746        2.4295       -.34895E-07   -.20583E-02
  12  Prefactor     17.891        1.4014        .65663E-08   -.20838E-01
  13  Prefactor     .23870E-08    3.2983       -.63270E-07** at limit **
  14  norm          1.3106        .71722       -.26226E-07   -.75407E-02
  15  norm          .39099        1.0724        .91164E-07    .30199E-02
  16  Prefactor     .23870E-07    4.7406       -.14241E-06** at limit **
  17  Prefactor     .33213E-05    17.668       -.34147E-07** at limit **
  18  Prefactor     6.0509        6.2308       -.88648E-07   -.10047E-01
  19  Prefactor     .21290E-04    6.0898       -.13108E-06** at limit **
  20  norm          .14731        .54077       -.85864E-07** at limit **
  21  Prefactor     2.0166        5.2399       -.23660E-07   -.95875E-03
  22  Prefactor     9.7052        1.7138       -.96696E-08   -.43511E-01
  23  norm          .27756E-09    2.6114       -.12197E-07** at limit **
  24  Normalizat    1.1122        .10874       -.12778E-05   -.31722E-03
  25  Prefactor     .86323        .10947        .99659E-06   -.17426E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.4878
  Prefactor  = 3.05644e-07
  norm       = 3.25261
  Prefactor  = 0.566859
  Prefactor  = 2.67204
  Prefactor  = 16.5475
  norm       = 7.77156e-10
  norm       = 0.355699
  norm       = 0.765418
  Prefactor  = 8.29824
  norm       = 2.77457
  Prefactor  = 17.8913
  Prefactor  = 2.38698e-09
  norm       = 1.31061
  norm       = 0.390986
  Prefactor  = 2.38698e-08
  Prefactor  = 3.32129e-06
  Prefactor  = 6.05086
  Prefactor  = 2.12901e-05
  norm       = 0.147311
  Prefactor  = 2.01656
  Prefactor  = 9.70521
  norm       = 2.77556e-10
  Normalizat = 1.11222
  Prefactor  = 0.863226
 **********
 **   18 **HESSE 
 **********

 FCN=   20380.31     FROM HESSE     STATUS=OK           497 CALLS     2197 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4878        6.9749        .34277E-03   -1.5650    
   2  Prefactor     .30564E-06    14.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2526        1.7877        .56132E-03   -1.5672    
   4  Prefactor     .56686        4.8776        .89021E-02   -1.5693    
   5  Prefactor     2.6720        10.155        .60583E-03   -1.5675    
   6  Prefactor     16.547        3.0856        .24582E-03   -1.5627    
   7  norm          .77716E-09    2.1023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .35570        2.3281        .94717E-03   -1.5696    
   9  norm          .76542        2.1779        .55491E-03   -1.5690    
  10  Prefactor     8.2982        13.157        .34701E-03   -1.5650    
  11  norm          2.7746        2.4335        .61049E-03   -1.5675    
  12  Prefactor     17.891        8.0380        .23668E-03   -1.5623    
  13  Prefactor     .23870E-08    3.3338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3106        .73087        .96209E-03   -1.5685    
  15  norm          .39099        1.0853        .90406E-03   -1.5720    
  16  Prefactor     .23870E-07    4.7308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33213E-05    21.744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0509        6.4839        .41035E-03   -1.5659    
  19  Prefactor     .21290E-04    3.2665        .63128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .14731        .52509        .23102E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.0166        7.2254        .74129E-03   -1.5680    
  22  Prefactor     9.7052        19.181        .31471E-03   -1.5646    
  23  norm          .27756E-09    2.6669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1122        .97154E-01    .37514E-01   -.89360    
  25  Prefactor     .86323        .95721E-01    .44531E-01   -.97438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39662e-06
Minuit parameter uncertainties:
  1  6.97487
  2  0.00426059
  3  1.78766
  4  3.3256
  5  10.1551
  6  3.08558
  7  7.94338e-05
  8  1.82002
  9  2.1779
  10  13.1569
  11  2.4335
  12  8.03805
  13  0.000178204
  14  0.730871
  15  1.08534
  16  0.00067212
  17  0.0169965
  18  6.48388
  19  0.0166787
  20  0.52509
  21  7.22541
  22  19.1814
  23  5.49715e-05
  24  0.0971697
  25  0.0957395
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.775e+00  2.433e+00  0.000e+00  1.000e+06 ( 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 -5.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:  8.632e-01  9.574e-02  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.112e+00  9.717e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.75
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 3.65e-09 +/- 3.20e-09
Energy Flux (Fixed Index): 6.95e-06 +/- 6.10e-06

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) = 20380.2356499
delta logL = 0.0707490358545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20380.2343341
delta logL = 0.0720647916787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8900       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9081       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1106       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86320       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=   20380.23     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      237 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8897        2.3977        .19186E-04   -.23939E-03
   2  alpha         1.9074        .78066        .29658E-01    .89528E-05
   3  Normalizat    1.1107        .10411        .22494E-03   -.40432E-06
   4  Prefactor     .86319        .10762        .25954E-03    .12265E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8897
  alpha      = 1.90738
  Normalizat = 1.11066
  Prefactor  = 0.863195
 **********
 **   18 **HESSE 
 **********

 FCN=   20380.23     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8897        2.3680        .76745E-06   -1.5674    
   2  alpha         1.9074        .77218        .11863E-02   -.23933    
   3  Normalizat    1.1107        .10418        .89977E-05   -.89410    
   4  Prefactor     .86319        .10771        .10381E-04   -.97439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21981e-13
Minuit parameter uncertainties:
  1  2.36796
  2  0.785815
  3  0.104195
  4  0.107738
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) = 20380.2343336
delta logL = 0.0720652664895

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.890e+00  2.368e+00  0.000e+00  1.000e+06 ( 1.000e-13)
294        alpha:  1.907e+00  7.858e-01  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00 -5.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:  8.632e-01  1.077e-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.111e+00  1.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.89
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.91 +/- 0.79
Photon Flux (Free Index): 5.91e-09 +/- 8.45e-09
Energy Flux (Free Index): 5.59e-06 +/- 5.18e-06

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 /lscratch/kocevski/17489989/cmap_HighResolution_705283201_705888001_4FGL_J1448.0+3608_weekly_bin771.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-09', energy_flux2='5.59e-06', photon_flux_error='3.20e-09', dlogl='7.21e-02', energy_flux='6.95e-06', photon_flux2='5.91e-09', job_status='DONE', time_completed='2023-05-16 02:38:42.342043', photon_index_error2='0.79', photon_index2='1.91', ts='6.75', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='5.18e-06', EG='1.11', time_epoch_completed='1684229922.34', return_code='0', job_id='17489989', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='6.10e-06', photon_flux_error2='8.45e-09', ts2='6.89', photon_index='1.60' WHERE bin_id='771' AND source_name='4FGL J1448.0+3608' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 16 02:38:42 PDT 2023

