 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
tfile=/lscratch/kocevski/27611621/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 7.58
user 7.07
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27611621/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611621/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611621/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 63.99
user 59.58
sys 3.53

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

Setting source of interest to:
4FGL J0242.6+1735 @ 40.6588 17.5984

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611621/cmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.61
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611621/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.60
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27611621/Model_4FGL_J0242.6+1735_daily_bin2170.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 GALtfile=/lscratch/kocevski/27611622/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 7.77
user 7.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27611622/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611622/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611622/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 64.14
user 59.67
sys 3.72

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

Setting source of interest to:
4FGL J0242.6+1735 @ 40.6588 17.5984

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611622/cmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.71
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611622/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.73
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27611622/Model_4FGL_J0242.6+1735_daily_bin2170.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/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).

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


Performing analysis on: 4FGL_J0242.6+1735_daily_bin2170
RA = 40.6588, Dec = 17.5984
tmin = 801792001, tmax = 802051201
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='27611663', job_status='RUN', time_executed='2026-06-02 02:32:21.911061', time_epoch_executed='1780392741.91' WHERE source_name='4FGL J0242.6+1735' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27611663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27611663/ft1_4FGL_J0242.6+1735_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27611663/ft1_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611663/ft1_filteredMKT_4FGL_J0242.6+1735_daily_bin2170.fits ra=40.6588 dec=17.5984 rad=12.0 tmin=801792001.0 tmax=802051201.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.50
user 1.95
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.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/27611663/ft1_filteredMKT_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.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.18
sys 0.14

Number of photons that the gtmktime cut: 961

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" ou/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).

_V02
Working on...
/lscratch/kocevski/27611482/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 53.34
user 51.49
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611482/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611482/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611482/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611482/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611482/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611482/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611482/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611482/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611482/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611482/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611401/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611401/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:33:49.454239', job_id='27611401', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780392829.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:33:49 PDT 2026

_V02
Working on...
/lscratch/kocevski/27611472/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 60.60
user 58.56
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611472/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611472/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611472/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611472/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611472/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611472/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611472/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611472/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611472/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611472/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .00 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
00       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
_V02
Working on...
/lscratch/kocevski/27611548/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 52.68
user 51.10
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611548/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611548/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611548/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611548/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611548/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611548/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611548/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611548/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611548/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611548/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .00number of points = 7412
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0242.6+1735_daily_bin2170
RA = 40.6588, Dec = 17.5984
tmin = 801792001, tmax = 802051201
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='27611679', job_status='RUN', time_executed='2026-06-02 02:33:27.174103', time_epoch_executed='1780392807.17' WHERE source_name='4FGL J0242.6+1735' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27611679

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27611679/ft1_4FGL_J0242.6+1735_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27611679/ft1_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611679/ft1_filteredMKT_4FGL_J0242.6+1735_daily_bin2170.fits ra=40.6588 dec=17.5984 rad=12.0 tmin=801792001.0 tmax=802051201.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.44
user 1.86
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.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/27611679/ft1_filteredMKT_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.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.66
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 961

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" ou00       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611482/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611482/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:34:53.742096', job_id='27611482', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780392893.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:34:53 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
_V02
Working on...
/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 51.82
user 50.37
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611621/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611621/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611621/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611621/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611621/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611621/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611621/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611621/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .00Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611472/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611472/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:35:37.975730', job_id='27611472', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780392937.98', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:35:38 PDT 2026

tfile=/lscratch/kocevski/27611663/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 8.74
user 7.77
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27611663/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611663/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611663/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 69.09
user 64.16
sys 4.03

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

Setting source of interest to:
4FGL J0242.6+1735 @ 40.6588 17.5984

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611663/cmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.72
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611663/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.68
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27611663/Model_4FGL_J0242.6+1735_daily_bin2170.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/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 53.31
user 51.43
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611622/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611622/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611622/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611622/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611622/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611622/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611622/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611622/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
00       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611548/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611548/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:35:56.715918', job_id='27611548', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780392956.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:35:56 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
tfile=/lscratch/kocevski/27611679/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 8.05
user 7.42
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27611679/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611679/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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/27611679/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
.....................!
real 65.22
user 60.65
sys 3.60

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

Setting source of interest to:
4FGL J0242.6+1735 @ 40.6588 17.5984

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611679/cmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.71
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits outfile=/lscratch/kocevski/27611679/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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=40.6588 yref=17.5984 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.70
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27611679/Model_4FGL_J0242.6+1735_daily_bin2170.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 GALDone.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611621/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611621/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:36:59.034016', job_id='27611621', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780393019.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:36:59 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611622/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611622/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:37:08.550579', job_id='27611622', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780393028.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:37:08 PDT 2026

_V02
Working on...
/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 57.42
user 55.27
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611663/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611663/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611663/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611663/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611663/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611663/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611663/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611663/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
_V02
Working on...
/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits.....................!
real 55.79
user 53.91
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits', '/lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits', expMap='/lscratch/kocevski/27611679/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', expCube='/lscratch/kocevski/27611679/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27611679/Model_4FGL_J0242.6+1735_daily_bin2170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0242.6+1735'

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  3.197e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27611679/ft1_filtered_4FGL_J0242.6+1735_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27611679/ft2_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27611679/expmap_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27611679/ltcube_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27611679/Model_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6424797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8188       1.0000          .0000       .10000E+07
     2 'norm      '    6.0725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18081E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39463E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .81587E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6787       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.390       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74038E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    78.400       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84831E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    12 'norm      '    2.2201       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    14 'norm      '    .20395E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32236E-02   1.0000          .0000       .10000E+07
    16 'norm      '    13.440       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12552E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14959E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1957       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.759       1.0000          .0000       .10000E+07
    21 'norm      '    .11109E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.7305       1.0000          .0000       .10000E+07
    23 'norm      '    .53748E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92395E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.8505       1.0000          .0000       .10000E+07
    26 'Prefactor '    .97047E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .26336E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.5010       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2696 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8251        2.5385        .46574E-07   -.99260E-04
   2  norm          6.0724        4.3285       -.23736E-07   -.33110E-03
   3  Prefactor      .0000        2.1694       -.29127E-07** at limit **
   4  Prefactor      .0000        .75911        .87737E-07** at limit **
   5  norm          .49538E-06    14.350        .36153E-06** at limit **
   6  Prefactor     3.6746        1.1224        .13115E-07    .14839E-02
   7  Prefactor     10.377        1.4766       -.11820E-07   -.39175E-03
   8  Prefactor     .28311E-08    38.329        .23238E-06** at limit **
   9  Prefactor     78.945        64.535        .32797E-06   -.46906E-02
  10  Prefactor      .0000        5.1591        .20059E-07** at limit **
  11  Prefactor     20.630        1.0719        .14940E-08    .91391E-02
  12  norm          2.2210        1.8340        .39443E-07    .13927E-03
  13  Prefactor     11.227        8.4992        .15372E-08   -.10931E-01
  14  norm           .0000        .29959        .22059E-07** at limit **
  15  Prefactor     .38303E-08    12.898       -.22921E-06** at limit **
  16  norm          13.442        1.6913        .10204E-08    .41906E-01
  17  Prefactor     .11102E-09    9.7451       -.83131E-07** at limit **
  18  Prefactor     .85149E-06    8.4469        .40322E-06** at limit **
  19  Prefactor     2.1820        2.2632       -.70969E-08   -.13771E-01
  20  Prefactor     17.753        1.0997        .29560E-08   -.78978E-02
  21  norm          .11019E-06    15.814        .19187E-06** at limit **
  22  norm          2.7329        3.3696       -.50792E-07   -.21732E-03
  23  norm           .0000        3.5277        .90062E-07** at limit **
  24  Prefactor      .0000        1.8198       -.90754E-07** at limit **
  25  Prefactor     8.8520        7.3542       -.97400E-08   -.35866E-03
  26  Prefactor     .55511E-10    6.1809       -.12227E-06** at limit **
  27  norm           .0000        1.6504        .13980E-07** at limit **
  28  Normalizat    1.5010        .23605       -.99430E-05    .10418E-04
  29  Prefactor     .83592        .87543E-01    .28522E-05    .64967E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82511
  norm       = 6.07244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.95382e-07
  Prefactor  = 3.6746
  Prefactor  = 10.3767
  Prefactor  = 2.83107e-09
  Prefactor  = 78.9446
  Prefactor  = 0
  Prefactor  = 20.6299
  norm       = 2.22098
  Prefactor  = 11.2272
  norm       = 0
  Prefactor  = 3.83027e-09
  norm       = 13.4421
  Prefactor  = 1.11022e-10
  Prefactor  = 8.51486e-07
  Prefactor  = 2.18196
  Prefactor  = 17.7529
  norm       = 1.1019e-07
  norm       = 2.73286
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.85203
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.50095
  Prefactor  = 0.83592
Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611663/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611663/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:39:49.946762', job_id='27611663', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780393189.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:39:50 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   10629.63     FROM HESSE     STATUS=OK           615 CALLS     3311 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8251        2.5585        .77405E-03   -1.5681    
   2  norm          6.0724        4.3361        .40720E-03   -1.5659    
   3  Prefactor      .0000        2.1676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .75818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49538E-06    20.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6746        22.584        .52635E-03   -1.5670    
   7  Prefactor     10.377        20.796        .31060E-03   -1.5644    
   8  Prefactor     .28311E-08    38.289        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     78.945        64.644        .11295E-03   -1.5530    
  10  Prefactor      .0000        5.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.630        14.474        .22025E-03   -1.5617    
  12  norm          2.2210        1.8458        .68988E-03   -1.5678    
  13  Prefactor     11.227        8.9358        .29877E-03   -1.5641    
  14  norm           .0000        .18774        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38303E-08    12.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.442        11.104        .27296E-03   -1.5635    
  17  Prefactor     .11102E-09    9.7435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .85149E-06    19.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1820        12.160        .69418E-03   -1.5678    
  20  Prefactor     17.753        15.124        .23739E-03   -1.5624    
  21  norm          .11019E-06    17.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7329        3.3804        .61596E-03   -1.5675    
  23  norm           .0000        3.5239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.8204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8520        7.3891        .33668E-03   -1.5648    
  26  Prefactor     .55511E-10    6.1815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5010        .21272        .80611E-01   -.77751    
  29  Prefactor     .83592        .76104E-01    .44183E-01   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06641e-07
Minuit parameter uncertainties:
  1  2.55849
  2  4.33607
  3  1.28786e-06
  4  1.07067e-07
  5  0.00643074
  6  18.2196
  7  20.7964
  8  0.000655402
  9  64.6441
  10  3.53666e-06
  11  14.474
  12  1.84585
  13  8.9358
  14  2.00981e-08
  15  0.000445574
  16  11.1036
  17  6.42562e-05
  18  0.00822804
  19  10.3018
  20  15.1236
  21  0.00277381
  22  3.38037
  23  1.33646e-05
  24  5.0721e-07
  25  7.38909
  26  3.02264e-05
  27  7.96474e-07
  28  0.212851
  29  0.0761139
Done.

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

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  1.110e-10  6.426e-05  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  7.611e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 40.659 17.598
Photon Flux Upper Limit: 8.18545266312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00635630123026 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27611679/likelihoodResults_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.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) = 10629.6845338
delta logL = -0.0500829641915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10629.6344513
delta logL = -4.80920789414e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47379E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94019       1.0000          .0000       10.000    
     3 'Normalizat'    1.5011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10629.63     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      191 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5038        .26477E-06** at limit **
   2  Index         2.5983        3.6590       -.10367E-04     .0000    
   3  Normalizat    1.5010        .22893        .31838E-05    .56448E-06
   4  Prefactor     .83592        .86302E-01   -.14584E-05   -.88586E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59831
  Normalizat = 1.50095
  Prefactor  = 0.83592
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10629.63     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .54E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76308        2.0797       -.10367E-04   -.50104    
   3  Normalizat    1.5010        1.0495        .31838E-05   -.77751    
   4  Prefactor     .83592        1.1835       -.14584E-05   -.98418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.35299e-15
Minuit parameter uncertainties:
  1  1.53163e-06
  2  1.99603
  3  1.06538
  4  1.22285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10629.6344508
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0242.6+1735
   Spectrum: PowerLaw
255    Prefactor:  0.000e+00  1.532e-06  0.000e+00  1.000e+06 ( 1.000e-13)
256        Index:  2.598e+00  1.996e+00  0.000e+00  1.000e+01 (-1.000e+00)
257        Scale:  1.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.359e-01  1.223e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.501e+00  1.065e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 40.659 17.598

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/27611679/cmap_HighResolution_801792001_802051201_4FGL_J0242.6+1735_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2026-06-02 02:40:43.512011', job_id='27611679', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1780393243.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='2170' AND source_name='4FGL J0242.6+1735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 02:40:43 PDT 2026

