aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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


Waiting 9 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1220.1+3432_daily_bin1750
RA = 185.046, Dec = 34.5383
tmin = 692928001, tmax = 693187201
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='10728', job_status='RUN', time_executed='2022-12-20 00:45:34.946230', time_epoch_executed='1671525934.95' WHERE source_name='4FGL J1220.1+3432' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10728/ft1_4FGL_J1220.1+3432_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10728/ft1_4FGL_J1220.1+3432_daily_bin1750.fits outfile=/scratch/kocevski/10728/ft1_filteredMKT_4FGL_J1220.1+3432_daily_bin1750.fits ra=185.046 dec=34.5383 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.49
user 3.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/10728/ft1_filteredMKT_4FGL_J1220.1+3432_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 727

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/10728/ltcube_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits
.....................!
real 11.33
user 10.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/10728/ltcube_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits outfile=/scratch/kocevski/10728/expmap_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/10728/ltcube_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits
.....................!
real 190.23
user 184.97
sys 4.95

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

Setting source of interest to:
4FGL J1220.1+3432 @ 185.046 34.5383

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits outfile=/scratch/kocevski/10728/cmap_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.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.046 yref=34.5383 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits outfile=/scratch/kocevski/10728/cmap_HighResolution_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.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.046 yref=34.5383 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10728/Model_4FGL_J1220.1+3432_daily_bin1750.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits.....................!
real 61.97
user 60.64
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits', '/scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits', expMap='/scratch/kocevski/10728/expmap_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits', expCube='/scratch/kocevski/10728/ltcube_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10728/Model_4FGL_J1220.1+3432_daily_bin1750.xml', optimizer='MINUIT')

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

4FGL J1220.1+3432
   Spectrum: PowerLaw
299    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.107e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.673e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10728/ft1_filtered_4FGL_J1220.1+3432_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/10728/ft2_4FGL_J1220.1+3432_daily_bin1750.fits
Exposure map: /scratch/kocevski/10728/expmap_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits
Exposure cube: /scratch/kocevski/10728/ltcube_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10728/Model_4FGL_J1220.1+3432_daily_bin1750.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) = 7524.15601612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30939E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.0929       1.0000          .0000       .10000E+07
     3 'Prefactor '    .99599E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .51847E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27819E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.6996       1.0000          .0000       .10000E+07
     7 'Prefactor '    .93075E-03   1.0000          .0000       .10000E+07
     8 'norm      '    2.6960       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.140       1.0000          .0000       .10000E+07
    10 'norm      '    11.632       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56689E-03   1.0000          .0000       .10000E+07
    12 'norm      '    31.450       1.0000          .0000       .10000E+07
    13 'norm      '    7.7211       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44110E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .98482E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5602       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18765E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.9693       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.0182       1.0000          .0000       .10000E+07
    20 'Prefactor '    .53453E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .46151E-05   1.0000          .0000       .10000E+07
    22 'norm      '    1.4873       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14864       1.0000          .0000       .10000E+07
    24 'Prefactor '    .33016E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .55294E-05   1.0000          .0000       .10000E+07
    26 'norm      '    25.803       1.0000          .0000       .10000E+07
    27 'norm      '    9.6935       1.0000          .0000       .10000E+07
    28 'Prefactor '    .74163E-07   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1833       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .56361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7524.021     FROM MIGRAD    STATUS=CONVERGED    215 CALLS     2251 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    2.1822        .36444E-07** at limit **
   2  Prefactor     6.8645        2.2343        .75126E-07    .21579E-01
   3  Prefactor     .79681E-06    9.5181        .23521E-06** at limit **
   4  norm          .56293E-01    10.536        .10482E-06** at limit **
   5  Prefactor      .0000        6.7084        .20030E-06** at limit **
   6  Prefactor     6.6799        5.5974        .61188E-07   -.85962E-03
   7  Prefactor     .26923E-07    55.657       -.29844E-05** at limit **
   8  norm          2.6960        1.1075       -.48646E-07    .78114E-02
   9  Prefactor     10.240        1.3907       -.28875E-07    .55282E-02
  10  norm          11.677        1.0583       -.20307E-08   -.50011E-02
  11  Prefactor     .10595E-05    8.8680       -.29845E-06** at limit **
  12  norm          31.441        2.9726       -.44428E-08    .51845E-03
  13  norm          7.7127        3.1111       -.33967E-07    .11738E-02
  14  Prefactor     .72164E-08    3.5523       -.37224E-07** at limit **
  15  Prefactor      .0000        2.1805       -.57720E-07** at limit **
  16  Prefactor     3.5720        2.8423        .37134E-07   -.10932E-02
  17  Prefactor      .0000        1.5624        .66141E-08** at limit **
  18  norm          3.9637        3.0419       -.65508E-08   -.11146E-03
  19  Prefactor     7.0269        1.2791        .10477E-07    .10425E-01
  20  Prefactor     .35527E-07    3.2202       -.50072E-07** at limit **
  21  Prefactor      .0000        1.4942       -.57063E-08** at limit **
  22  norm          1.5268        3.7900        .17437E-07    .26988E-04
  23  Prefactor     .23334E-05    59.609        .80951E-06** at limit **
  24  Prefactor     .70222E-07    20.642       -.13918E-05** at limit **
  25  norm          .12068E-06    1.4167       -.11196E-07** at limit **
  26  norm          25.830        4.9274       -.15560E-07   -.75323E-02
  27  norm          9.6852        3.0539        .96802E-08    .89367E-02
  28  Prefactor     .16653E-09    3.3342        .66595E-07** at limit **
  29  Normalizat    1.1832        .19768       -.48381E-06   -.43326E-04
  30  Prefactor     .56363        .21944        .10514E-05   -.34330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 6.86445
  Prefactor  = 7.96807e-07
  norm       = 0.0562931
  Prefactor  = 0
  Prefactor  = 6.67987
  Prefactor  = 2.69229e-08
  norm       = 2.69598
  Prefactor  = 10.2403
  norm       = 11.6771
  Prefactor  = 1.05949e-06
  norm       = 31.4409
  norm       = 7.71268
  Prefactor  = 7.21645e-09
  Prefactor  = 0
  Prefactor  = 3.57205
  Prefactor  = 0
  norm       = 3.96366
  Prefactor  = 7.02686
  Prefactor  = 3.55271e-08
  Prefactor  = 0
  norm       = 1.52679
  Prefactor  = 2.33336e-06
  Prefactor  = 7.02216e-08
  norm       = 1.20681e-07
  norm       = 25.8299
  norm       = 9.68515
  Prefactor  = 1.66533e-10
  Normalizat = 1.18321
  Prefactor  = 0.563633
 **********
 **   18 **HESSE 
 **********

 FCN=   7524.021     FROM HESSE     STATUS=OK           658 CALLS     2909 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    2.1823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.8645        28.909        .37642E-03   -1.5656    
   3  Prefactor     .79681E-06    14.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .56293E-01    1.0161        .47650E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.7472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6799        5.6231        .38743E-03   -1.5656    
   7  Prefactor     .26923E-07    55.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6960        1.1132        .62019E-03   -1.5675    
   9  Prefactor     10.240        17.734        .31443E-03   -1.5644    
  10  norm          11.677        9.9568        .29347E-03   -1.5640    
  11  Prefactor     .10595E-05    15.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          31.441        3.0001        .17834E-03   -1.5596    
  13  norm          7.7127        3.1316        .36064E-03   -1.5652    
  14  Prefactor     .72164E-08    3.7016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.1669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5720        3.0222        .53540E-03   -1.5670    
  17  Prefactor      .0000        1.5649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.9637        3.0520        .50603E-03   -1.5668    
  19  Prefactor     7.0269        11.678        .37844E-03   -1.5655    
  20  Prefactor     .35527E-07    4.2271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.5035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.5268        4.1649        .87903E-03   -1.5683    
  23  Prefactor     .23334E-05    19.751        .12772E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .70222E-07    21.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .12068E-06    4.2949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          25.830        8.0719        .19690E-03   -1.5606    
  27  norm          9.6852        11.855        .32162E-03   -1.5646    
  28  Prefactor     .16653E-09    3.3332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1832        .17154        .54932E-01   -.87123    
  30  Prefactor     .56363        .19206        .88501E-01   -1.0914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51361e-07
Minuit parameter uncertainties:
  1  4.31645e-05
  2  28.1741
  3  0.00670896
  4  0.478325
  5  1.24756e-05
  6  5.62314
  7  0.00244997
  8  1.11315
  9  17.7339
  10  9.95683
  11  0.00799982
  12  3.00005
  13  3.13162
  14  0.000326863
  15  6.88322e-06
  16  3.0222
  17  1.15462e-05
  18  3.05196
  19  11.6779
  20  0.000774957
  21  5.85647e-06
  22  4.16489
  23  0.0135773
  24  0.00243927
  25  0.00143985
  26  8.07194
  27  11.855
  28  4.71428e-05
  29  0.171624
  30  0.192285
Done.

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

Extracting fit parameters...

4FGL J1220.1+3432
   Spectrum: PowerLaw
299    Prefactor:  7.216e-09  3.269e-04  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.107e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.673e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  5.636e-01  1.923e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.183e+00  1.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 185.046 34.538
Photon Flux Upper Limit: 4.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10728/likelihoodResults_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.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): 102
logL (Free Index) = 7524.02150274
delta logL = -0.000463730119009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7524.02104284
delta logL = -3.82745474781e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49247E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .59331       1.0000          .0000       10.000    
     3 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7524.021     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      282 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    .20914E-01    .42118E-03** at limit **
   2  Index         2.5411        5.1984        .40963        .23868E-08
   3  Normalizat    1.1832        .41816E-03    .54932E-01    .10041E-03
   4  Prefactor     .56363        .48421E-03    .88501E-01    .12519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 2.54109
  Normalizat = 1.18321
  Prefactor  = 0.563634
 **********
 **   18 **HESSE 
 **********

 FCN=   7524.021     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      313 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    .67406E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5411        6.1982        .50000       -.51413    
   3  Normalizat    1.1832        .74854E-03    .24289E-03   -.87123    
   4  Prefactor     .56363        .86440E-03    .39222E-03   -1.0914    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.76924e-11
Minuit parameter uncertainties:
  1  1.86615e-05
  2  1256.12
  3  0.00074854
  4  0.000864404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10728': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7524.02103901
delta logL = 6.52107701171e-10

Extracting fit parameters...

4FGL J1220.1+3432
   Spectrum: PowerLaw
299    Prefactor:  1.277e-09  1.866e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.541e+00  1.256e+03  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.673e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  5.636e-01  8.644e-04  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.183e+00  7.485e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 185.046 34.538

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 /scratch/kocevski/10728/cmap_HighResolution_692928001_693187201_4FGL_J1220.1+3432_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2022-12-20 00:58:51.957197', job_id='10728', GAL2='0.56', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1671526731.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='6.52e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1750' AND source_name='4FGL J1220.1+3432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:58:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 10728: <4FGL_J1220.1+3432_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1220.1+3432_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 00:45:14 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:45:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:45:15 2022
Terminated at Tue Dec 20 00:58:52 2022
Results reported at Tue Dec 20 00:58:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1220.1+3432_daily_bin1750 185.046 34.5383 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1220.1+3432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   799.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            818 sec.

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

