/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1220.1+7105_daily_bin2114
RA = 185.044, Dec = 71.092
tmin = 787276801, tmax = 787536001
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='17372198', job_status='RUN', time_executed='2025-12-16 00:59:05.972762', time_epoch_executed='1765875545.97' WHERE source_name='4FGL J1220.1+7105' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17372198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17372198/ft1_4FGL_J1220.1+7105_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17372198/ft1_4FGL_J1220.1+7105_daily_bin2114.fits outfile=/lscratch/kocevski/17372198/ft1_filteredMKT_4FGL_J1220.1+7105_daily_bin2114.fits ra=185.044 dec=71.092 rad=12.0 tmin=787276801.0 tmax=787536001.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.41
user 1.72
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.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/17372198/ft1_filteredMKT_4FGL_J1220.1+7105_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.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.97
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 754

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17372198/ltcube_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.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/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits
.....................!
real 8.48
user 7.53
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17372198/ltcube_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits outfile=/lscratch/kocevski/17372198/expmap_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.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/17372198/ltcube_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits
.....................!
real 66.53
user 61.91
sys 3.56

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

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits outfile=/lscratch/kocevski/17372198/cmap_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.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=185.044 yref=71.092 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.83
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits outfile=/lscratch/kocevski/17372198/cmap_HighResolution_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.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=185.044 yref=71.092 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.98
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17372198/Model_4FGL_J1220.1+7105_daily_bin2114.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/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits.....................!
real 34.87
user 33.19
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits', '/lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits', expMap='/lscratch/kocevski/17372198/expmap_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits', expCube='/lscratch/kocevski/17372198/ltcube_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17372198/Model_4FGL_J1220.1+7105_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17372198/ft1_filtered_4FGL_J1220.1+7105_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17372198/ft2_4FGL_J1220.1+7105_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17372198/expmap_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17372198/ltcube_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17372198/Model_4FGL_J1220.1+7105_daily_bin2114.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) = 8086.19263337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32273       1.0000          .0000       .10000E+07
     2 'Prefactor '    79.076       1.0000          .0000       .10000E+07
     3 'norm      '    11.803       1.0000          .0000       .10000E+07
     4 'Prefactor '    .22834E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25857E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .81824       1.0000          .0000       .10000E+07
     7 'norm      '    10.341       1.0000          .0000       .10000E+07
     8 'Prefactor '    .88933E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    34.618       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2746       1.0000          .0000       .10000E+07
    11 'norm      '    .56910E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .90072E-02   1.0000          .0000       .10000E+07
    13 'norm      '    5.4855       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17426E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .24531E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .81454       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.817       1.0000          .0000       .10000E+07
    18 'norm      '    6.5406       1.0000          .0000       .10000E+07
    19 'norm      '    1.3839       1.0000          .0000       .10000E+07
    20 'Prefactor '    .48569E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    21.188       1.0000          .0000       .10000E+07
    22 'Prefactor '    .41634E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .21351E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .23814E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.5427       1.0000          .0000       .10000E+07
    26 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    27 'Prefactor '    .19619E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .39031E-02   1.0000          .0000       .10000E+07
    29 'Normalizat'    .85687       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .98917       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8086.179     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2998 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44817E-05    32.114        .11909E-05** at limit **
   2  Prefactor     80.929        26.704       -.25216E-06    .19046    
   3  norm          11.801        4.8908        .10577E-07   -.27666E-05
   4  Prefactor     .86957E-05    33.014        .48736E-06** at limit **
   5  Prefactor      .0000        1.8742        .17753E-07** at limit **
   6  norm          .81744        .59232        .73859E-08    .26787E-02
   7  norm          10.342        2.9339        .41950E-09    .93608E-03
   8  Prefactor     .22204E-09    5.3825        .96186E-07** at limit **
   9  Prefactor     34.672        2.0276       -.29288E-08   -.16409E-02
  10  Prefactor     4.2762        2.9740       -.13687E-08    .16460E-03
  11  norm           .0000        2.7378       -.37825E-07** at limit **
  12  Prefactor      .0000        9.9122       -.32854E-07** at limit **
  13  norm          5.4908        4.2168       -.30513E-07   -.90320E-03
  14  Prefactor     .55511E-10    3.2533        .49829E-07** at limit **
  15  Prefactor     .33302E-05    9.2219       -.38309E-06** at limit **
  16  Prefactor     2.0997        362.52       -.47867E-06   -.26107E-02
  17  Prefactor     11.868        4.0491       -.20277E-07   -.26936E-01
  18  norm          6.5366        4.4873        .70796E-08    .86029E-03
  19  norm          1.3839        1.7265       -.33982E-07   -.27355E-02
  20  Prefactor     .66064E-05    11.423        .33498E-06** at limit **
  21  Prefactor     21.201        2.0090       -.24553E-07    .29780E-02
  22  Prefactor     .82974E-05    18.193        .44996E-06** at limit **
  23  Prefactor     .55511E-10    50.388       -.53644E-07** at limit **
  24  Prefactor      .0000        .83051        .14143E-07** at limit **
  25  Prefactor     8.5420        14.285       -.15033E-06   -.26560E-01
  26  Prefactor     17.258        1.9159       -.23267E-07    .13789E-01
  27  Prefactor     .57732E-07    14.887       -.16059E-06** at limit **
  28  Prefactor     .18724E-06    7.1933       -.95254E-07** at limit **
  29  Normalizat    .85660        .16669        .62820E-06    .82171E-04
  30  Prefactor     .98832        .16752        .57675E-06    .91940E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48175e-06
  Prefactor  = 80.9295
  norm       = 11.8015
  Prefactor  = 8.69571e-06
  Prefactor  = 0
  norm       = 0.817436
  norm       = 10.3417
  Prefactor  = 2.22045e-10
  Prefactor  = 34.6722
  Prefactor  = 4.27619
  norm       = 0
  Prefactor  = 0
  norm       = 5.49075
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33022e-06
  Prefactor  = 2.09965
  Prefactor  = 11.8684
  norm       = 6.53658
  norm       = 1.38385
  Prefactor  = 6.60638e-06
  Prefactor  = 21.201
  Prefactor  = 8.29736e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 8.54202
  Prefactor  = 17.2585
  Prefactor  = 5.77316e-08
  Prefactor  = 1.87239e-07
  Normalizat = 0.856603
  Prefactor  = 0.988322
 **********
 **   18 **HESSE 
 **********

 FCN=   8086.179     FROM HESSE     STATUS=OK           648 CALLS     3646 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44817E-05    16.312        .99047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     80.929        45.321        .11246E-03   -1.5528    
   3  norm          11.801        4.9046        .29133E-03   -1.5639    
   4  Prefactor     .86957E-05    38.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.8659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .81744        .60058        .51585E-03   -1.5690    
   7  norm          10.342        2.9548        .31134E-03   -1.5644    
   8  Prefactor     .22204E-09    5.3877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.672        23.336        .16998E-03   -1.5590    
  10  Prefactor     4.2762        2.9735        .48706E-03   -1.5667    
  11  norm           .0000        2.7368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.8540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4908        4.2201        .42877E-03   -1.5661    
  14  Prefactor     .55511E-10    3.2496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .33302E-05    18.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0997        347.97        .51857E-03   -1.5679    
  17  Prefactor     11.868        17.207        .29116E-03   -1.5639    
  18  norm          6.5366        4.4884        .39217E-03   -1.5657    
  19  norm          1.3839        1.7408        .92441E-03   -1.5684    
  20  Prefactor     .66064E-05    20.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.201        27.555        .21731E-03   -1.5616    
  22  Prefactor     .82974E-05    25.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    49.458        .16949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        .82935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.5420        14.991        .34273E-03   -1.5650    
  26  Prefactor     17.258        20.818        .24135E-03   -1.5625    
  27  Prefactor     .57732E-07    15.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .18724E-06    18.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .85660        .14996        .44348E-01   -.98002    
  30  Prefactor     .98832        .14600        .46132E-01   -.93120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96113e-06
Minuit parameter uncertainties:
  1  0.0171007
  2  45.3213
  3  4.90462
  4  0.0367958
  5  4.12059e-06
  6  0.600583
  7  2.95485
  8  6.58062e-05
  9  23.3366
  10  2.97355
  11  8.01778e-06
  12  1.95701e-06
  13  4.22015
  14  2.07402e-05
  15  0.0156423
  16  54.0634
  17  17.2073
  18  4.48843
  19  1.74076
  20  0.0232591
  21  27.5549
  22  0.0289771
  23  7.72242e-05
  24  2.35813e-06
  25  14.9914
  26  20.8177
  27  0.00186478
  28  0.00376353
  29  0.150038
  30  0.146056
Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.537e+00  4.488e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  9.883e-01  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  8.566e-01  1.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.81
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 9.02e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8085.90089125
delta logL = 0.278338488756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8085.89774469
delta logL = 0.281485040399

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8085.898     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      285 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8437        4.3475        .12369E-04   -.13061E-02
   2  alpha         2.6629        .63293        .13711E-01   -.28869E-04
   3  Normalizat    .83334        .16547        .25583E-03   -.76416E-03
   4  Prefactor     1.0010        .16584        .23939E-03   -.83995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.84366
  alpha      = 2.66289
  Normalizat = 0.833336
  Prefactor  = 1.00099
 **********
 **   18 **HESSE 
 **********

 FCN=   8085.898     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8437        4.1807        .49477E-06   -1.5660    
   2  alpha         2.6629        .60852        .54844E-03    .65204E-01
   3  Normalizat    .83334        .16550        .51167E-04   -.98844    
   4  Prefactor     1.0010        .16589        .47878E-04   -.92696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82827e-10
Minuit parameter uncertainties:
  1  4.18073
  2  0.614725
  3  0.165597
  4  0.165971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8085.89774297
delta logL = 0.28148676997

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  5.844e+00  4.181e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.663e+00  6.147e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  1.001e+00  1.660e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  8.333e-01  1.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.38
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.66 +/- 0.61
Photon Flux (Free Index): 5.10e-08 +/- 3.69e-08
Energy Flux (Free Index): 1.34e-05 +/- 8.00e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17372198/cmap_HighResolution_787276801_787536001_4FGL_J1220.1+7105_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='1.34e-05', photon_flux_error='2.23e-08', dlogl='2.81e-01', energy_flux='1.31e-05', photon_flux2='5.10e-08', job_status='DONE', time_completed='2025-12-16 01:07:49.675979', photon_index_error2='0.61', photon_index2='2.66', ts='4.81', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='8.00e-06', EG='0.86', time_epoch_completed='1765876069.68', return_code='0', job_id='17372198', GAL2='1.00', EG2='0.83', return_code2='0', energy_flux_error='9.02e-06', photon_flux_error2='3.69e-08', ts2='5.38', photon_index='2.19' WHERE bin_id='2114' AND source_name='4FGL J1220.1+7105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:07:50 PST 2025

