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 41 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 74146
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1754.7+3444_monthly_bin168
RA = 268.679, Dec = 34.7417
tmin = 672451201, tmax = 675043201
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='643324', job_status='RUN', time_executed='2022-05-24 03:42:50.440720', time_epoch_executed='1653388970.44' WHERE source_name='4FGL J1754.7+3444' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643324

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643324/ft1_4FGL_J1754.7+3444_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643324/ft1_4FGL_J1754.7+3444_monthly_bin168.fits outfile=/scratch/kocevski/643324/ft1_filteredMKT_4FGL_J1754.7+3444_monthly_bin168.fits ra=268.679 dec=34.7417 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.49
user 27.69
sys 0.73

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.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/643324/ft1_filteredMKT_4FGL_J1754.7+3444_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.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.86
user 0.66
sys 0.18

Number of photons that the gtmktime cut: 11443

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/643324/ltcube_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.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/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits
.....................!
real 125.47
user 124.67
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/643324/ltcube_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits outfile=/scratch/kocevski/643324/expmap_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.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/643324/ltcube_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits
.....................!
real 192.28
user 186.49
sys 5.35

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

Setting source of interest to:
4FGL J1754.7+3444 @ 268.679 34.7417

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits outfile=/scratch/kocevski/643324/cmap_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.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=268.679 yref=34.7417 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.80
user 0.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits outfile=/scratch/kocevski/643324/cmap_HighResolution_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.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=268.679 yref=34.7417 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.81
user 0.64
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643324/Model_4FGL_J1754.7+3444_monthly_bin168.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/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits.....................!
real 831.44
user 828.44
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits', '/scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits', expMap='/scratch/kocevski/643324/expmap_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits', expCube='/scratch/kocevski/643324/ltcube_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643324/Model_4FGL_J1754.7+3444_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1754.7+3444'

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  9.326e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  2.477e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643324/ft1_filtered_4FGL_J1754.7+3444_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/643324/ft2_4FGL_J1754.7+3444_monthly_bin168.fits
Exposure map: /scratch/kocevski/643324/expmap_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits
Exposure cube: /scratch/kocevski/643324/ltcube_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643324/Model_4FGL_J1754.7+3444_monthly_bin168.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) = 121314.894862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1463       1.0000         .10000E-03   10000.    
     2 'norm      '    4.6848       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .53667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.145       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8936       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12782E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1136       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.307       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9363       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4059       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3959       1.0000         .10000E-03   10000.    
    17 'norm      '    4.2454       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2803       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5686       1.0000         .10000E-03   10000.    
    20 'norm      '    6.8755       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9267       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .99976       1.0000         .10000E-03   10000.    
    24 'norm      '    .80067E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    19.746       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .99033       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   121314.7     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     2908 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1466        1.6642        .83186E-07    .16866E-03
   2  norm          4.6848        .69526        .34442E-07    .10213E-02
   3  Prefactor     .10000E-03    3.0152        .79632E-08** at limit **
   4  norm          .53739        .84773        .62012E-06   -.73162E-03
   5  Prefactor     18.144        12.065        .13876E-07    .19895E-03
   6  Prefactor     31.442        18.628       -.71080E-06    .84858E-04
   7  Prefactor     6.8939        2.9455        .15933E-06    .55588E-03
   8  Prefactor     .10000E-03    23.216       -.21895E-06** at limit **
   9  Prefactor     6.1135        2.0486        .11478E-06    .84272E-03
  10  Prefactor     .10000E-03    2.6541        .74386E-07** at limit **
  11  Prefactor     19.303        12.645       -.79521E-07    .73549E-04
  12  Prefactor     2.9361        1.7448        .17734E-05   -.69046E-03
  13  norm          1.4058        .40891        .26221E-07    .12977E-02
  14  norm          .10000E-03    4.5858       -.28800E-07** at limit **
  15  norm          .10000E-03    .22812       -.55538E-07** at limit **
  16  Prefactor     2.3959        1.0554        .21179E-07    .18841E-03
  17  norm          4.2454        1.7217        .17541E-06   -.18378E-03
  18  Prefactor     2.2803        .95152       -.13393E-07   -.12140E-03
  19  Prefactor     4.5687        3.9386        .13559E-05   -.16403E-03
  20  norm          6.8755        4.1598       -.90990E-08   -.10556E-05
  21  Prefactor     6.9269        2.1005        .55012E-07    .19059E-03
  22  norm          .10000E-03    1.3100       -.17844E-08** at limit **
  23  norm          .99972        .68259       -.15694E-06   -.74742E-02
  24  norm          .80069E-01    .15963       -.63862E-07   -.29793E-02
  25  Prefactor     19.748        14.598        .70724E-07   -.15648E-05
  26  Normalizat    1.0576        .53813E-01   -.59091E-06    .42927E-03
  27  Prefactor     .99033        .26181E-01    .13619E-06    .30241E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.14663
  norm       = 4.68482
  Prefactor  = 0.0001
  norm       = 0.537389
  Prefactor  = 18.1442
  Prefactor  = 31.4423
  Prefactor  = 6.89385
  Prefactor  = 0.0001
  Prefactor  = 6.11351
  Prefactor  = 0.0001
  Prefactor  = 19.3029
  Prefactor  = 2.93615
  norm       = 1.40584
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.3959
  norm       = 4.24543
  Prefactor  = 2.28034
  Prefactor  = 4.56866
  norm       = 6.87552
  Prefactor  = 6.92688
  norm       = 0.0001
  norm       = 0.999724
  norm       = 0.0800689
  Prefactor  = 19.7484
  Normalizat = 1.05758
  Prefactor  = 0.990328
 **********
 **   18 **HESSE 
 **********

 FCN=   121314.7     FROM HESSE     STATUS=OK           504 CALLS     3412 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1466        1.6563        .22853E-03   -1.5353    
   2  norm          4.6848        .69641        .10739E-03   -1.5275    
   3  Prefactor     .10000E-03    3.0298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .53739        .81928        .37560E-03   -1.5561    
   5  Prefactor     18.144        11.927        .94024E-04   -1.4856    
   6  Prefactor     31.442        18.616        .71481E-04   -1.4586    
   7  Prefactor     6.8939        2.9442        .15281E-03   -1.5183    
   8  Prefactor     .10000E-03    24.315        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1135        2.0387        .16237E-03   -1.5213    
  10  Prefactor     .10000E-03    2.6655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.303        12.628        .91152E-04   -1.4829    
  12  Prefactor     2.9361        1.7413        .11852E-02   -1.5365    
  13  norm          1.4058        .40920        .11648E-03   -1.5471    
  14  norm          .10000E-03    4.6291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.0112        .31852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3959        1.0554        .26456E-04   -1.5398    
  17  norm          4.2454        1.7203        .97778E-03   -1.5296    
  18  Prefactor     2.2803        .94568        .20944E-03   -1.5406    
  19  Prefactor     4.5687        3.9204        .94165E-03   -1.5280    
  20  norm          6.8755        4.1609        .15301E-03   -1.5183    
  21  Prefactor     6.9269        2.0829        .15244E-03   -1.5182    
  22  norm          .10000E-03    1.3106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .99972        .58281        .20223E-02   -1.5508    
  24  norm          .80069E-01    .38876        .16125E-02   -1.5651    
  25  Prefactor     19.748        14.426        .90133E-04   -1.4819    
  26  Normalizat    1.0576        .63139E-01    .33873E-03   -.91126    
  27  Prefactor     .99033        .31453E-01    .17442E-03   -.93053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.19898e-07
Minuit parameter uncertainties:
  1  1.65634
  2  0.696409
  3  2.44798e-06
  4  0.819298
  5  11.9286
  6  18.6192
  7  2.94428
  8  6.57592e-05
  9  2.03871
  10  8.05606e-06
  11  12.6293
  12  1.74138
  13  0.409202
  14  6.12639e-06
  15  3.6623e-06
  16  1.05542
  17  1.72035
  18  0.945683
  19  3.92062
  20  4.16108
  21  2.0829
  22  2.26034e-08
  23  0.582811
  24  0.352645
  25  14.4281
  26  0.063143
  27  0.0314531
Done.

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

Extracting fit parameters...

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  1.000e-04  6.126e-06  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  2.477e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.903e-01  3.145e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.058e+00  6.314e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.679 34.742
Photon Flux Upper Limit: 7.33e-09 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643324/likelihoodResults_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.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) = 121314.722078
delta logL = -0.00102997815702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 121314.721048
delta logL = -8.07631295174e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4754       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99033       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+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=   121314.7     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      243 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6287        .18142E-02** at limit **
   2  alpha         2.2839        3.8344        .16462       -.16575E-07
   3  Normalizat    1.0576        .60084E-01    .33873E-03    .71422E-04
   4  Prefactor     .99033        .30241E-01    .17442E-03    .14705E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.28386
  Normalizat = 1.05758
  Prefactor  = 0.990327
 **********
 **   18 **HESSE 
 **********

 FCN=   121314.7     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6560        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2839        3.3822        .65847E-02   -.86566E-01
   3  Normalizat    1.0576        .60133E-01    .13549E-04   -.91126    
   4  Prefactor     .99033        .30266E-01    .69768E-05   -.93053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33969e-11
Minuit parameter uncertainties:
  1  3.87139e-07
  2  537.402
  3  0.0601373
  4  0.0302662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643324': 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): 0
logL (Free Index) = 121314.721048
delta logL = 5.81494532526e-08

Extracting fit parameters...

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  1.000e-04  3.871e-07  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  2.284e+00  5.374e+02  0.000e+00  5.000e+00 ( 1.000e+00)
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.903e-01  3.027e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.058e+00  6.014e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.679 34.742

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/643324/cmap_HighResolution_672451201_675043201_4FGL_J1754.7+3444_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-06', job_status='DONE', photon_flux_upper_limit='7.33e-09', time_completed='2022-05-24 06:35:43.974783', job_id='643324', GAL2='0.99', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1653399343.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.81e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='168' AND source_name='4FGL J1754.7+3444' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:35:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 643324: <4FGL_J1754.7+3444_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1754.7+3444_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 03:40:28 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:42:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:42:00 2022
Terminated at Tue May 24 06:35:45 2022
Results reported at Tue May 24 06:35:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.7+3444_monthly_bin168 268.679 34.7417 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.7+3444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10331.00 sec.
    Max Memory :                                 634 MB
    Average Memory :                             485.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10426 sec.
    Turnaround time :                            10517 sec.

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

