/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)
ile=/lscratch/kocevski/60726584/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits
.....................!
real 9.62
user 9.25
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60726584/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60726584/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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/60726584/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
.....................!
real 59.36
user 55.50
sys 3.58

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

Setting source of interest to:
4FGL J0742.6+5443 @ 115.672 54.727

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits scfile=/lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60726584/cmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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=115.672 yref=54.727 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.39
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits scfile=/lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60726584/cmap_HighResolution_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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=115.672 yref=54.727 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.18
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60726584/Model_4FGL_J0742.6+5443_weekly_bin855.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

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

number of points = 10427
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0742.6+5443_weekly_bin855
RA = 115.672, Dec = 54.727
tmin = 756086401, tmax = 756691201
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='60727550', job_status='RUN', time_executed='2024-12-24 03:22:06.520388', time_epoch_executed='1735039326.52' WHERE source_name='4FGL J0742.6+5443' and cadence='weekly' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60727550

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

Retrieving the FT1 file...

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

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

Retrieving 65 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60727550/ft1_4FGL_J0742.6+5443_weekly_bin855.fits


Retrieving the FT1 file...

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

Retrieving 65 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60727550/ft1_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60727550/ft1_filteredMKT_4FGL_J0742.6+5443_weekly_bin855.fits ra=115.672 dec=54.727 rad=12.0 tmin=756086401.0 tmax=756691201.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 2.62
user 2.33
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.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/60727550/ft1_filteredMKT_4FGL_J0742.6+5443_weekly_bin855.fits evtable="EVENTS" outfile="/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.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.39
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60727550/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits
.....................!
real 9.92
user 9.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60727550/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60727550/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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/60727550/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
.....................!
real 61.18
user 57.24
sys 3.50

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

Setting source of interest to:
4FGL J0742.6+5443 @ 115.672 54.727

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60727550/cmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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=115.672 yref=54.727 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.40
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits outfile=/lscratch/kocevski/60727550/cmap_HighResolution_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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=115.672 yref=54.727 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.39
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits evtable="EVENTS" scfile=/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60727550/Model_4FGL_J0742.6+5443_weekly_bin855.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_V02Working on...
/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits.....................!
real 37.51
user 36.80
sys 0.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits', '/lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits', expMap='/lscratch/kocevski/60726584/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits', expCube='/lscratch/kocevski/60726584/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60726584/Model_4FGL_J0742.6+5443_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0742.6+5443'

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  1.016e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60726584/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60726584/ft2_4FGL_J0742.6+5443_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60726584/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60726584/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60726584/Model_4FGL_J0742.6+5443_weekly_bin855.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) = 11279.9231542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.798       1.0000          .0000       .10000E+07
     2 'Prefactor '    29.657       1.0000          .0000       .10000E+07
     3 'norm      '    .27685E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78859E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18929E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .68584E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.6638       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25710E-04   1.0000          .0000       .10000E+07
     9 'norm      '    9.6716       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.188       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.597       1.0000          .0000       .10000E+07
    12 'norm      '    .48817       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.084       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1117       1.0000          .0000       .10000E+07
    15 'norm      '    4.5617       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0411       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.6459       1.0000          .0000       .10000E+07
    18 'norm      '    3.1487       1.0000          .0000       .10000E+07
    19 'Prefactor '    .71948E-04   1.0000          .0000       .10000E+07
    20 'norm      '    10.617       1.0000          .0000       .10000E+07
    21 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11768E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11295E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.2473       1.0000          .0000       .10000E+07
    25 'Prefactor '    .19100E-04   1.0000          .0000       .10000E+07
    26 'norm      '    3.0371       1.0000          .0000       .10000E+07
    27 'norm      '    6.2205       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.537       1.0000          .0000       .10000E+07
    29 'Normalizat'    .79015       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11279.90     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2801 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.163        3.1382        .10025E-07    .45000E-01
   2  Prefactor     30.203        29.782        .76975E-07   -.42342E-02
   3  norm           .0000        2.7874       -.31764E-07** at limit **
   4  norm          .58842E-08    2.1799       -.77566E-07** at limit **
   5  Prefactor     .13323E-08    3.4464        .51103E-07** at limit **
   6  Prefactor      .0000        1.1339       -.65480E-07** at limit **
   7  Prefactor     6.6662        1.9323       -.37199E-09   -.48520E-01
   8  Prefactor      .0000        5.8794        .29605E-07** at limit **
   9  norm          9.6826        3.5494        .29649E-08   -.44579E-01
  10  Prefactor     20.237        7.3233        .24773E-07   -.15429E-01
  11  Prefactor     20.600        2.6440        .30329E-08   -.90216E-02
  12  norm          .48881        .55341        .64507E-08    .11601E-02
  13  Prefactor     14.074        6.2805       -.23653E-07   -.21360E-01
  14  Prefactor     3.1566        8.5576       -.66134E-07    .59308E-02
  15  norm          4.5648        2.5750        .42612E-08    .73935E-03
  16  Prefactor     5.0326        5.9421        .96017E-08   -.24315E-01
  17  Prefactor     7.6487        1.3809       -.29998E-08   -.46832E-02
  18  norm          3.1500        1.8827       -.69830E-08   -.19937E-02
  19  Prefactor      .0000        25.660       -.36669E-06** at limit **
  20  norm          10.615        3.8981        .30108E-08   -.13419E-02
  21  norm           .0000        .60741        .33484E-07** at limit **
  22  Prefactor      .0000        .28669        .24470E-08** at limit **
  23  Prefactor     .10547E-08    3.4451        .43722E-07** at limit **
  24  Prefactor     4.2510        4.6209        .25176E-07   -.13895E-02
  25  Prefactor      .0000        1.4733        .75352E-08** at limit **
  26  norm          3.0426        4.4214        .10324E-06    .17253E-02
  27  norm          6.2226        4.4409        .17481E-07   -.91286E-04
  28  Prefactor     10.547        1.1926        .12313E-08   -.33001E-02
  29  Normalizat    .78988        .16427       -.15534E-05   -.24788E-04
  30  Prefactor     .97828        .10484        .75770E-06    .52182E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.1626
  Prefactor  = 30.203
  norm       = 0
  norm       = 5.88418e-09
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 6.66618
  Prefactor  = 0
  norm       = 9.68264
  Prefactor  = 20.2371
  Prefactor  = 20.5997
  norm       = 0.488813
  Prefactor  = 14.0741
  Prefactor  = 3.1566
  norm       = 4.5648
  Prefactor  = 5.03256
  Prefactor  = 7.64874
  norm       = 3.14996
  Prefactor  = 0
  norm       = 10.6146
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.05471e-09
  Prefactor  = 4.25099
  Prefactor  = 0
  norm       = 3.04264
  norm       = 6.22265
  Prefactor  = 10.5472
  Normalizat = 0.78988
  Prefactor  = 0.978283
 **********
 **   18 **HESSE 
 **********

 FCN=   11279.90     FROM HESSE     STATUS=OK           658 CALLS     3459 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.163        26.520        .16716E-03   -1.5588    
   2  Prefactor     30.203        30.770        .18366E-03   -1.5598    
   3  norm           .0000        2.7741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58842E-08    1.3127        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13323E-08    3.5394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.1332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6662        6.8933        .38848E-03   -1.5656    
   8  Prefactor      .0000        5.8942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.6826        6.8367        .32199E-03   -1.5646    
  10  Prefactor     20.237        13.565        .22264E-03   -1.5618    
  11  Prefactor     20.600        25.717        .22041E-03   -1.5617    
  12  norm          .48881        .57137        .79909E-03   -1.5694    
  13  Prefactor     14.074        12.617        .26664E-03   -1.5633    
  14  Prefactor     3.1566        15.202        .57457E-03   -1.5672    
  15  norm          4.5648        2.6899        .47108E-03   -1.5665    
  16  Prefactor     5.0326        7.1543        .44762E-03   -1.5663    
  17  Prefactor     7.6487        9.3272        .36243E-03   -1.5653    
  18  norm          3.1500        1.8979        .57100E-03   -1.5672    
  19  Prefactor      .0000        26.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.615        3.9085        .30724E-03   -1.5643    
  21  norm           .0000        .60556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        .28589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10547E-08    3.5043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.2510        4.6571        .48867E-03   -1.5667    
  25  Prefactor      .0000        1.4750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.0426        4.4349        .58198E-03   -1.5673    
  27  norm          6.2226        4.4468        .40226E-03   -1.5658    
  28  Prefactor     10.547        8.2990        .30841E-03   -1.5643    
  29  Normalizat    .78988        .14762        .70545E-01   -1.0045    
  30  Prefactor     .97828        .91893E-01    .45999E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25742e-07
Minuit parameter uncertainties:
  1  26.5197
  2  30.7705
  3  9.04889e-06
  4  0.000176022
  5  0.000137355
  6  8.97802e-06
  7  6.89332
  8  2.55599e-05
  9  6.83669
  10  13.5654
  11  25.717
  12  0.571371
  13  12.617
  14  13.8543
  15  2.68995
  16  7.15427
  17  9.32725
  18  1.89786
  19  2.06844e-05
  20  3.90853
  21  4.38287e-06
  22  1.31124e-07
  23  0.000120379
  24  4.65713
  25  4.33198e-06
  26  4.43493
  27  4.44676
  28  8.29897
  29  0.147693
  30  0.0919076
Done.

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

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  4.888e-01  5.714e-01  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  9.783e-01  9.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  7.899e-01  1.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 115.672 54.727
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 7.18e-06 +/- 8.39e-06

TS (Fixed Index): 1.05
Ra Dec: 115.672 54.727
Photon Flux Upper Limit: 6.73625132493e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54755065376e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60726584/likelihoodResults_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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) = 11278.8569883
delta logL = 1.04180054638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11278.856932
delta logL = 1.04185677555

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30686       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5226       1.0000          .0000       5.0000    
     3 'Normalizat'    .74281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99656       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11278.86     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      246 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30742        2.4017        .83057E-03    .27359E-01
   2  alpha         3.5212        4.1409        .46674        .85172E-04
   3  Normalizat    .74273        .33233E-01    .72489E-01    .46061E-04
   4  Prefactor     .99647        .22205E-01    .46224E-01    .26501E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.307424
  alpha      = 3.52121
  Normalizat = 0.742734
  Prefactor  = 0.996475
 **********
 **   18 **HESSE 
 **********

 FCN=   11278.86     FROM HESSE     STATUS=OK            35 CALLS      281 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30742        1.3486        .38185E-04   -1.5697    
   2  alpha         3.5212        4.0263        .19098E-01    .42079    
   3  Normalizat    .74273        .16247        .32082E-03   -1.0223    
   4  Prefactor     .99647        .10735        .18670E-03   -.92847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82574e-08
Minuit parameter uncertainties:
  1  1.28776
  2  3.12475
  3  0.162579
  4  0.107375
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) = 11278.8569279
delta logL = 1.04186084891

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  3.074e-01  1.288e+00  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  3.521e+00  3.125e+00  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  9.965e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  7.427e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 115.672 54.727
Photon Index (Free Index): 3.52 +/- 3.12
Photon Flux (Free Index): 5.71e-08 +/- 3.88e-08
Energy Flux (Free Index): 9.77e-06 +/- 9.40e-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/60726584/cmap_HighResolution_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='9.77e-06', photon_flux_error='2.22e-08', dlogl='1.04e+00', energy_flux='7.18e-06', photon_flux2='5.71e-08', job_status='DONE', time_completed='2024-12-24 03:27:15.843911', photon_index_error2='3.12', photon_index2='3.52', ts='1.05', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.74e-08', energy_flux_error2='9.40e-06', EG='0.79', time_epoch_completed='1735039635.84', return_code='0', job_id='60726584', GAL2='1.00', EG2='0.74', return_code2='0', energy_flux_error='8.39e-06', photon_flux_error2='3.88e-08', ts2='3.24', photon_index='2.22' WHERE bin_id='855' AND source_name='4FGL J0742.6+5443' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:27:15 PST 2024


Working on...
/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits.....................!
real 39.07
user 37.85
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits', '/lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits', expMap='/lscratch/kocevski/60727550/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits', expCube='/lscratch/kocevski/60727550/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60727550/Model_4FGL_J0742.6+5443_weekly_bin855.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0742.6+5443'

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  1.016e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60727550/ft1_filtered_4FGL_J0742.6+5443_weekly_bin855.fits
Spacecraft file(s): /lscratch/kocevski/60727550/ft2_4FGL_J0742.6+5443_weekly_bin855.fits
Exposure map: /lscratch/kocevski/60727550/expmap_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
Exposure cube: /lscratch/kocevski/60727550/ltcube_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60727550/Model_4FGL_J0742.6+5443_weekly_bin855.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) = 11279.9231542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.798       1.0000          .0000       .10000E+07
     2 'Prefactor '    29.657       1.0000          .0000       .10000E+07
     3 'norm      '    .27685E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .78859E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18929E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .68584E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.6638       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25710E-04   1.0000          .0000       .10000E+07
     9 'norm      '    9.6716       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.188       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.597       1.0000          .0000       .10000E+07
    12 'norm      '    .48817       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.084       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1117       1.0000          .0000       .10000E+07
    15 'norm      '    4.5617       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0411       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.6459       1.0000          .0000       .10000E+07
    18 'norm      '    3.1487       1.0000          .0000       .10000E+07
    19 'Prefactor '    .71948E-04   1.0000          .0000       .10000E+07
    20 'norm      '    10.617       1.0000          .0000       .10000E+07
    21 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11768E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11295E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.2473       1.0000          .0000       .10000E+07
    25 'Prefactor '    .19100E-04   1.0000          .0000       .10000E+07
    26 'norm      '    3.0371       1.0000          .0000       .10000E+07
    27 'norm      '    6.2205       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.537       1.0000          .0000       .10000E+07
    29 'Normalizat'    .79015       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11279.90     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2801 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.163        3.1382        .10025E-07    .45000E-01
   2  Prefactor     30.203        29.782        .76975E-07   -.42342E-02
   3  norm           .0000        2.7874       -.31764E-07** at limit **
   4  norm          .58842E-08    2.1799       -.77566E-07** at limit **
   5  Prefactor     .13323E-08    3.4464        .51103E-07** at limit **
   6  Prefactor      .0000        1.1339       -.65480E-07** at limit **
   7  Prefactor     6.6662        1.9323       -.37199E-09   -.48520E-01
   8  Prefactor      .0000        5.8794        .29605E-07** at limit **
   9  norm          9.6826        3.5494        .29649E-08   -.44579E-01
  10  Prefactor     20.237        7.3233        .24773E-07   -.15429E-01
  11  Prefactor     20.600        2.6440        .30329E-08   -.90216E-02
  12  norm          .48881        .55341        .64507E-08    .11601E-02
  13  Prefactor     14.074        6.2805       -.23653E-07   -.21360E-01
  14  Prefactor     3.1566        8.5576       -.66134E-07    .59308E-02
  15  norm          4.5648        2.5750        .42612E-08    .73935E-03
  16  Prefactor     5.0326        5.9421        .96017E-08   -.24315E-01
  17  Prefactor     7.6487        1.3809       -.29998E-08   -.46832E-02
  18  norm          3.1500        1.8827       -.69830E-08   -.19937E-02
  19  Prefactor      .0000        25.660       -.36669E-06** at limit **
  20  norm          10.615        3.8981        .30108E-08   -.13419E-02
  21  norm           .0000        .60741        .33484E-07** at limit **
  22  Prefactor      .0000        .28669        .24470E-08** at limit **
  23  Prefactor     .10547E-08    3.4451        .43722E-07** at limit **
  24  Prefactor     4.2510        4.6209        .25176E-07   -.13895E-02
  25  Prefactor      .0000        1.4733        .75352E-08** at limit **
  26  norm          3.0426        4.4214        .10324E-06    .17253E-02
  27  norm          6.2226        4.4409        .17481E-07   -.91286E-04
  28  Prefactor     10.547        1.1926        .12313E-08   -.33001E-02
  29  Normalizat    .78988        .16427       -.15534E-05   -.24788E-04
  30  Prefactor     .97828        .10484        .75770E-06    .52182E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.1626
  Prefactor  = 30.203
  norm       = 0
  norm       = 5.88418e-09
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 6.66618
  Prefactor  = 0
  norm       = 9.68264
  Prefactor  = 20.2371
  Prefactor  = 20.5997
  norm       = 0.488813
  Prefactor  = 14.0741
  Prefactor  = 3.1566
  norm       = 4.5648
  Prefactor  = 5.03256
  Prefactor  = 7.64874
  norm       = 3.14996
  Prefactor  = 0
  norm       = 10.6146
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.05471e-09
  Prefactor  = 4.25099
  Prefactor  = 0
  norm       = 3.04264
  norm       = 6.22265
  Prefactor  = 10.5472
  Normalizat = 0.78988
  Prefactor  = 0.978283
 **********
 **   18 **HESSE 
 **********

 FCN=   11279.90     FROM HESSE     STATUS=OK           658 CALLS     3459 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.163        26.520        .16716E-03   -1.5588    
   2  Prefactor     30.203        30.770        .18366E-03   -1.5598    
   3  norm           .0000        2.7741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .58842E-08    1.3127        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13323E-08    3.5394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.1332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6662        6.8933        .38848E-03   -1.5656    
   8  Prefactor      .0000        5.8942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.6826        6.8367        .32199E-03   -1.5646    
  10  Prefactor     20.237        13.565        .22264E-03   -1.5618    
  11  Prefactor     20.600        25.717        .22041E-03   -1.5617    
  12  norm          .48881        .57137        .79909E-03   -1.5694    
  13  Prefactor     14.074        12.617        .26664E-03   -1.5633    
  14  Prefactor     3.1566        15.202        .57457E-03   -1.5672    
  15  norm          4.5648        2.6899        .47108E-03   -1.5665    
  16  Prefactor     5.0326        7.1543        .44762E-03   -1.5663    
  17  Prefactor     7.6487        9.3272        .36243E-03   -1.5653    
  18  norm          3.1500        1.8979        .57100E-03   -1.5672    
  19  Prefactor      .0000        26.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.615        3.9085        .30724E-03   -1.5643    
  21  norm           .0000        .60556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        .28589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10547E-08    3.5043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.2510        4.6571        .48867E-03   -1.5667    
  25  Prefactor      .0000        1.4750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.0426        4.4349        .58198E-03   -1.5673    
  27  norm          6.2226        4.4468        .40226E-03   -1.5658    
  28  Prefactor     10.547        8.2990        .30841E-03   -1.5643    
  29  Normalizat    .78988        .14762        .70545E-01   -1.0045    
  30  Prefactor     .97828        .91893E-01    .45999E-01   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25742e-07
Minuit parameter uncertainties:
  1  26.5197
  2  30.7705
  3  9.04889e-06
  4  0.000176022
  5  0.000137355
  6  8.97802e-06
  7  6.89332
  8  2.55599e-05
  9  6.83669
  10  13.5654
  11  25.717
  12  0.571371
  13  12.617
  14  13.8543
  15  2.68995
  16  7.15427
  17  9.32725
  18  1.89786
  19  2.06844e-05
  20  3.90853
  21  4.38287e-06
  22  1.31124e-07
  23  0.000120379
  24  4.65713
  25  4.33198e-06
  26  4.43493
  27  4.44676
  28  8.29897
  29  0.147693
  30  0.0919076
Done.

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

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  4.888e-01  5.714e-01  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  9.783e-01  9.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  7.899e-01  1.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 115.672 54.727
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 7.18e-06 +/- 8.39e-06

TS (Fixed Index): 1.05
Ra Dec: 115.672 54.727
Photon Flux Upper Limit: 6.73625132493e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54755065376e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60727550/likelihoodResults_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.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) = 11278.8569883
delta logL = 1.04180054638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11278.856932
delta logL = 1.04185677555

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30686       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5226       1.0000          .0000       5.0000    
     3 'Normalizat'    .74281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99656       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11278.86     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      246 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30742        2.4017        .83057E-03    .27359E-01
   2  alpha         3.5212        4.1409        .46674        .85172E-04
   3  Normalizat    .74273        .33233E-01    .72489E-01    .46061E-04
   4  Prefactor     .99647        .22205E-01    .46224E-01    .26501E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.307424
  alpha      = 3.52121
  Normalizat = 0.742734
  Prefactor  = 0.996475
 **********
 **   18 **HESSE 
 **********

 FCN=   11278.86     FROM HESSE     STATUS=OK            35 CALLS      281 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30742        1.3486        .38185E-04   -1.5697    
   2  alpha         3.5212        4.0263        .19098E-01    .42079    
   3  Normalizat    .74273        .16247        .32082E-03   -1.0223    
   4  Prefactor     .99647        .10735        .18670E-03   -.92847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82574e-08
Minuit parameter uncertainties:
  1  1.28776
  2  3.12475
  3  0.162579
  4  0.107375
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) = 11278.8569279
delta logL = 1.04186084891

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  3.074e-01  1.288e+00  0.000e+00  1.000e+06 ( 1.000e-11)
286        alpha:  3.521e+00  3.125e+00  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  8.463e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  9.965e-01  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  7.427e-01  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.24
Ra Dec: 115.672 54.727
Photon Index (Free Index): 3.52 +/- 3.12
Photon Flux (Free Index): 5.71e-08 +/- 3.88e-08
Energy Flux (Free Index): 9.77e-06 +/- 9.40e-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/60727550/cmap_HighResolution_756086401_756691201_4FGL_J0742.6+5443_weekly_bin855.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='9.77e-06', photon_flux_error='2.22e-08', dlogl='1.04e+00', energy_flux='7.18e-06', photon_flux2='5.71e-08', job_status='DONE', time_completed='2024-12-24 03:30:16.525367', photon_index_error2='3.12', photon_index2='3.52', ts='1.05', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.74e-08', energy_flux_error2='9.40e-06', EG='0.79', time_epoch_completed='1735039816.53', return_code='0', job_id='60727550', GAL2='1.00', EG2='0.74', return_code2='0', energy_flux_error='8.39e-06', photon_flux_error2='3.88e-08', ts2='3.24', photon_index='2.22' WHERE bin_id='855' AND source_name='4FGL J0742.6+5443' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 24 03:30:16 PST 2024

